]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Add debugfs support for reading GPRs (v2)
authorTom St Denis <tom.stdenis@amd.com>
Mon, 5 Dec 2016 16:39:19 +0000 (11:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Dec 2016 19:12:17 +0000 (14:12 -0500)
commit5c38b3a0c849837ce5d4731ce9b0061506557a85
tree4fdb880c0467c68e9aee75febc93a066928ecd19
parenta8c6d736ccbcce0e30cf4baad340932b107a2a36
drm/amd/amdgpu: Add debugfs support for reading GPRs (v2)

Implemented for SGPRs for GFX v8 initially.

(v2) cleanup minor whitespace and remove sanity check and
     addressing is in dwords not bytes

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c