Re: [PATCH v2] drm/i915: Introduce HAS_64BIT_RELOC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> ---
> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux