aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMichel Thierry <[email protected]>2018-06-04 16:32:50 -0700
committerLionel Landwerlin <[email protected]>2018-06-11 11:58:43 +0100
commit2b9a820318ebdf81f666be4daf7414d98123fefb (patch)
tree0605c745445c4e3a42dde9b33f6862da1eb1cef4 /tools/perf/scripts/python/event_analyzing_sample.py
parent9904b1560e4a2e7c956004f9843939e23d84cd7b (diff)
drm/i915/perf: fix gen11 engine class shift
Use the correct engine class shift value while storing the ctx hw id. Fixes the copy+paste error from commit 61d5676b5561 ("drm/i915/perf: fix ctx_id read with GuC & ICL"). Apologies for not spotting this in the original review, the specific_ctx_id_mask is correct, only the specific_ctx_id had this problem. v2: Just use the upper 32 bits of lrc_desc (Chris) v3: If we use the lrc_desc, we must apply the ctx_id_mask too (Lionel) Fixes: 61d5676b5561 ("drm/i915/perf: fix ctx_id read with GuC & ICL") Signed-off-by: Michel Thierry <[email protected]> Cc: Lionel Landwerlin <[email protected]> Cc: Chris Wilson <[email protected]> Cc: Michel Thierry <[email protected]> Cc: Matthew Auld <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: [email protected] Reviewed-by: Lionel Landwerlin <[email protected]> Signed-off-by: Lionel Landwerlin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions