[PATCH drm-misc-next v4 7/8] drm/gpuvm: generalize dma_resv/extobj handling and GEM validation

Boris Brezillon boris.brezillon at collabora.com
Fri Sep 22 11:45:48 UTC 2023


On Wed, 20 Sep 2023 16:42:40 +0200
Danilo Krummrich <dakr at redhat.com> wrote:

> +	/**
> +	 * @DRM_GPUVM_RESV_PROTECTED: GPUVM is protected externally by the
> +	 * GPUVM's &dma_resv lock

I think we need to be more specific, and list the fields/operations
that need to be externally protected when DRM_GPUVM_RESV_PROTECTED is
set.

> +	 */
> +	DRM_GPUVM_RESV_PROTECTED = (1 << 0),


More information about the dri-devel mailing list