]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use the BAR if possible in amdgpu_device_vram_access v2
authorChristian König <christian.koenig@amd.com>
Fri, 31 Jan 2020 13:58:05 +0000 (14:58 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 May 2020 20:50:40 +0000 (16:50 -0400)
commitac55c04437b44b1ba4f430a47b412f890570d79b
treeb4abba8e7f9006619c50d24281ba4273a208a5fb
parent334335ad835226870df70594545bfa40402e1b32
drm/amdgpu: use the BAR if possible in amdgpu_device_vram_access v2

This should speed up debugging VRAM access a lot.

v2: add HDP flush/invalidate

Unrevert: RAS issue at root of the issue has been addressed

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Jonathan Kim <Jonathan.Kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Kent Russell <kent.russell@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c