Commit 12f3b92
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>
(cherry picked from commit 81262b1)1 parent 96989f3 commit 12f3b92
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7240 | 7240 | | |
7241 | 7241 | | |
7242 | 7242 | | |
| 7243 | + | |
7243 | 7244 | | |
7244 | | - | |
| 7245 | + | |
| 7246 | + | |
| 7247 | + | |
| 7248 | + | |
| 7249 | + | |
| 7250 | + | |
7245 | 7251 | | |
7246 | 7252 | | |
7247 | 7253 | | |
| |||
7286 | 7292 | | |
7287 | 7293 | | |
7288 | 7294 | | |
| 7295 | + | |
7289 | 7296 | | |
7290 | 7297 | | |
7291 | 7298 | | |
7292 | 7299 | | |
7293 | 7300 | | |
7294 | 7301 | | |
| 7302 | + | |
| 7303 | + | |
| 7304 | + | |
| 7305 | + | |
| 7306 | + | |
| 7307 | + | |
7295 | 7308 | | |
7296 | | - | |
| 7309 | + | |
7297 | 7310 | | |
7298 | 7311 | | |
7299 | 7312 | | |
| |||
0 commit comments