mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-06 02:24:14 +08:00
6ca2ab8086
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 |
||
---|---|---|
.. | ||
analogix_dp-rockchip.c | ||
cdn-dp-core.c | ||
cdn-dp-core.h | ||
cdn-dp-reg.c | ||
cdn-dp-reg.h | ||
dw_hdmi-rockchip.c | ||
dw-mipi-dsi-rockchip.c | ||
inno_hdmi.c | ||
inno_hdmi.h | ||
Kconfig | ||
Makefile | ||
rk3066_hdmi.c | ||
rk3066_hdmi.h | ||
rockchip_drm_drv.c | ||
rockchip_drm_drv.h | ||
rockchip_drm_fb.c | ||
rockchip_drm_fb.h | ||
rockchip_drm_fbdev.c | ||
rockchip_drm_fbdev.h | ||
rockchip_drm_gem.c | ||
rockchip_drm_gem.h | ||
rockchip_drm_vop.c | ||
rockchip_drm_vop.h | ||
rockchip_lvds.c | ||
rockchip_lvds.h | ||
rockchip_rgb.c | ||
rockchip_rgb.h | ||
rockchip_vop_reg.c | ||
rockchip_vop_reg.h |