[Intel-gfx] [PATCH 1/4] drm/i915: Pack struct intel_cdclk_vals

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 14 16:44:19 UTC 2020


Quoting Ville Syrjala (2020-07-14 16:26:23)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> There's a pointless hole in struct intel_cdclk_vals, get rid of it.
> Fortunately we already use named initializers so the order does not
> matter.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_cdclk.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_cdclk.h b/drivers/gpu/drm/i915/display/intel_cdclk.h
> index 5731806e4cee..6b31fde4be16 100644
> --- a/drivers/gpu/drm/i915/display/intel_cdclk.h
> +++ b/drivers/gpu/drm/i915/display/intel_cdclk.h
> @@ -17,8 +17,8 @@ struct intel_atomic_state;
>  struct intel_crtc_state;
>  
>  struct intel_cdclk_vals {
> -       u16 refclk;
>         u32 cdclk;
> +       u16 refclk;
>         u8 divider;     /* CD2X divider * 2 */
>         u8 ratio;

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


More information about the Intel-gfx mailing list