drm/radeon: Only flush HDP cache from idle ioctl if BO is in VRAM
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 1 Aug 2014 08:22:09 +0000 (17:22 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Aug 2014 12:53:47 +0000 (08:53 -0400)
commit404a6a512fdc6022d93fdd7085947f3a95f978c5
treedef8f52e3040c8f6e6aab92b06a9051ea12add54
parent6b57f20cb5b708415fbab63847f8f8429b051af8
drm/radeon: Only flush HDP cache from idle ioctl if BO is in VRAM

The HDP cache only applies to CPU access to VRAM.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gem.c