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 19:58:12 +0000 (15:58 -0400)
commitfdf83646c0542ecfb9adc4db8f741a1f43dca058
tree9dd8db80a033ce040b0d098ea749fc39dfa06867
parentc938628c4478bd193bf608cf1e91a3390950a15d
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/navi10_sdma_pkt_open.h
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c