]> git.ipfire.org Git - people/ms/linux.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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:39:24 +0000 (14:39 +0100)
commitc02ca53c957e1731bdd9afa75cdbf2a84c5d8519
treeea5138d285917822edc22f3cac2bec285e3b1cfb
parent5d531ee5e76b84da1c114dddd9077d1e3a2d1ff7
drm/radeon: check the right ring in radeon_evict_flags()

commit 5e5c21cac1001089007260c48b0c89ebaace0e71 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/radeon_ttm.c