diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2025-08-15 10:16:34 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2025-08-18 08:35:57 -0700 |
| commit | c8cea4371e5eca30cda8660aabb337747dabc51d (patch) | |
| tree | 2f861806470b005cb947ec5338c3c35c376fec39 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | drm/bridge: display-connector: don't set OP_DETECT for DisplayPorts (diff) | |
| download | linux-c8cea4371e5eca30cda8660aabb337747dabc51d.tar.gz linux-c8cea4371e5eca30cda8660aabb337747dabc51d.zip | |
accel/amdxdna: Add a function to walk hardware contexts
Walking hardware contexts created by a process is duplicated in multiple
spots. Add a function, amdxdna_hwctx_walk(), and replace all spots.
hwctx_srcu and dev_lock are good enough to protect hardware context list.
Remove hwctx_lock.
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://lore.kernel.org/r/20250815171634.3417487-1-lizhi.hou@amd.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
