aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2023-02-17 14:33:07 -0800
committerJohn Harrison <John.C.Harrison@Intel.com>2023-03-10 17:47:21 -0800
commitfcb0348912ab718a3613c13cba264aecc7462c74 (patch)
treedcb20be81edaf1210656f9f2a27eeef94c6eac88 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent913e013e9e1a331b3cdc3d0a033e120d630a80aa (diff)
downloadlinux-fcb0348912ab718a3613c13cba264aecc7462c74.tar.gz
linux-fcb0348912ab718a3613c13cba264aecc7462c74.tar.bz2
linux-fcb0348912ab718a3613c13cba264aecc7462c74.zip
drm/i915/guc: Improve clean up of busyness stats worker
The stats worker thread management was mis-matched between enable/disable call sites. Fix those up. Also, abstract the cancel/enable code into a helper function rather than replicating in multiple places. v2: Rename the helpers and wrap the enable as well as the cancel (review feedback from Daniele). Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230217223308.3449737-2-John.C.Harrison@Intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions