aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJoshua Aberback <[email protected]>2024-03-28 13:43:36 -0400
committerAlex Deucher <[email protected]>2024-05-13 15:45:55 -0400
commit7662bc61c030edae9346dc56daa6109ce353f5b4 (patch)
tree21cdae99f52796101499cabce4c4e97620fa8c53 /tools/perf/scripts/python/netdev-times.py
parent78d18b6655fea3d9d8b30fd2b78b11749b4b981f (diff)
drm/amd/display: Disable AC/DC codepath when unnecessary
[WHY] If there are no DC clock limits present, or if the DC limits are the same as the AC limits, we can disable the AC/DC codepath as there won't be any validation differences between the two modes. [HOW] When all DC power mode clock limits are the same as the max clock values, there won't be any difference between AC mode and DC mode. Zero out DC limits that equal max and provide a new cap to indicate the presence of any non-zero DC mode limit. In summary: - zero out DC limits that are the same as max clock value - new dc cap to indicate the presence of DC mode limits - set limits present if any clock has distinct AC and DC values from SMU Acked-by: Alex Hung <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Joshua Aberback <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions