[Intel-gfx] [PATCH 04/13] drm/i915: Rename the plane_state->main/aux to plane_state->color_plane[]

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 7 15:30:36 UTC 2018


Quoting Ville Syrjala (2018-09-07 16:24:04)
> diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
> index 8162025114f5..9e16bdcffc84 100644
> --- a/drivers/gpu/drm/i915/intel_drv.h
> +++ b/drivers/gpu/drm/i915/intel_drv.h
> @@ -504,11 +504,7 @@ struct intel_plane_state {
>         struct {
>                 u32 offset;
>                 int x, y;
> -       } main;
> -       struct {
> -               u32 offset;
> -               int x, y;
> -       } aux;
> +       } color_plane[2];

Is (main, aux) significant to keep around as an enum?
-Chris


More information about the Intel-gfx mailing list