[PATCH v2] drm: bridge: samsung-dsim: Fix waiting for empty cmd transfer FIFO on older Exynos

Marek Vasut marex at denx.de
Mon Aug 7 14:07:45 UTC 2023


On 8/7/23 15:00, Marek Szyprowski wrote:

Hi,

> diff --git a/include/drm/bridge/samsung-dsim.h b/include/drm/bridge/samsung-dsim.h
> index 05100e91ecb9..18017b3e5d9e 100644
> --- a/include/drm/bridge/samsung-dsim.h
> +++ b/include/drm/bridge/samsung-dsim.h
> @@ -62,6 +62,7 @@ struct samsung_dsim_driver_data {
>   	const unsigned int *reg_values;
>   	u16 m_min;
>   	u16 m_max;
> +	unsigned int has_broken_fifoctrl_emptyhdr;

Do we want to do :1 here to allow more flags in the future ?

Like this:
unsigned int has_broken_fifoctrl_emptyhdr:1;
unsigned int another_flag:1;
...

I didn't realize this before, sorry.


More information about the dri-devel mailing list