[Intel-gfx] [PATCH 17/25] drm/edid: add drm_edid helper for drm_edid_to_sad()

Ville Syrjälä ville.syrjala at linux.intel.com
Fri May 6 18:05:33 UTC 2022


On Fri, May 06, 2022 at 01:10:24PM +0300, Jani Nikula wrote:
> +int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads)
> +{
> +	struct drm_edid drm_edid = {
> +		.edid = edid,
> +		.size = edid_size(edid),
> +	};
> +
> +	return _drm_edid_to_sad(&drm_edid, sads);

No need to check for NULL edid in these wrappers?

> +}
>  EXPORT_SYMBOL(drm_edid_to_sad);
>  
>  /**
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list