Star64_linux/drivers/gpu/drm/nouveau/dispnv50
Maxime Ripard 3fd9886815
drm/nouveau/kms/nv50-: Use state helper instead of crtc pointer
dispnv50 references the crtc->state pointer in order to get the current
CRTC state in its atomic_check hook, which would be the old CRTC state in
the global atomic state.

Use the drm_atomic_get_old_crtc_state helper to get that state to make it
more obvious.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201102133834.1176740-1-maxime@cerno.tech
2020-11-03 12:20:09 +01:00
..
atom.h
base.c
base.h
base507c.c
base827c.c
base907c.c
base917c.c
core.c
core.h
core507d.c
core827d.c
core907d.c
core917d.c
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
disp.h
handles.h
head.c drm/nouveau/kms/nv50-: Use state helper instead of crtc pointer 2020-11-03 12:20:09 +01: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