]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: Enable gfx cache probing on HDP write for arcturus
authorOak Zeng <Oak.Zeng@amd.com>
Mon, 7 Oct 2019 20:32:23 +0000 (15:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:24:19 +0000 (19:24 -0500)
commitf81b86a043270eb5f7e3a80354bea88d0b43ff6f
tree0b71d205e71ad13ae344dd1e9c85817cfc88a5aa
parentcb1545f7101adfd3c0e1a0efb1310b62a8f22451
drm/amdgpu: Enable gfx cache probing on HDP write for arcturus

This allows gfx cache to be probed and invalidated (for none-dirty cache lines)
on a HDP write (from either another GPU or CPU). This should work only for the
memory mapped as RW memory type newly added for arcturus, to achieve some cache
coherence b/t multiple memory clients.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Acked-by: Christian Konig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c