Skip to content

Commit

Permalink
drm/radeon: remove unused blit remnants from si.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Deucher committed Apr 9, 2013
1 parent 9a21059 commit 0363a55
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/gpu/drm/radeon/si.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 0363a55

Please sign in to comment.