History

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

Boris Brezillon committed 2 years ago

Commit 591eafc1 parent 8e43b1e1 file · +5 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/panthor_drm.h+5−1
@@ -939,7 +939,11 @@ struct drm_panthor_tiler_heap_create { · 938 unmodified lines
939 * struct drm_panthor_tiler_heap_destroy - Arguments passed to DRM_IOCTL_PANTHOR_TILER_HEAP_DESTROY939 * struct drm_panthor_tiler_heap_destroy - Arguments passed to DRM_IOCTL_PANTHOR_TILER_HEAP_DESTROY
940 */940 */
941struct drm_panthor_tiler_heap_destroy {941struct 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 */
943 __u32 handle;947 __u32 handle;
944 948
945 /** @pad: Padding field, MBZ. */949 /** @pad: Padding field, MBZ. */