aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-08 09:12:52 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:33 -0400
commit04e30c9c8667494847f3876fe3e6c8b39fa6fd1b (patch)
treeae7888abcc213c65fb250df006a5fdc07fdc7160 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parent78910246ddcf9359fbbad506f085ab83b39f876d (diff)
drm/amdgpu: Merge pre/postclose hooks
Again no apparent explanation for the split except hysterical raisins. Merging them also makes it a bit more obviuos what's going on wrt the runtime pm refdancing. Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Cc: amd-gfx@lists.freedesktop.org Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index ad174d17ca32..482145c55101 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -689,7 +689,6 @@ static struct drm_driver kms_driver = {
689 DRIVER_PRIME | DRIVER_RENDER | DRIVER_MODESET, 689 DRIVER_PRIME | DRIVER_RENDER | DRIVER_MODESET,
690 .load = amdgpu_driver_load_kms, 690 .load = amdgpu_driver_load_kms,
691 .open = amdgpu_driver_open_kms, 691 .open = amdgpu_driver_open_kms,
692 .preclose = amdgpu_driver_preclose_kms,
693 .postclose = amdgpu_driver_postclose_kms, 692 .postclose = amdgpu_driver_postclose_kms,
694 .lastclose = amdgpu_driver_lastclose_kms, 693 .lastclose = amdgpu_driver_lastclose_kms,
695 .set_busid = drm_pci_set_busid, 694 .set_busid = drm_pci_set_busid,