xserver/hw/xfree86/drivers/modesetting
Keith Packard 1ef7aed3e2 During reset/shutdown, clean up leases in DIX instead of each driver
Instead of having every video driver loop over any pending leases to
free them during CloseScreen, do this up in the DIX layer by
terminating leases when a leased CRTC or Output is destroyed and
(just to make sure), also terminating leases in RRCloseScreen. The
latter should "never" get invoked as any lease should be associated
with a resource which was destroyed.

This is required as by the time the driver's CloseScreen function is
invoked, we've already freed all of the DIX randr structures and no
longer have any way to reference the leases

Signed-off-by: Keith Packard <keithp@keithp.com>
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=106960
Cc: Thomas Hellstrom <thellstrom@vmware.com>
2018-08-02 10:15:26 -04:00
..
Makefile.am shadow: Lift 32->24 conversion from modesetting to dix 2016-12-12 14:10:44 -05:00
dri2.c modesetting: Fix inverted check in dri2 WaitMSC 2018-04-17 10:26:25 -04:00
driver.c During reset/shutdown, clean up leases in DIX instead of each driver 2018-08-02 10:15:26 -04:00
driver.h modesetting: Allow a DRM fd to be passed on command line with -masterfd [v2] 2018-06-28 22:54:22 -07:00
drmmode_display.c During reset/shutdown, clean up leases in DIX instead of each driver 2018-08-02 10:15:26 -04:00
drmmode_display.h During reset/shutdown, clean up leases in DIX instead of each driver 2018-08-02 10:15:26 -04:00
dumb_bo.c modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build modesetting: set gbm as dependency in meson build 2018-05-08 12:41:58 -04:00
modesetting.man man: s/__/@/g 2018-03-27 10:13:17 -04:00
pageflip.c modesetting: Use atomic modesetting to set DPMS mode 2018-04-04 14:01:48 -04:00
present.c modesetting: Fix GBM objects leak when checking for flip 2018-04-30 14:01:02 -04:00
vblank.c modesetting: Fix and improve ms_kernel_msc_to_crtc_msc() 2018-05-07 14:01:01 -04:00