diff options
author | 2024-07-11 14:53:35 +0100 | |
---|---|---|
committer | 2024-07-13 11:00:31 -0300 | |
commit | 4bd75a81e61ab691154a83068a694c9af44e2dd6 (patch) | |
tree | bd2a97ddc30245fa118cc5290ab30d921e771c80 /drivers/gpu/drm/stm/ltdc.c | |
parent | drm/v3d: Validate passed in drm syncobj handles in the performance extension (diff) | |
download | wireguard-linux-4bd75a81e61ab691154a83068a694c9af44e2dd6.tar.xz wireguard-linux-4bd75a81e61ab691154a83068a694c9af44e2dd6.zip |
drm/v3d: Move part of copying of reset/copy performance extension to a helper
The loop which looks up the syncobj and copies the kperfmon ids is
identical so lets move it to a helper.
The only change is replacing copy_from_user with get_user when copying a
scalar.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240711135340.84617-7-tursulin@igalia.com
Diffstat (limited to 'drivers/gpu/drm/stm/ltdc.c')
0 files changed, 0 insertions, 0 deletions