diff options
author | 2013-08-07 13:24:47 +0300 | |
---|---|---|
committer | 2013-08-08 14:11:10 +0200 | |
commit | a9786a119d2cd0f43d5554bddda71a5fd6ee39ff (patch) | |
tree | 15ba746c869880303ecfcb7b8642837aa2470f57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Add vma to list at creation (diff) | |
download | linux-dev-a9786a119d2cd0f43d5554bddda71a5fd6ee39ff.tar.xz linux-dev-a9786a119d2cd0f43d5554bddda71a5fd6ee39ff.zip |
drm/i915: Pull watermark level validity check out
Refactor the code a bit to split the watermark level validity check into
a separate function.
Also add hack there that allows us to use it even for LP0 watermarks.
ATM we don't pre-compute/check the LP0 watermarks, so we just have to
clamp them to the maximum and hope things work out.
v2: Add some debug prints when we exceed max WM0
Kill pointless ret = false' assignment.
Include the check for the already disabled 'result' which
got shuffled around when the patchs got reorderd
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions