[Intel-gfx] [PATCH 04/16] drm/i915: add Ivy Bridge PCI IDs and flags
Chris Wilson
chris at chris-wilson.co.uk
Wed Apr 27 08:59:17 CEST 2011
On Tue, 26 Apr 2011 16:38:42 -0700, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> Check for IVB desktop, mobile and other SKUs and set flags
> appropriately.
>
> Signed-off-by: Jesse Barnes <jbarnes at 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
More information about the Intel-gfx
mailing list