diff options
author | Ethan Wellenreiter <[email protected]> | 2022-08-22 14:33:23 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-08-30 17:08:41 -0400 |
commit | f5b9c1ffabce5f4acbeabd3a03fd57b3970a13fe (patch) | |
tree | 3b166cc223a5c95d70cbf8f3f1479273d02b89d2 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 6ffc967c36b42f864955cb2c5e8b3fded0baa918 (diff) |
drm/amd/display: Re-initialize viewport after pipe merge
[Why]
Pipes get merged in preparation for SubVP but if they don't get used, and
are in ODM or some other multi pipe config, it would calculate the
voltage level with a viewport of just one pipe from when they were split
resulting in too low of a voltage level.
[How]
Made it so that the viewport and other timing settings get rebuilt and re-
initialized after the pipe merge, before calculating the voltage level so it
would calculate it correctly.
Reviewed-by: Alvin Lee <[email protected]>
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Brian Chang <[email protected]>
Signed-off-by: Ethan Wellenreiter <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions