Re: [PATCH v5 3/6] drm: lcdif: Determine bus format and flags in ->atomic_check()

From: Marek Vasut
Date: Mon May 08 2023 - 22:14:21 EST


On 5/8/23 07:57, Liu Ying wrote:
Instead of determining LCDIF output bus format and bus flags in
->atomic_enable(), do that in ->atomic_check(). This is a
preparation for the upcoming patch to check consistent bus format
and bus flags across all first downstream bridges in ->atomic_check().
New lcdif_crtc_state structure is introduced to cache bus format
and bus flags states in ->atomic_check() so that they can be read
in ->atomic_enable().

Tested-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
Reviewed-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
Signed-off-by: Liu Ying <victor.liu@xxxxxxx>

Reviewed-by: Marek Vasut <marex@xxxxxxx>