]> git.hungrycats.org Git - linux/commit
drm/xe/rtp: (De-)whitelist OA registers for all hwe's for a gt
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Mon, 15 Jun 2026 22:42:25 +0000 (15:42 -0700)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Mon, 22 Jun 2026 19:28:34 +0000 (12:28 -0700)
commit6f73bf8fffa728aa5d5ee143ba318fa0744113a2
treebfd8df3b1e71817b6023cd856b9c74c0b973024d
parentaeaa7d2bb017272ab9e18759fe00bf758cd3299f
drm/xe/rtp: (De-)whitelist OA registers for all hwe's for a gt

Whitelist or de-whitelist OA registers for all hwe's on the gt on which the
OA stream is opened. This simplifies the case where an oa unit has 0
attached hwe's (but which monitors OA events on the associated GT).

Fixes: 828a8eaf37c3 ("drm/xe/oa: Add MMIO trigger support")
Cc: stable@vger.kernel.org # v6.12+
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patch.msgid.link/20260615224227.34880-8-ashutosh.dixit@intel.com
drivers/gpu/drm/xe/xe_reg_whitelist.c
drivers/gpu/drm/xe/xe_reg_whitelist.h