aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2017-12-06 14:44:51 +0000
committerAlex Deucher <[email protected]>2017-12-12 19:45:07 +0000
commit763efb6c6f2bd60d68c9ec1815f25d782f57f6f4 (patch)
tree591b53178f0ebf3c3c3f46b0cd6be4fad53c4927 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/admgpu: Reduce the usage of soc15ip.h (diff)
downloadkernel-763efb6c6f2bd60d68c9ec1815f25d782f57f6f4.tar.gz
kernel-763efb6c6f2bd60d68c9ec1815f25d782f57f6f4.zip
drm/amdgpu: cleanup debugfs handling a bit
Remove the superflous .debugfs_init callback and register all files in amdgpu_device.c in just one function. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 51b76688ab90..0b039bdcf84e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -850,9 +850,6 @@ static struct drm_driver kms_driver = {
.disable_vblank = amdgpu_disable_vblank_kms,
.get_vblank_timestamp = drm_calc_vbltimestamp_from_scanoutpos,
.get_scanout_position = amdgpu_get_crtc_scanout_position,
-#if defined(CONFIG_DEBUG_FS)
- .debugfs_init = amdgpu_debugfs_init,
-#endif
.irq_preinstall = amdgpu_irq_preinstall,
.irq_postinstall = amdgpu_irq_postinstall,
.irq_uninstall = amdgpu_irq_uninstall,