Skip to content

Commit e53c1e2

Browse files
committed
drm/gpuvm: Add DRM_GPUVA_OP_DRIVER
Add DRM_GPUVA_OP_DRIVER which allows driver to define their own gpuvm ops. Useful for driver created ops which can be passed into the bind software pipeline. v3: - s/DRM_GPUVA_OP_USER/DRM_GPUVA_OP_DRIVER (Thomas) - Better commit message (Thomas) Cc: Danilo Krummrich <[email protected]> Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ab49882 commit e53c1e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/drm/drm_gpuvm.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,11 @@ enum drm_gpuva_op_type {
812812
* @DRM_GPUVA_OP_PREFETCH: the prefetch op type
813813
*/
814814
DRM_GPUVA_OP_PREFETCH,
815+
816+
/**
817+
* @DRM_GPUVA_OP_DRIVER: the driver defined op type
818+
*/
819+
DRM_GPUVA_OP_DRIVER,
815820
};
816821

817822
/**

0 commit comments

Comments
 (0)