[PATCH libdrm 00/12] Introduce drm_intel_device and use i915_pciid.h

Damien Lespiau damien.lespiau at intel.com
Fri Mar 6 06:35:29 PST 2015


On Fri, Mar 06, 2015 at 02:10:44PM +0000, Emil Velikov wrote:
> On 05/03/15 16:20, Damien Lespiau wrote:
> > A couple of things I wanted to do for the longest time:
> >   
> >   - Have (intel's) libdrm use the kernel i915_pciids.h so we can just copy the
> >     file when updating
> >   - Start a new object, struct drm_intel_device where we could put common code
> >     across several userspace projects. For instance it could be where we put
> >     the "number of threads" logic we need to use in several 3d/gpgpu
> >     states/instructions (that's a bit fiddly starting with CHV: we can't use
> >     static tables anymore and need a runtime query to the kernel)
> > 
> Hi Damien,
> 
> So this paves the way to de-duplicate the device information stored in
> beignet, libva-intel-driver, mesa, xf86-video-intel, other ?

I don't expect xf86-video-intel to use this, but otherwise that's the
long term plan (will need a lot more work though).

-- 
Damien


More information about the dri-devel mailing list