]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbeda63373dde71b5e3a4e4b334aa58198ec2724e
treeb0de5ccf8341f4bb71b448a74d1ec9c83125da5b
parentfda5335c509199350d7ce41b6339d05964f7a4d5
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