summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-06-26 09:20:00 -0700
committerAdam Jackson <ajax@redhat.com>2018-08-07 12:08:01 -0400
commit101d15c7634b26eafb3c5f2edb7cafde102ce208 (patch)
tree9b243cece17394a258064815eb5cdd9c99a3bd6d /meson.build
parent9347326d28fffc7534cad0b084539e936aacfd45 (diff)
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> (cherry picked from commit 1ef7aed3e2bb2af32330f19b1e7560000512ddfe)
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions