[Intel-gfx] [PATCH] drm/i915: Move page sizes out of the 8-bit sandwich

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 22 11:19:36 UTC 2018


Quoting Tvrtko Ursulin (2018-02-22 11:16:58)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Slightly smaller code and a bit more logical layout.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> ---
>  drivers/gpu/drm/i915/intel_device_info.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
> index 71fdfb0451ef..8904ad87bf37 100644
> --- a/drivers/gpu/drm/i915/intel_device_info.h
> +++ b/drivers/gpu/drm/i915/intel_device_info.h
> @@ -137,14 +137,14 @@ struct intel_device_info {
>         enum intel_platform platform;
>         u32 platform_mask;
>  
> +       unsigned int page_sizes; /* page sizes supported by the HW */

One wonders if we should s/u32/unsigned int/ platform_mask, no need to
be overly specific there?

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list