]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/eustall: Disallow 0 EU stall property values
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Fri, 12 Dec 2025 06:18:50 +0000 (22:18 -0800)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Thu, 18 Dec 2025 03:47:28 +0000 (19:47 -0800)
commit5bf763e908bf795da4ad538d21c1ec41f8021f76
tree8b43112abe88c630c87612dd1ba94486c1759132
parent7a100e6ddcc47c1f6ba7a19402de86ce24790621
drm/xe/eustall: Disallow 0 EU stall property values

An EU stall property value of 0 is invalid and will cause a NPD.

Reported-by: Peter Senna Tschudin <peter.senna@linux.intel.com>
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/6453
Fixes: 1537ec85ebd7 ("drm/xe/uapi: Introduce API for EU stall sampling")
Cc: stable@vger.kernel.org
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Harish Chegondi <harish.chegondi@intel.com>
Link: https://patch.msgid.link/20251212061850.1565459-4-ashutosh.dixit@intel.com
drivers/gpu/drm/xe/xe_eu_stall.c