diff options
author | Christian König <christian.koenig@amd.com> | 2017-12-06 09:44:51 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-12 14:45:07 -0500 |
commit | 763efb6c6f2bd60d68c9ec1815f25d782f57f6f4 (patch) | |
tree | 591b53178f0ebf3c3c3f46b0cd6be4fad53c4927 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 4fd09a19a6337b1a58d6de8777e2210cec55ae84 (diff) |
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 <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 |
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 = { | |||
850 | .disable_vblank = amdgpu_disable_vblank_kms, | 850 | .disable_vblank = amdgpu_disable_vblank_kms, |
851 | .get_vblank_timestamp = drm_calc_vbltimestamp_from_scanoutpos, | 851 | .get_vblank_timestamp = drm_calc_vbltimestamp_from_scanoutpos, |
852 | .get_scanout_position = amdgpu_get_crtc_scanout_position, | 852 | .get_scanout_position = amdgpu_get_crtc_scanout_position, |
853 | #if defined(CONFIG_DEBUG_FS) | ||
854 | .debugfs_init = amdgpu_debugfs_init, | ||
855 | #endif | ||
856 | .irq_preinstall = amdgpu_irq_preinstall, | 853 | .irq_preinstall = amdgpu_irq_preinstall, |
857 | .irq_postinstall = amdgpu_irq_postinstall, | 854 | .irq_postinstall = amdgpu_irq_postinstall, |
858 | .irq_uninstall = amdgpu_irq_uninstall, | 855 | .irq_uninstall = amdgpu_irq_uninstall, |