drm/amdgpu/gfx9: cache DB_DEBUG2 and make it available to userspace
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Apr 2018 15:15:26 +0000 (10:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:11 +0000 (13:43 -0500)
commit5eeae247d227c448d4db8f60ce184ddb0e0feca0
tree8e16eeaef325e7bc03ab2a115967e140efae78bf
parent5452cf44d691edada697108f883c78edb40dc281
drm/amdgpu/gfx9: cache DB_DEBUG2 and make it available to userspace

Userspace needs to query this value to work around a hw bug in
certain cases.

Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.c