aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-08-07 13:24:47 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-08 14:11:10 +0200
commita9786a119d2cd0f43d5554bddda71a5fd6ee39ff (patch)
tree15ba746c869880303ecfcb7b8642837aa2470f57 /tools/perf/scripts/python
parentdrm/i915: Add vma to list at creation (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions