Skip to content

Commit 591eafc

Browse files
committed
drm/panthor: Document drm_panthor_tiler_heap_destroy::handle validity constraints
Make sure the user is aware that drm_panthor_tiler_heap_destroy::handle must be a handle previously returned by DRM_IOCTL_PANTHOR_TILER_HEAP_CREATE. v4: - Add Steve's R-b v3: - New patch Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Steven Price <[email protected]> Reviewed-by: Liviu Dudau <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 8e43b1e commit 591eafc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/uapi/drm/panthor_drm.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,11 @@ struct drm_panthor_tiler_heap_create {
939939
* struct drm_panthor_tiler_heap_destroy - Arguments passed to DRM_IOCTL_PANTHOR_TILER_HEAP_DESTROY
940940
*/
941941
struct drm_panthor_tiler_heap_destroy {
942-
/** @handle: Handle of the tiler heap to destroy */
942+
/**
943+
* @handle: Handle of the tiler heap to destroy.
944+
*
945+
* Must be a valid heap handle returned by DRM_IOCTL_PANTHOR_TILER_HEAP_CREATE.
946+
*/
943947
__u32 handle;
944948

945949
/** @pad: Padding field, MBZ. */

0 commit comments

Comments
 (0)