aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2016-03-02 12:36:03 +0100
committerMaarten Lankhorst <[email protected]>2016-03-03 09:17:42 +0100
commit1a426d6116467e09954289ee8c273e1bcc003adc (patch)
tree5193f17015a0e8c67cbd662ff2cf55175869a86e /tools/perf/scripts/python/export-to-postgresql.py
parent933bfb44b228f26e09364d122576c8e938588d4f (diff)
drm/i915: Handle invalid ilk pipe watermarks correctly.
This function returns an int, but when ilk_validate_pipe_wm fails it returns false, which is 0 (success). As a result invalid watermarks are applied, while they should have been rejected. Fix this by returning -EINVAL. Fixes: ed4a6a7ca853 ("drm/i915: Add two-stage ILK-style watermark programming (v11)") Cc: Matt Roper <[email protected]> Signed-off-by: Maarten Lankhorst <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/1456918563-28696-1-git-send-email-maarten.lankhorst@linux.intel.com Reviewed-by: Matt Roper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions