aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoshua Aberback <[email protected]>2019-04-01 15:18:29 -0400
committerAlex Deucher <[email protected]>2019-06-22 09:34:09 -0500
commit254eb07cb090374d0e1e90790395ead77f6f6ad5 (patch)
treee8e3e08e14a735329d80aa93460f216867678711 /tools/perf/scripts/python
parent776c1f569f94e39a1776c22f29137661f294ff03 (diff)
drm/amd/display: Optimize bandwidth validation by adding early return
We can split validation into three parts: getting voltage level, getting watermarks, and rq/dlg calculations. The voltage level is enough to answer the question "do we support this state", and the rest of it is to determine what hardware programming is needed to support the state. Most of the calls to validate_bandwidth only care about the first part, so we added an early return in that case Signed-off-by: Joshua Aberback <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Acked-by: Bhawanpreet Lakha <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions