aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-02-26 16:54:27 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-04-21 10:56:18 -0400
commitfced8e7d2ddeba7f41b19e065f8c02a9abf9ac00 (patch)
tree635ad686db1a1babf4837a56bdcc51a9e19757c1 /include
parentdrm/amd/display: Add error check for avi and vendor infoframe setup function (diff)
downloadlinux-fced8e7d2ddeba7f41b19e065f8c02a9abf9ac00.tar.gz
linux-fced8e7d2ddeba7f41b19e065f8c02a9abf9ac00.zip
drm/amdgpu: convert userq UAPI _pad to flags
Reuse the _pad field for flags. Reviewed-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Jesse.Zhang <Jesse.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/amdgpu_drm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index ef97c0d78b8a..1a451907184c 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -355,7 +355,10 @@ struct drm_amdgpu_userq_in {
* and doorbell_offset in the doorbell bo.
*/
__u32 doorbell_offset;
- __u32 _pad;
+ /**
+ * @flags: flags used for queue parameters
+ */
+ __u32 flags;
/**
* @queue_va: Virtual address of the GPU memory which holds the queue
* object. The queue holds the workload packets.