drm/radeon: check the right ring in radeon_evict_flags()
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Dec 2014 05:03:49 +0000 (00:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Dec 2014 23:26:51 +0000 (18:26 -0500)
commit5e5c21cac1001089007260c48b0c89ebaace0e71
treeb0de5ccf8341f4bb71b448a74d1ec9c83125da5b
parent6554d9a0e65d2ca0e9ac66c445d617be5d311703
drm/radeon: check the right ring in radeon_evict_flags()

Check the that ring we are using for copies is functional
rather than the GFX ring.  On newer asics we use the DMA
ring for bo moves.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_ttm.c