diff options
| author | Hamza Mahfooz <[email protected]> | 2023-08-18 09:11:11 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-30 14:59:43 -0400 |
| commit | 95dd6efc6bd322cf6268b41cf635281704d827fe (patch) | |
| tree | 3be5101696bf12492c781e314843361ead0fd44a /tools/perf/scripts/python/bin | |
| parent | d28e6d5aab475eac7b8e72a278f792c3712b2d5f (diff) | |
drm/amd/display: fix mode scaling (RMX_.*)
As made mention of in commit 4a2df0d1f28e ("drm/amd/display: Fixed
non-native modes not lighting up"), we shouldn't call
drm_mode_set_crtcinfo() once the crtc timings have been decided. Since,
it can cause settings to be unintentionally overwritten. So, since
dm_state is never NULL now, we can use old_stream to determine if we
should call drm_mode_set_crtcinfo() because we only need to set the crtc
timing parameters for entirely new streams.
Cc: Harry Wentland <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Fixes: bd49f19039c1 ("drm/amd/display: Always set crtcinfo from create_stream_for_sink")
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions