✓ CI.checkpatch: success for drm/xe: Add locks in gtidle code
Patchwork
patchwork at emeril.freedesktop.org
Fri Jan 10 17:45:10 UTC 2025
== Series Details ==
Series: drm/xe: Add locks in gtidle code
URL : https://patchwork.freedesktop.org/series/143407/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit d037f31428610c577c5de978e4aca5f20aaa1684
Author: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Date: Fri Jan 10 09:33:09 2025 -0800
drm/xe: Add locks in gtidle code
The update of the residency values needs to be protected by a lock to
avoid multiple entrypoints, for example when multiple userspace clients
read the sysfs file. Other in-kernel clients are going to be added to
sample these values, making the problem worse. Protect those updates
with a raw_spinlock so it can be called by future integration with perf
pmu.
Suggested-by: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
+ /mt/dim checkpatch 00f4619246294b1de4bac42742cfef95c1f37fde drm-intel
d037f3142861 drm/xe: Add locks in gtidle code
More information about the Intel-xe
mailing list