]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/vc4: Use DRM Execution Contexts
authorMaíra Canal <mcanal@igalia.com>
Fri, 20 Dec 2024 13:37:07 +0000 (10:37 -0300)
committerMaíra Canal <mcanal@igalia.com>
Sun, 19 Jan 2025 18:30:23 +0000 (15:30 -0300)
commit04630796c437a9285643097825cbd3cd06603f47
tree1ef4ef38ad2fca12c35cb2f3a9358cdfebe0b66f
parent6568d423cb3000789b2b8493049883fcec09c329
drm/vc4: Use DRM Execution Contexts

VC4 has internal copies of `drm_gem_lock_reservations()` and
`drm_gem_unlock_reservations()` within the driver. Ideally, these
hard-coded functions should be replaced with the generic functions
provided by DRM common code. However, instead of using the DRM GEM
functions to (un)lock reservations, transition to the new DRM Execution
Contexts API.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241220134204.634577-2-mcanal@igalia.com
drivers/gpu/drm/vc4/Kconfig
drivers/gpu/drm/vc4/vc4_gem.c