drm/v3d: Enable BO mapping
authorMaíra Canal <mcanal@igalia.com>
Thu, 30 Nov 2023 16:40:34 +0000 (13:40 -0300)
committerMaíra Canal <mcanal@igalia.com>
Fri, 1 Dec 2023 12:37:50 +0000 (09:37 -0300)
commit7c13132c4073628b5fe23b5188ac583a2882a6b0
treedd3f975a7b59675e90b92826fb447838cd719eb3
parent369b05961731925e4a43608ea1e7884df200f0bd
drm/v3d: Enable BO mapping

For the indirect CSD CPU job, we will need to access the internal
contents of the BO with the dispatch parameters. Therefore, create
methods to allow the mapping and unmapping of the BO.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231130164420.932823-13-mcanal@igalia.com
drivers/gpu/drm/v3d/v3d_bo.c
drivers/gpu/drm/v3d/v3d_drv.h