drm/amdgpu/psp: invalidate the hdp read cache before reading the psp response
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2019 20:17:41 +0000 (15:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:59 +0000 (09:10 -0500)
commit01b40c98ede4f536a8e30ba30c9510ad7a0fe7ca
tree6a9b7c3be7a71b29edc748bcafd6f39f964c9113
parente8186eeccb84eb41a87c9e6ffad2c9e61f3e3636
drm/amdgpu/psp: invalidate the hdp read cache before reading the psp response

Otherwise we may get stale data.

Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c