Files
linux/include/drm
Tomi Valkeinen 6ca2ab8086 drm: automatic legacy gamma support
To support legacy gamma ioctls the drivers need to set
drm_crtc_funcs.gamma_set either to a custom implementation or to
drm_atomic_helper_legacy_gamma_set. Most of the atomic drivers do the
latter.

We can simplify this by making the core handle it automatically.

Move the drm_atomic_helper_legacy_gamma_set() functionality into
drm_color_mgmt.c to make drm_mode_gamma_set_ioctl() use
drm_crtc_funcs.gamma_set if set or GAMMA_LUT property if not.

Signed-off-by: Tomi Valkeinen <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Philippe Cornu <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2020-12-15 15:46:03 +02:00
..
…
2020-12-14 14:20:46 +01:00
2020-11-16 20:48:20 +01:00
2020-11-06 10:31:26 +01:00
2020-11-16 20:48:20 +01:00
2020-09-17 13:39:44 +02:00
2020-11-20 11:55:41 +01:00
…
…
2020-11-06 14:09:30 +02:00