On Tue,  7 Jun 2011 15:34:19 -0400, Kristian Høgsberg <[email protected]> 
wrote:
>  struct intel_chipset {
>     int gen;
> -   GLboolean is_945, is_g4x;
> +   GLboolean is_855ish, is_945, is_g4x;
>  
>     /* WM maximum threads is number of EUs times number of threads per EU. */
>     int wm_max_threads;

This can be handled by adding a few more bits per-gen. I found using
  20 830/845
  21 855/865
  30 915
  31 945
  33 g33 + pnv
  40 965
  45 g4x
  50 ilk
  60 snb
  ...to infinity and beyond...
works quite well for specifying render capabilities for gen2/3/4.

Can these structs and pci-id tables be reused by projects external to
mesa?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to