diff options
| author | Joshua Aberback <[email protected]> | 2019-04-01 15:18:29 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-22 09:34:09 -0500 |
| commit | 254eb07cb090374d0e1e90790395ead77f6f6ad5 (patch) | |
| tree | e8e3e08e14a735329d80aa93460f216867678711 /tools/perf/scripts/python | |
| parent | 776c1f569f94e39a1776c22f29137661f294ff03 (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