summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
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/syscall-counts.py
parent8b9c2b9411dd55617442f8151fb6fb2849c72f7e (diff)
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions