mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 17:44:33 +08:00
drm/radeon: remove unused blit remnants from si.c
We use the DMA ring rather than the GFX ring for bo moves. This code was never used and commented out. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
9a21059dc4
commit
0363a55972
@ -4286,14 +4286,6 @@ static int si_startup(struct radeon_device *rdev)
|
||||
return r;
|
||||
si_gpu_init(rdev);
|
||||
|
||||
#if 0
|
||||
r = evergreen_blit_init(rdev);
|
||||
if (r) {
|
||||
r600_blit_fini(rdev);
|
||||
rdev->asic->copy = NULL;
|
||||
dev_warn(rdev->dev, "failed blitter (%d) falling back to memcpy\n", r);
|
||||
}
|
||||
#endif
|
||||
/* allocate rlc buffers */
|
||||
r = si_rlc_init(rdev);
|
||||
if (r) {
|
||||
@ -4589,9 +4581,6 @@ int si_init(struct radeon_device *rdev)
|
||||
|
||||
void si_fini(struct radeon_device *rdev)
|
||||
{
|
||||
#if 0
|
||||
r600_blit_fini(rdev);
|
||||
#endif
|
||||
si_cp_fini(rdev);
|
||||
cayman_dma_fini(rdev);
|
||||
si_irq_fini(rdev);
|
||||
|
Loading…
Reference in New Issue
Block a user