mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
freedreno/common: Add ioctl ptr helpers
Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
This commit is contained in:
parent
3358e40fed
commit
3a4f20930b
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue