]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/throttle: Skip reason prefix while emitting array
authorRaag Jadav <raag.jadav@intel.com>
Wed, 3 Dec 2025 12:33:55 +0000 (18:03 +0530)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 15 Dec 2025 13:14:27 +0000 (14:14 +0100)
commit17d52ab2a6ec8b91bbfc577d397d42d0776ef01f
tree8b958101de1674e623eb714c284d982466dbfcc5
parent9acc3295813b9b846791fd3eab0a78a3144af560
drm/xe/throttle: Skip reason prefix while emitting array

The newly introduced "reasons" attribute already signifies possible
reasons for throttling and makes the prefix in individual attribute
names redundant while emitting them as an array. Skip the prefix.

Fixes: 83ccde67a3f7 ("drm/xe/gt_throttle: Avoid TOCTOU when monitoring reasons")
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Sk Anirban <sk.anirban@intel.com>
Link: https://patch.msgid.link/20251203123355.571606-1-raag.jadav@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
(cherry picked from commit b64a14334ef3ebbcf70d11bc67d0934bdc0e390d)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_gt_throttle.c