aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2022-01-09 11:37:04 -0500
committerSteven Price <steven.price@arm.com>2022-01-10 16:39:46 +0000
commita9e4fb51425f680f191bb65c2778cea31bf058c7 (patch)
tree226897e2ab0ae299c60d91f18e22b45579339580 /include/uapi/drm
parentdrm/privacy_screen_x86: Add entry for ChromeOS privacy-screen (diff)
downloadlinux-dev-a9e4fb51425f680f191bb65c2778cea31bf058c7.tar.xz
linux-dev-a9e4fb51425f680f191bb65c2778cea31bf058c7.zip
drm/panfrost: Update create_bo flags comment
Update a comment stating create_bo took no flags, since it now takes a bit mask of optional flags NOEXEC and HEAP. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Steven Price <steven.price@arm.com> Signed-off-by: Steven Price <steven.price@arm.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220109163704.2564-1-alyssa.rosenzweig@collabora.com
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/panfrost_drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/drm/panfrost_drm.h b/include/uapi/drm/panfrost_drm.h
index 061e700dd06c..9e40277d8185 100644
--- a/include/uapi/drm/panfrost_drm.h
+++ b/include/uapi/drm/panfrost_drm.h
@@ -84,14 +84,14 @@ struct drm_panfrost_wait_bo {
__s64 timeout_ns; /* absolute */
};
+/* Valid flags to pass to drm_panfrost_create_bo */
#define PANFROST_BO_NOEXEC 1
#define PANFROST_BO_HEAP 2
/**
* struct drm_panfrost_create_bo - ioctl argument for creating Panfrost BOs.
*
- * There are currently no values for the flags argument, but it may be
- * used in a future extension.
+ * The flags argument is a bit mask of PANFROST_BO_* flags.
*/
struct drm_panfrost_create_bo {
__u32 size;