drm/amdgpu: invalidate L2 before SDMA IBs (v2)
authorMarek Olšák <marek.olsak@amd.com>
Mon, 27 Apr 2020 19:59:22 +0000 (15:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 15:50:46 +0000 (11:50 -0400)
commit652a6a858fcfe2ee053856b52c4736f61b3982be
tree241123dcf30c04ab961ee38eb2c5e106df7b7886
parentc57053725d9bd7ab3e14fd0f8001714041df1280
drm/amdgpu: invalidate L2 before SDMA IBs (v2)

This fixes GPU hangs due to cache coherency issues.

v2: Split the version bump to a separate patch

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/navi10_sdma_pkt_open.h
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c