[Intel-gfx] [PATCH v2] drm/i915: Introduce HAS_64BIT_RELOC
Chris Wilson
chris at chris-wilson.co.uk
Wed Nov 2 13:25:13 UTC 2016
On Wed, Nov 02, 2016 at 02:55:36PM +0200, Joonas Lahtinen wrote:
> Move has_64bit_reloc into dev_priv->info.
... so that it is shown in the feature list for debugging
>
> v2:
> - Keep the struct member to keep GCC fragile but happy (Chris)
>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> ---
> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
> index 31e6edd..9d2b5d3 100644
> --- a/drivers/gpu/drm/i915/i915_pci.c
> +++ b/drivers/gpu/drm/i915/i915_pci.c
> @@ -288,7 +288,8 @@ static const struct intel_device_info intel_haswell_info = {
> #define BDW_FEATURES \
> HSW_FEATURES, \
> BDW_COLORS, \
> - .has_logical_ring_contexts = 1
> + .has_logical_ring_contexts = 1, \
> + .has_64bit_reloc = 1
>
> static const struct intel_device_info intel_broadwell_info = {
> BDW_FEATURES,
Missed:
intel_cherryview_info
intel_broxton_info
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list