[PATCH 05/11] drm/i915/context: Preliminary context support

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

 



On Tue, Feb 14, 2012 at 19:09, Ben Widawsky <ben at bwidawsk.net> wrote:

> From: Ben Widawsky <bwidawsk at gmail.com>
>
> Create all the necessary data structures and hooks to support a context
> API for userspace. Also plumb in the calls from the i915 core into the
> context subsystem. There is a new file i915_context.c which will hold a
> majority of the context related code. This file has nulled functions
> that get called by the proper part of the i915 driver. This of course
> requires a Makefile addition, as well as calls to the new nulled
> functions from the other partsd of the driver (i915_dma.c).
>
> With that, there are 2 new ioctls defined , one for creating a context,
> and one for destroying a context. These are defined in the necessary
> places, and again have null functionality
>
> It's likely that a third ioctl will be required to associate the context
> with an execbuf (likely execbuf3). Since that part is mostly trivial,
> and will surely be contentious, it's ignored for now.
>
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
>

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>

-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120214/9ac0b602/attachment.htm>


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