[Intel-gfx] [PATCH 14/16] intel: Add is_855ish for handling 855 and 865 specific lod clamping

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 7 22:22:28 CEST 2011


On Tue,  7 Jun 2011 15:34:19 -0400, Kristian Høgsberg <krh at bitplanet.net> 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



More information about the Intel-gfx mailing list