diff options
author | Umesh Nerlige Ramappa <[email protected]> | 2022-11-23 15:53:42 -0800 |
---|---|---|
committer | John Harrison <[email protected]> | 2022-12-07 17:03:34 -0800 |
commit | 95c713d722017b26e301303713d638e0b95b1f68 (patch) | |
tree | 162780fc10ef82bb36c9a8fe69d4236ca87b54fc /tools/perf/scripts/python/flamegraph.py | |
parent | 4050e6f211ea521eb703c921cdb15b905be882b2 (diff) |
drm/i915/perf: Do not parse context image for HSW
An earlier commit introduced a mechanism to parse the context image to
find the OA context control offset. This resulted in an NPD on haswell
when gem_context was passed into i915_perf_open_ioctl params. Haswell
does not support logical ring contexts, so ensure that the context image
is parsed only for platforms with logical ring contexts and also
validate lrc_reg_state.
v2: Fix build failure
v3: Fix checkpatch error
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/7432
Fixes: a5c3a3cbf029 ("drm/i915/perf: Determine gen12 oa ctx offset at runtime")
Signed-off-by: Umesh Nerlige Ramappa <[email protected]>
Reviewed-by: Ashutosh Dixit <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions