[Intel-gfx] [RFC 3/7] drm/i915: Move all runtime modified device info fields into runtime info

Chris Wilson chris at chris-wilson.co.uk
Mon Nov 12 17:24:17 UTC 2018


Quoting Tvrtko Ursulin (2018-11-12 17:12:38)
>  struct intel_device_info {
> -       u16 device_id;
>         u16 gen_mask;
>  
> -       u8 gen;
> +       u8 __gen;
>         u8 gt; /* GT number, 0 if undefined */
> -       intel_ring_mask_t ring_mask; /* Rings supported by the HW */
> -       u8 num_pipes;
> +       intel_ring_mask_t __ring_mask; /* Rings supported by the HW */
> +       u8 __num_pipes;
>  
>         enum intel_platform platform;
>         u32 platform_mask;
>  
> -       enum intel_ppgtt ppgtt;
> -       unsigned int page_sizes; /* page sizes supported by the HW */
> +       enum intel_ppgtt __ppgtt;

ppgtt mode is static.
-Chris


More information about the Intel-gfx mailing list