[PATCH 1/2] drm/i915: Allow DRM_ROOT_ONLY|DRM_MASTER to submit privileged batchbuffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 17, 2012 at 09:31:21AM -0700, Jesse Barnes wrote:
> On Wed, 17 Oct 2012 12:09:54 +0100
> Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 
> > With the introduction of per-process GTT space, the hardware designers
> > thought it wise to also limit the ability to write to MMIO space to only
> > a "secure" batch buffer. The ability to rewrite registers is the only
> > way to program the hardware to perform certain operations like scanline
> > waits (required for tear-free windowed updates). So we either have a
> > choice of adding an interface to perform those synchronized updates
> > inside the kernel, or we permit certain processes the ability to write
> > to the "safe" registers from within its command stream. This patch
> > exposes the ability to submit a SECURE batch buffer to
> > DRM_ROOT_ONLY|DRM_MASTER processes.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Yeah looks good.
> 
> Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>

Merged, and upgraded Jesse's r-b to the full patch with the hsw changes -
he wasn't on irc to deny it ;-).

Thanks, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux