summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-12-11 14:04:35 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2019-12-12 01:40:40 +0300
commit37d1151ce75ea2a9ca7274cb0c93f21db9ab431a (patch)
treec2cfd3dc14a459829c27bb8e2fac4c521369e775 /tools/perf/scripts/python
parent755bf8a8c9850f418e9a585f067e431677219260 (diff)
downloadlinux-37d1151ce75ea2a9ca7274cb0c93f21db9ab431a.tar.xz
drm/i915: Simplify error escape from cmdparser
We need to flush the destination buffer, even on error, to maintain consistent cache state. Thereby removing the jump on error past the clear, and reducing the loop-escape mechanism to a mere break. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191211110437.4082687-3-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions