On Tue, 26 Apr 2011 16:38:42 -0700, Jesse Barnes <jbar...@virtuousgeek.org> 
wrote:
> Check for IVB desktop, mobile and other SKUs and set flags
> appropriately.
> 
> Signed-off-by: Jesse Barnes <jbar...@virtuousgeek.org>
>
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index 2a41118..0b5e263 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -230,6 +230,7 @@ struct intel_device_info {
>       u8 is_pineview : 1;
>       u8 is_broadwater : 1;
>       u8 is_crestline : 1;
> +     u8 is_ivybridge : 1;

Since ivybridge is synonymous with GEN7, we have been going with the
latter. I want to reserve the capability bits for instances where we
either have a workaround for a few chipsets (and so I have a patch to
strip out the is_broadwater and is_crestline since they are just a single
pci-id each) or otherwise describing a feature across chipsets. 

So I think we just want IS_GEN7() for IVB code.
-Chris

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

Reply via email to