linux/drivers/gpu/drm/rockchip
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
..
analogix_dp-rockchip.c
cdn-dp-core.c
cdn-dp-core.h
cdn-dp-reg.c
cdn-dp-reg.h
dw_hdmi-rockchip.c drm/rockchip: dw_hdmi: fix incorrect clock in vpll clock error message 2020-11-29 17:39:21 +01:00
dw-mipi-dsi-rockchip.c drm/rockchip: for error print, use the correct device pointer 2020-11-29 17:39:33 +01:00
inno_hdmi.c
inno_hdmi.h
Kconfig drm/rockchip: fix typo in Kconfig 's/HDMI/dsi/' 2020-11-29 17:39:44 +01:00
Makefile
rk3066_hdmi.c
rk3066_hdmi.h
rockchip_drm_drv.c drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
rockchip_drm_drv.h
rockchip_drm_fb.c
rockchip_drm_fb.h
rockchip_drm_fbdev.c
rockchip_drm_fbdev.h
rockchip_drm_gem.c drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends 2020-11-09 09:19:24 +01:00
rockchip_drm_gem.h drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends 2020-11-09 09:19:24 +01:00
rockchip_drm_vop.c drm: automatic legacy gamma support 2020-12-15 15:46:03 +02:00
rockchip_drm_vop.h
rockchip_lvds.c drm for 5.11-rc1 2020-12-14 11:07:56 -08:00
rockchip_lvds.h
rockchip_rgb.c drm/rockchip/rockchip_rgb: Consume our own header 2020-11-17 20:04:17 +01:00
rockchip_rgb.h
rockchip_vop_reg.c
rockchip_vop_reg.h