drm: Move the legacy kms disable_all helper to crtc helpers
It's not a core function, and the matching atomic functions are also not in the core. Plus the suspend/resume helper is also already there. Needs a tiny bit of open-coding, but less midlayer beats that I think. v2: Rebase onto ast (which gained a new user). Cc: Sam Bobroff <sbobroff@linux.ibm.com> Reviewed-by:Alex Deucher <alexander.deucher@amd.com> Reviewed-by:
Sean Paul <sean@poorly.run> Signed-off-by:
Daniel Vetter <daniel.vetter@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Cc: Ben Skeggs <bskeggs@redhat.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com> Cc: Rex Zhu <Rex.Zhu@amd.com> Cc: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Cc: Huang Rui <ray.huang@amd.com> Cc: Shaoyun Liu <Shaoyun.Liu@amd.com> Cc: Monk Liu <Monk.Liu@amd.com> Cc: nouveau@lists.freedesktop.org Cc: amd-gfx@lists.freedesktop.org Link: https://patchwork.freedesktop.org/patch/msgid/20181217194303.14397-4-daniel.vetter@ffwll.ch
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_device.c
- drivers/gpu/drm/ast/ast_fb.c 1 addition, 1 deletiondrivers/gpu/drm/ast/ast_fb.c
- drivers/gpu/drm/drm_crtc.c 0 additions, 31 deletionsdrivers/gpu/drm/drm_crtc.c
- drivers/gpu/drm/drm_crtc_helper.c 35 additions, 0 deletionsdrivers/gpu/drm/drm_crtc_helper.c
- drivers/gpu/drm/nouveau/nouveau_display.c 1 addition, 1 deletiondrivers/gpu/drm/nouveau/nouveau_display.c
- drivers/gpu/drm/radeon/radeon_display.c 1 addition, 1 deletiondrivers/gpu/drm/radeon/radeon_display.c
- include/drm/drm_crtc.h 0 additions, 2 deletionsinclude/drm/drm_crtc.h
- include/drm/drm_crtc_helper.h 1 addition, 0 deletionsinclude/drm/drm_crtc_helper.h
Loading
Please register or sign in to comment