diff options
author | Liu Ying <victor.liu@nxp.com> | 2023-05-10 17:24:47 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2023-05-26 19:07:30 +0200 |
commit | 5befcdcaf062abcd362c2e761b069424d9e3b2a4 (patch) | |
tree | f851042cbd299cb063d503f8080717a2c5bd140f /drivers/gpu/trace | |
parent | 3f07432025890f1a49c30132420fb0e623a84a20 (diff) |
drm: lcdif: Determine bus format and flags in ->atomic_check()
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@ew.tq-group.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230510092450.4024730-4-victor.liu@nxp.com
Diffstat (limited to 'drivers/gpu/trace')
0 files changed, 0 insertions, 0 deletions