]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/oa: Always set OAG_OAGLBCTXCTRL_COUNTER_RESUME
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Fri, 5 Dec 2025 21:26:13 +0000 (13:26 -0800)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 18 Dec 2025 17:11:22 +0000 (18:11 +0100)
commit256edb267a9d0b5aef70e408e9fba4f930f9926e
tree22c0b48d99831f962962d3ec85e45dad8bdeff6a
parent6f0f404bd289d79a260b634c5b3f4d330b13472c
drm/xe/oa: Always set OAG_OAGLBCTXCTRL_COUNTER_RESUME

Reports can be written out to the OA buffer using ways other than periodic
sampling. These include mmio trigger and context switches. To support these
use cases, when periodic sampling is not enabled,
OAG_OAGLBCTXCTRL_COUNTER_RESUME must be set.

Fixes: 1db9a9dc90ae ("drm/xe/oa: OA stream initialization (OAG)")
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patch.msgid.link/20251205212613.826224-4-ashutosh.dixit@intel.com
(cherry picked from commit 88d98e74adf3e20f678bb89581a5c3149fdbdeaa)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_oa.c