]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gma500: Read EDID from the correct i2c adapter
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 1 Jun 2022 09:23:11 +0000 (11:23 +0200)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Thu, 2 Jun 2022 08:06:51 +0000 (10:06 +0200)
commita0abbcc3e3232f6a886f8cbd3e6a2b8eb861d87b
treee68f25e26e3a6b66076bf6729dc2943dbbe9e696
parent5f2be81b47b91f93f980732572bb1e9aace12bbb
drm/gma500: Read EDID from the correct i2c adapter

Someone made the mistake to try reading EDID from the backlight i2c
adapter. This has been wrong for a very long time but since we read out
the modes correctly on init and don't hotplug lvds it has been working
anyway. Correct this by using connector->ddc instead of
encoder->i2c_bus. Both PSB and CDV are affected but this bug.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220601092311.22648-9-patrik.r.jakobsson@gmail.com
drivers/gpu/drm/gma500/cdv_intel_lvds.c
drivers/gpu/drm/gma500/psb_intel_lvds.c