[v5,43/44] drm/sun4i: hdmi: Consolidate atomic_check and mode_valid

Sui Jingfeng sui.jingfeng at linux.dev
Thu Dec 21 14:53:26 UTC 2023


Hi,


On 2023/12/7 23:50, Maxime Ripard wrote:
> atomic_check and mode_valid do not check for the same things which can
> lead to surprising result if the userspace commits a mode that didn't go
> through mode_valid. Let's merge the two implementations into a function
> called by both.
>
> Signed-off-by: Maxime Ripard <mripard at kernel.org>


Acked-by: Sui Jingfeng <sui.jingfeng at linux.dev>



More information about the dri-devel mailing list