]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: re-factor debugfs wave reader
authorTom St Denis <tom.stdenis@amd.com>
Fri, 14 Oct 2016 13:49:09 +0000 (09:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:48 +0000 (14:38 -0400)
commit27da64ed86ccb96d7d2ab5af66371b94d029ae48
tree30f1adb7e02eb7a779bacb56072f220106b251ee
parent381a61cf0fb50f33de2363b0ab2fab3e7263dab5
drm/amd/amdgpu: re-factor debugfs wave reader

Move IP version specific code into a callback.

Also add support for gfx7 devices.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
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_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c