diff options
author | Yuan Can <[email protected]> | 2024-11-06 09:35:41 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-11-08 11:45:29 -0500 |
commit | 21cae8debc6a1d243f64fa82cd1b41cb612b5c61 (patch) | |
tree | c538d2f7db2ce81132f52bfbef6d047d39811fbe /tools/perf/scripts/python/gecko.py | |
parent | 1b4ca8546f5b5c482717bedb8e031227b1541539 (diff) |
drm/amdkfd: Fix wrong usage of INIT_WORK()
In kfd_procfs_show(), the sdma_activity_work_handler is a local variable
and the sdma_activity_work_handler.sdma_activity_work should initialize
with INIT_WORK_ONSTACK() instead of INIT_WORK().
Fixes: 32cb59f31362 ("drm/amdkfd: Track SDMA utilization per process")
Signed-off-by: Yuan Can <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions