[PATCH 0/2] drm: fix and cleanup legacy gamma support
Tomi Valkeinen
tomi.valkeinen at ti.com
Thu Dec 3 11:48:43 UTC 2020
Hi,
The first patch fix legacy gamma table for HW which have a degamma lut
block before CTM block, but no gamma lut after the CTM.
The second one cleans up the legacy gamma support a bit by handling
legacy gamma for modern drivers in the drm core.
Tomi
Tomi Valkeinen (2):
drm: add legacy support for using degamma for gamma
drm: automatic legacy gamma support
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 -
.../gpu/drm/arm/display/komeda/komeda_crtc.c | 1 -
drivers/gpu/drm/arm/malidp_crtc.c | 1 -
drivers/gpu/drm/armada/armada_crtc.c | 1 -
drivers/gpu/drm/ast/ast_mode.c | 1 -
.../gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 1 -
drivers/gpu/drm/drm_atomic_helper.c | 70 -----------
drivers/gpu/drm/drm_color_mgmt.c | 117 +++++++++++++++++-
drivers/gpu/drm/drm_fb_helper.c | 12 +-
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 2 -
drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 1 -
drivers/gpu/drm/nouveau/dispnv50/head.c | 2 -
drivers/gpu/drm/omapdrm/omap_crtc.c | 1 -
drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 1 -
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1 -
drivers/gpu/drm/stm/ltdc.c | 1 -
drivers/gpu/drm/vc4/vc4_crtc.c | 1 -
drivers/gpu/drm/vc4/vc4_txp.c | 1 -
include/drm/drm_atomic_helper.h | 4 -
include/drm/drm_color_mgmt.h | 7 ++
include/drm/drm_crtc.h | 3 +
21 files changed, 130 insertions(+), 100 deletions(-)
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
More information about the dri-devel
mailing list