drm/i915/perf: Update handling of MMIO triggered reports
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Tue, 19 Dec 2023 00:05:43 +0000 (16:05 -0800)
committerJani Nikula <jani.nikula@intel.com>
Wed, 27 Dec 2023 10:50:15 +0000 (12:50 +0200)
commitee11d2d37f5c05bd7bf5ccc820a58f48423d032b
tree01af1f6f2fb9f1eaf8bc75e1b5d70676a664e6b3
parent2bd7a06a1208aaacb4e7a2a5436c23bce8d70801
drm/i915/perf: Update handling of MMIO triggered reports

On XEHP platforms user is not able to find MMIO triggered reports in the
OA buffer since i915 squashes the context ID fields. These context ID
fields hold the MMIO trigger markers.

Update logic to not squash the context ID fields of MMIO triggered
reports.

Fixes: cba94bbcff08 ("drm/i915/perf: Determine context valid in OA reports")
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231219000543.1087706-1-umesh.nerlige.ramappa@intel.com
(cherry picked from commit 0c68132df6e66244acec1bb5b9e19b0751414389)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_perf.c