linux/drivers/gpu/drm/nouveau/dispnv50
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
..
atom.h
base.c
base.h
base507c.c
base827c.c
base907c.c
base917c.c
core.c
core.h drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps 2020-10-30 09:34:12 +10:00
core507d.c drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps 2020-10-30 09:34:12 +10:00
core827d.c
core907d.c drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps 2020-10-30 09:34:12 +10:00
core917d.c drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps 2020-10-30 09:34:12 +10:00
corec37d.c
corec57d.c
crc.c
crc.h
crc907d.c
crcc37d.c
curs.c
curs.h
curs507a.c
curs907a.c
cursc37a.c
dac507d.c
dac907d.c
disp.c drm-misc-next for 5.11: 2020-12-15 10:21:48 +01:00
disp.h
handles.h
head.c drm: automatic legacy gamma support 2020-12-15 15:46:03 +02:00
head.h
head507d.c
head827d.c
head907d.c
head917d.c
headc37d.c
headc57d.c
Kbuild
lut.c
lut.h
oimm.c
oimm.h
oimm507b.c
ovly.c
ovly.h
ovly507e.c
ovly827e.c
ovly907e.c
ovly917e.c
pior507d.c
sor507d.c
sor907d.c
sorc37d.c
wimm.c
wimm.h
wimmc37b.c
wndw.c
wndw.h
wndwc37e.c
wndwc57e.c