drm: Fix up drm_atomic_state_helper.[hc] extraction
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Nov 2018 10:07:28 +0000 (11:07 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Nov 2018 15:37:52 +0000 (16:37 +0100)
commit1d8224e790c7f9d0091a299b985c76ba0b229f43
tree36f0f5ac57e11b446c162d83f74d10c6bbb5942c
parent615aa3d9aee28806f947cd1d99f1fd1f9b3e35b6
drm: Fix up drm_atomic_state_helper.[hc] extraction

I've misplaced two functions by accident:
- drm_atomic_helper_duplicate_state is really part of the
  resume/suspend/shutdown device-wide helpers.
- drm_atomic_helper_legacy_gamma_set is part of the legacy ioctl
  compat helpers.

Move them both back.

Fixes: 9ef8a9dc4b21 ("drm: Extract drm_atomic_state_helper.[hc]")
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Sean Paul <sean@poorly.run>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181128100728.4674-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_atomic_state_helper.c
include/drm/drm_atomic_helper.h
include/drm/drm_atomic_state_helper.h