The xf86 mode setting code was mis-using this field to try and store a
pointer to a DisplayModeRec, however, each output has its own copy of every
DisplayModeRec leaving the one in in the RRModeRec devPrivate field pointing
at a random DisplayModeRec.
Instead of attempting to rectify this, eliminating the devPrivate entirely
turned out to be very easy; the DDX code now accepts an arbitrary RRModeRec
structure and set that to the hardware, converting it on the fly to a
DisplayModeRec as needed.
(cherry picked from commit
|
||
---|---|---|
.. | ||
Makefile.am | ||
mirandr.c | ||
randr.c | ||
randrstr.h | ||
rrcrtc.c | ||
rrdispatch.c | ||
rrinfo.c | ||
rrmode.c | ||
rroutput.c | ||
rrpointer.c | ||
rrproperty.c | ||
rrscreen.c | ||
rrsdispatch.c | ||
rrxinerama.c |