Commit b316727
drm/amd/display: do not copy invalid CRTC timing info
Since b255ce4, it is possible that the CRTC timing
information for the preferred mode has not yet been
calculated while amdgpu_dm_connector_mode_valid() is running.
In this case use the CRTC timing information of the actual mode.
Fixes: b255ce4 ("drm/amdgpu: don't change mode in amdgpu_dm_connector_mode_valid()")
Closes: https://lore.kernel.org/all/[email protected]/
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4085
Signed-off-by: Gergo Koteles <[email protected]>
Reviewed-by: Zaeem Mohamed <[email protected]>
Tested-by: Mark Broadworth <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 2023219)
Cc: [email protected]1 parent 6ed0dc3 commit b316727
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6501 | 6501 | | |
6502 | 6502 | | |
6503 | 6503 | | |
6504 | | - | |
6505 | | - | |
6506 | | - | |
6507 | | - | |
6508 | | - | |
6509 | | - | |
| 6504 | + | |
| 6505 | + | |
| 6506 | + | |
| 6507 | + | |
| 6508 | + | |
| 6509 | + | |
6510 | 6510 | | |
6511 | 6511 | | |
6512 | 6512 | | |
| |||
0 commit comments