drm/radeon: Only flush HDP cache from idle ioctl if BO is in VRAM
authorMichel Dänzer <[email protected]>
Fri, 1 Aug 2014 08:22:09 +0000 (17:22 +0900)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/radeon/radeon_gem.c