drm: renesas: rz-du: Add atomic_pre_enable
authorChris Brandt <chris.brandt@renesas.com>
Wed, 21 May 2025 21:03:35 +0000 (17:03 -0400)
committerBiju Das <biju.das.jz@bp.renesas.com>
Sat, 24 May 2025 07:34:26 +0000 (08:34 +0100)
commit5ce16c169a4cb8ffceabfd48853d0bf605ce785a
tree8e5265c4f6fe1c21b4f7adc72e66433377fcb63f
parent9e0f93f7af569c6aee53eedac2c4161ea9d50169
drm: renesas: rz-du: Add atomic_pre_enable

When drm_panel.prepare_prev_first is set to true in a panel driver, the
panel expects the MIPI DSI hardware to be already configured before the
panel's prepare function is called because it might need to send DCS
commands.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Tested-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20250521210335.3149065-1-chris.brandt@renesas.com
drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c