drm/vc4: Use drm_gem_cma_vmap() directly
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 8 Jan 2021 14:08:06 +0000 (15:08 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 13 Jan 2021 11:52:08 +0000 (12:52 +0100)
commitb100ed1ee8f27306be9ed523ebd5681acdd17134
tree6800c059b8913d203d7789b999b1f23750534fd4
parent0cf1d704048a52ead7366b9e763b1754a9352b56
drm/vc4: Use drm_gem_cma_vmap() directly

Validated shaders cannot be exported. There's no need for testing this in
the BO's vmap implementation. Call drm_gem_cma_vmap() directly instead.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210108140808.25775-2-tzimmermann@suse.de
drivers/gpu/drm/vc4/vc4_bo.c
drivers/gpu/drm/vc4/vc4_drv.h