Commit 81262b1
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: 48edb2a ("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>1 parent 9d8af72 commit 81262b1
1 file changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7295 | 7295 | | |
7296 | 7296 | | |
7297 | 7297 | | |
| 7298 | + | |
7298 | 7299 | | |
7299 | | - | |
| 7300 | + | |
| 7301 | + | |
| 7302 | + | |
| 7303 | + | |
| 7304 | + | |
| 7305 | + | |
7300 | 7306 | | |
7301 | 7307 | | |
7302 | 7308 | | |
| |||
7341 | 7347 | | |
7342 | 7348 | | |
7343 | 7349 | | |
| 7350 | + | |
7344 | 7351 | | |
7345 | 7352 | | |
7346 | 7353 | | |
7347 | 7354 | | |
7348 | 7355 | | |
7349 | 7356 | | |
| 7357 | + | |
| 7358 | + | |
| 7359 | + | |
| 7360 | + | |
| 7361 | + | |
| 7362 | + | |
7350 | 7363 | | |
7351 | | - | |
| 7364 | + | |
7352 | 7365 | | |
7353 | 7366 | | |
7354 | 7367 | | |
| |||
0 commit comments