freedreno/common: Add ioctl ptr helpers

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
This commit is contained in:
Rob Clark 2026-04-25 07:30:42 -07:00
parent 3358e40fed
commit 3a4f20930b

View file

@ -158,6 +158,9 @@ struct BitmaskEnum {
#define BIT(bit) BITFIELD64_BIT(bit)
#define U642VOID(x) ((void *)(unsigned long)(x))
#define VOID2U64(x) ((uint64_t)(unsigned long)(x))
/**
* Helper for allocating sequence #s where zero is a non-valid seqno
*/