Patch "Revert "drm/xe/forcewake: Add a helper xe_force_wake_ref_has_domain()"" has been added to the 6.12-stable tree
gregkh at linuxfoundation.org
gregkh at linuxfoundation.org
Wed Jul 30 08:00:20 UTC 2025
This is a note to let you know that I've just added the patch titled
Revert "drm/xe/forcewake: Add a helper xe_force_wake_ref_has_domain()"
to the 6.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
revert-drm-xe-forcewake-add-a-helper-xe_force_wake_ref_has_domain.patch
and it can be found in the queue-6.12 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable at vger.kernel.org> know about it.
>From stable+bounces-165055-greg=kroah.com at vger.kernel.org Tue Jul 29 13:06:06 2025
From: Tomita Moeko <tomitamoeko at gmail.com>
Date: Tue, 29 Jul 2025 19:05:25 +0800
Subject: Revert "drm/xe/forcewake: Add a helper xe_force_wake_ref_has_domain()"
To: "Lucas De Marchi" <lucas.demarchi at intel.com>, "Thomas Hellström" <thomas.hellstrom at linux.intel.com>, "Rodrigo Vivi" <rodrigo.vivi at intel.com>
Cc: intel-xe at lists.freedesktop.org, stable at vger.kernel.org, Tomita Moeko <tomitamoeko at gmail.com>, Michal Wajdeczko <michal.wajdeczko at intel.com>, Badal Nilawar <badal.nilawar at intel.com>, Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Message-ID: <20250729110525.49838-5-tomitamoeko at gmail.com>
From: Tomita Moeko <tomitamoeko at gmail.com>
This reverts commit deb05f8431f31e08fd6ab99a56069fc98014dbec.
The helper function introduced in the reverted commit is for handling
the "refcounted domain mask" introduced in commit a7ddcea1f5ac
("drm/xe: Error handling in xe_force_wake_get()"). Since that API change
only exists in 6.13 and later, this helper is unnecessary in 6.12 stable
kernel.
Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Badal Nilawar <badal.nilawar at intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Tomita Moeko <tomitamoeko at gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
drivers/gpu/drm/xe/xe_force_wake.h | 16 ----------------
1 file changed, 16 deletions(-)
--- a/drivers/gpu/drm/xe/xe_force_wake.h
+++ b/drivers/gpu/drm/xe/xe_force_wake.h
@@ -46,20 +46,4 @@ xe_force_wake_assert_held(struct xe_forc
xe_gt_assert(fw->gt, fw->awake_domains & domain);
}
-/**
- * xe_force_wake_ref_has_domain - verifies if the domains are in fw_ref
- * @fw_ref : the force_wake reference
- * @domain : forcewake domain to verify
- *
- * This function confirms whether the @fw_ref includes a reference to the
- * specified @domain.
- *
- * Return: true if domain is refcounted.
- */
-static inline bool
-xe_force_wake_ref_has_domain(unsigned int fw_ref, enum xe_force_wake_domains domain)
-{
- return fw_ref & domain;
-}
-
#endif
Patches currently in stable-queue which might be from tomitamoeko at gmail.com are
queue-6.12/revert-drm-xe-forcewake-add-a-helper-xe_force_wake_ref_has_domain.patch
queue-6.12/revert-drm-xe-tests-mocs-update-xe_force_wake_get-return-handling.patch
queue-6.12/revert-drm-xe-gt-update-handling-of-xe_force_wake_get-return.patch
queue-6.12/revert-drm-xe-devcoredump-update-handling-of-xe_force_wake_get-return.patch
More information about the Intel-xe
mailing list