diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-11 11:04:35 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-11 22:40:40 +0000 |
| commit | 37d1151ce75ea2a9ca7274cb0c93f21db9ab431a (patch) | |
| tree | c2cfd3dc14a459829c27bb8e2fac4c521369e775 /tools/perf/scripts/python | |
| parent | drm/i915: Remove redundant parameters from intel_engine_cmd_parser (diff) | |
| download | linux-37d1151ce75ea2a9ca7274cb0c93f21db9ab431a.tar.gz linux-37d1151ce75ea2a9ca7274cb0c93f21db9ab431a.zip | |
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
