mirror-linux/drivers/gpu/drm/amd/display
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 <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201211114237.213288-2-tomi.valkeinen@ti.com
2020-12-15 15:46:03 +02:00
..
amdgpu_dm drm: automatic legacy gamma support 2020-12-15 15:46:03 +02:00
dc drm/amd/display: 3.2.115 2020-12-08 23:05:14 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.45 2020-12-08 23:05:06 -05:00
include drm/amd/display: Add internal display info 2020-11-24 12:08:15 -05:00
modules drm/amd/display: Set FixRate bit in VSIF V3 2020-12-08 23:03:04 -05:00
Kconfig drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
Makefile
TODO