[Intel-gfx] [PATCH 1/1] drm/i915: Handle the DG2 max bw properly

Murthy, Arun R arun.r.murthy at intel.com
Thu Mar 24 08:39:45 UTC 2022


>  }
> 
> +static unsigned int dg2_max_bw(struct drm_i915_private *i915) {
> +	struct intel_bw_info *bi = &i915->max_bw[0];
> +
> +	return bi->deratedbw[0];
> +}

Would it look better to have this as a macro rather than a function?

Thanks and Regards,
Arun R Murthy
--------------------


More information about the Intel-gfx mailing list