summaryrefslogtreecommitdiff
path: root/src/backlight.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-07-23 21:43:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-07-23 21:43:02 +0100
commitbc50dff844b97e655483c9eaf0effeec6a9ab4dd (patch)
tree56618342d09263801cd342c3d033710682e7e78d /src/backlight.c
parent8d95e90b7b4bf5d6bae5443f92d77d30f4443f24 (diff)
sna: Disable rendering with the DRM device whilst away from VT
As root, X gets away with many things, including submitting commands to the DRM device whilst it is no longer authorised (i.e. when it has relinquished master to another client across a VT switch). In the non-root future, if we attempt to use the device whilst unauthorized the rendering will be lost and we will mark the device as unusable. So flush our render queue to the device around a VT switch. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/backlight.c')
0 files changed, 0 insertions, 0 deletions