Skip to content
Commit d362ba77 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Dylan Baker
Browse files

intel/perf: fix invalid hw_id in query results



Accumulation happens between 2 reports, it can be between a start/end
report from another context. So only consider updating the hw_id of
the results when it's not already valid and that we have a valid value
to put in there.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 41b54b5f ("i965: move OA accumulation code to intel/perf")
Reviewed-by: default avatarMark Janes <mark.a.janes@intel.com>
Reviewed-by: default avatarKenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit acea59db)
parent 9b189cb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment