diff options
| author | Ville Syrjälä <[email protected]> | 2013-08-01 16:18:53 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2013-08-05 19:04:16 +0200 |
| commit | 3312ba65caa23cf1210cc578755babc394769843 (patch) | |
| tree | 4aa0125d3cb3290a272921673ed6b41d30f50149 /tools/perf/scripts/python | |
| parent | 26ec971e302c53b44cc5627ffe209a7d33199e28 (diff) | |
drm/i915: Disable specific watermark levels when latency is zero
Return UINT_MAX for the calculated WM level if the latency is zero.
This will lead to marking the WM level as disabled.
I'm not sure if latency==0 should mean that we want to disable the
level. But that's the implication I got from the fact that we don't
even enable the watermark code of the SSKDP register is 0.
v2: Use WARN() to scare people
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Paulo Zanoni <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions