[PATCH xserver 2/2] xfree86: Wrap RRCrtcIsLeased and RROutputIsLeased to check for DIX structures

2018-06-28 Thread Keith Packard
Before DIX structures are allocated for crtcs and outputs, we don't want to call DIX randr code with NULL pointers. This can happen if the driver sets video modes early in server initialization, which Nouveau does in zaphod mode. Cc: thellst...@vmware.com Fixes: https://bugs.freedesktop.org/show_b

Re: [PATCH xserver 2/2] xfree86: Wrap RRCrtcIsLeased and RROutputIsLeased to check for DIX structures

2018-07-03 Thread Adam Jackson
On Thu, 2018-06-28 at 11:45 -0700, Keith Packard wrote: > Before DIX structures are allocated for crtcs and outputs, we don't > want to call DIX randr code with NULL pointers. This can happen if the > driver sets video modes early in server initialization, which Nouveau > does in zaphod mode. > >