OSDN Git Service

amdgpu: Update amdgpu_bo_handle_type_kms_noimport documentation
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 18 Jun 2019 09:24:42 +0000 (11:24 +0200)
committerMichel Dänzer <michel@daenzer.net>
Tue, 25 Jun 2019 15:59:10 +0000 (17:59 +0200)
To reflect current reality.

Reviewed-by: Christian König <christian.koenig@amd.com>
amdgpu/amdgpu.h

index 9d9b083..66e45f7 100644 (file)
@@ -87,8 +87,8 @@ enum amdgpu_bo_handle_type {
        /** DMA-buf fd handle */
        amdgpu_bo_handle_type_dma_buf_fd = 2,
 
-       /** KMS handle, but re-importing as a DMABUF handle through
-        *  drmPrimeHandleToFD is forbidden. (Glamor does that)
+       /** Deprecated in favour of and same behaviour as
+        * amdgpu_bo_handle_type_kms, use that instead of this
         */
        amdgpu_bo_handle_type_kms_noimport = 3,
 };