[Intel-gfx] [PATCH 02/11] drm/i915: Include a generation number in the device info

Jesse Barnes jbarnes at virtuousgeek.org
Wed Aug 11 17:22:09 CEST 2010


On Wed, 11 Aug 2010 10:31:27 +0100
Chris Wilson <chris at chris-wilson.co.uk> wrote:

> To simplify the IS_GEN[234] macros and to enable switching.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
>  drivers/gpu/drm/i915/i915_drv.c |   61 ++++++++++++++++++---------------------
>  drivers/gpu/drm/i915/i915_drv.h |   27 ++++-------------
>  2 files changed, 34 insertions(+), 54 deletions(-)
> 

Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>

My only complaint about this patch is that our hardware isn't more
uniform; for any given feature we may need to check the generation,
something in VBT, whether it's a mobile chip, or the chip's specific
ID.  Really annoying but not really your fault. :)

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list