]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe: memirq handler changes
authorIlia Levi <ilia.levi@intel.com>
Wed, 18 Sep 2024 05:39:42 +0000 (08:39 +0300)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 19 Sep 2024 08:15:40 +0000 (10:15 +0200)
commitaa4e216827553f487c121264579807c35b5571c8
treeaff563a47d1234f3068c218f93287ec14a72d706
parentef6103d20f97f201d2483f16fea363f87d7caba8
drm/xe: memirq handler changes

Expose an interrupt processing handler for a single hw engine.
Refactor code to use this handler from the VF.
This handler also caters for the MSI-X mode, where the hardware engines
report interrupt source and status to the offset of engine instance zero
(this usage will be introduced in upcoming MSI-X enabling series).

Signed-off-by: Ilia Levi <ilia.levi@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240918053942.1331811-6-illevi@habana.ai
drivers/gpu/drm/xe/xe_hw_engine.c
drivers/gpu/drm/xe/xe_memirq.c
drivers/gpu/drm/xe/xe_memirq.h