[Mesa-dev] [PATCH 1/3] intel/i965: make gen_device_info mutable

Kenneth Graunke kenneth at whitecape.org
Thu Sep 22 22:49:37 UTC 2016


On Friday, September 23, 2016 1:17:14 AM PDT Lionel Landwerlin wrote:
> Make gen_device_info a mutable structure so we can update the fields that
> can be refined by querying the kernel (like subslices and EU numbers).
> 
> This patch does not make any functional change, it just make
> gen_get_device_info() fill a structure rather than returning a const
> pointer.
> 
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

Thank you, thank you!  This is so much nicer!  I've wanted to get rid of
all the duplicate URB fields and thread counts for ages.

Series is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160922/00eae3e2/attachment.sig>


More information about the mesa-dev mailing list