]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: restore edid reading from a given i2c adapter
authorMelissa Wen <mwen@igalia.com>
Sat, 15 Feb 2025 21:15:47 +0000 (18:15 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2025 17:25:15 +0000 (12:25 -0500)
commit12f3b92d1cfa5526715fff93a6d6fe29300d5e2a
treee1b79baf0684ebb5669acc1298832a5abcf9ab8c
parent96989f3dca6f51f202b6dbc92c37e17df6ca12f4
drm/amd/display: restore edid reading from a given i2c adapter

When switching to drm_edid, we slightly changed how to get edid by
removing the possibility of getting them from dc_link when in aux
transaction mode. As MST doesn't initialize the connector with
`drm_connector_init_with_ddc()`, restore the original behavior to avoid
functional changes.

v2:
- Fix build warning of unchecked dereference (kernel test bot)

CC: Alex Hung <alex.hung@amd.com>
CC: Mario Limonciello <mario.limonciello@amd.com>
CC: Roman Li <Roman.Li@amd.com>
CC: Aurabindo Pillai <Aurabindo.Pillai@amd.com>
Fixes: 48edb2a4256e ("drm/amd/display: switch amdgpu_dm_connector to use struct drm_edid")
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 81262b1656feb3813e3d917ab78824df6831e69e)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c