ba839b7598
While we do handle the additional cursor sizes introduced in NVE4, it looks
like we accidentally broke this when converting over to use Nvidia's
display headers. Since we now use NVVAL in dispnv50/head907d.c in order to
format the value for the cursor layout and NVD9 only had one byte reserved
vs. the 2 bytes reserved in later generations, we end up accidentally
stripping the second bit in the cursor layout format parameter - causing us
to set the wrong cursor size.
This fixes that by adding our own curs_set hook for 917d which uses the
NV917D headers.
Cc: Martin Peres <martin.peres@free.fr>
Cc: Jeremy Cline <jcline@redhat.com>
Cc: Simon Ser <contact@emersion.fr>
Cc: <stable@vger.kernel.org> # v5.9+
Signed-off-by: Lyude Paul <lyude@redhat.com>
Fixes:
|
||
---|---|---|
.. | ||
Kbuild | ||
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 | ||
head.h | ||
head507d.c | ||
head827d.c | ||
head907d.c | ||
head917d.c | ||
headc37d.c | ||
headc57d.c | ||
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 | ||
wndwc67e.c |