Skip to content

Commit 108f7bd

Browse files
committed
fixup! drm/asahi: Add the Asahi driver UAPI
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 3076f62 commit 108f7bd

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

include/uapi/drm/asahi_drm.h

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,10 @@ struct drm_asahi_gem_create {
148148
/** @handle: Returned GEM handle for the BO */
149149
__u32 handle;
150150

151-
// TODO: u32 pad missing here, fix for next rev bump
151+
// TODO: remove guards on next rev bump
152+
#if DRM_ASAHI_UNSTABLE_UABI_VERSION > 10011
153+
__u32 pad;
154+
#endif
152155
};
153156

154157
struct drm_asahi_gem_mmap_offset {
@@ -232,7 +235,10 @@ struct drm_asahi_queue_create {
232235
/** @queue_id: The returned queue ID */
233236
__u32 queue_id;
234237

235-
// TODO: u32 pad missing here, fix for next rev bump
238+
// TODO: remove guards on next rev bump
239+
#if DRM_ASAHI_UNSTABLE_UABI_VERSION > 10011
240+
__u32 pad;
241+
#endif
236242
};
237243

238244
struct drm_asahi_queue_destroy {
@@ -242,7 +248,10 @@ struct drm_asahi_queue_destroy {
242248
/** @queue_id: The queue ID to be destroyed */
243249
__u32 queue_id;
244250

245-
// TODO: u32 pad missing here, fix for next rev bump
251+
// TODO: remove guards on next rev bump
252+
#if DRM_ASAHI_UNSTABLE_UABI_VERSION > 10011
253+
__u32 pad;
254+
#endif
246255
};
247256

248257
enum drm_asahi_sync_type {

0 commit comments

Comments
 (0)