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

Emil Velikov emil.l.velikov at gmail.com
Fri Mar 6 06:10:44 PST 2015


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 ?

That's great, thank you :-)
Emil


More information about the Intel-gfx mailing list