]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: ite-it66121: Move .mode_set logic to .atomic_enable
authorJavier Martinez Canillas <javierm@redhat.com>
Sat, 23 May 2026 10:40:59 +0000 (12:40 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Tue, 26 May 2026 10:27:57 +0000 (12:27 +0200)
commit4730eb08b9d7860611f2ebdaa971fc9eb4020bde
treecf805d52c76ff4fab4e4f630c243914ead045456
parent8ee92e75052a93d55539af7042c2c480a0244d35
drm/bridge: ite-it66121: Move .mode_set logic to .atomic_enable

Move the existing .mode_set logic to the .atomic_enable callback. The
former is deprecated and drivers are supposed to use the latter instead.

Also, drop the struct it66121_ctx.connector field because the connector
can be accessed through the atomic state and there is no need to store
it anymore.

Suggested-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20260523-it66121-fix-dvi-mode-v5-v5-2-33b4468162f9@redhat.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
drivers/gpu/drm/bridge/ite-it66121.c