diff options
author | Michel Thierry <[email protected]> | 2018-06-04 16:32:49 -0700 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-06-11 11:58:13 +0100 |
commit | 9904b1560e4a2e7c956004f9843939e23d84cd7b (patch) | |
tree | e77df8daa7df3962789c74b2b8d5dc9e6785ee01 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 746c8f143afad7aaa66c484485fc39888d437a3f (diff) |
drm/i915/perf: use the lrc_desc to get the ctx hw id in gen8-10
The upper 32 bits of the lrc_desc (bits 52-32 to be precise) are the
context hw id in GEN8-10, so use them and have one less thing to
maintain in the unlikely case we change the descriptor sw fields.
v2: If we use the lrc_desc, we must apply the ctx_id_mask too (Lionel)
Signed-off-by: Michel Thierry <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Cc: Chris Wilson <[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