drm/amdgpu: hdp flush&inval should always do
authorMonk Liu <Monk.Liu@amd.com>
Wed, 4 May 2016 08:27:41 +0000 (16:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 May 2016 16:31:17 +0000 (12:31 -0400)
commit794ff5710eb1d8bea4acc79cd005f6342623ec46
tree29b355941ddea5e4e10fd29b09e21db98820ae3d
parentf0f3a8fbdb1e40a37ec44b1df5f82341272c1871
drm/amdgpu: hdp flush&inval should always do

This fixes Tonga vm-fault issue when running disaster
(a multiple context GL heavy tests),
We should always flush & invalidate hdp no matter vm
used or not.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <David1.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c