aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJoshua Aberback <[email protected]>2021-01-21 02:33:31 -0500
committerAlex Deucher <[email protected]>2021-02-02 12:12:15 -0500
commite2dcd9b8b803b927b4cbc59d91c4088334a248bb (patch)
treefae84e4c79f52d8dcd46247a4a943729ecda2b5f /lib/mpi/mpi-sub-ui.c
parentfd952d436446cffdf97a61bf456a0987011e42e0 (diff)
drm/amd/display: Better handling of dummy p-state table
[Why] Some scenarios where we use a UCLK frequency in between dummy p-state table entries result in a p-state hang, due to the table not having a close enough match, so the default DPM0 latency is used, which can be too long to support dummy p-state switching in these scenarios. [How] - old: match if current freq is within +- margin of table entry - new: find largest table entry that is lower than current freq + margin - lower than DPM0 will still use DPM0 Signed-off-by: Joshua Aberback <[email protected]> Reviewed-by: Jun Lei <[email protected]> Acked-by: Anson Jacob <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions