Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240502165158.1458959-6-boris.brezillon@collabora.com

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