sna/gen7: Request secure batches for Haswell vsync
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Nov 2013 13:09:25 +0000 (13:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 Nov 2013 13:10:16 +0000 (13:10 +0000)
commit68cef6cd281572fcfb76a341dc45b7c8e5baffe6
tree2a0f03bd6b5310a123e03baf7a99a62c44babf5a
parentb796c33411218aeaf4daaeff41a1bc442b5f945f
sna/gen7: Request secure batches for Haswell vsync

Since commit 8ff8eb2b38dc705f5c86f524c1cd74a811a7b04c
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Sep 9 16:23:04 2013 +0100

    sna/hsw: Scanline waits require both DERRMR and forcewake

we have been emitting LRI to enable vsync on the render ring. This
requires a privileged batch buffer, and whilst we were checking for
kernel support, we forgot to actually tell the kernel to submit the
batch with the right privileges.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71328
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_display.c