/**
* struct drm_panfrost_wait_bo - ioctl argument for waiting for
- * completion of the last DRM_PANFROST_SUBMIT_CL on a BO.
+ * completion of the last DRM_PANFROST_SUBMIT on a BO.
*
* This is useful for cases where multiple processes might be
* rendering to a BO and you want to wait for all rendering to be
__u32 flags;
/** Returned GEM handle for the BO. */
__u32 handle;
+ /* Pad, must be zero-filled. */
+ __u32 pad;
/**
* Returned offset for the BO in the GPU address space. This offset
* is private to the DRM fd and is valid for the lifetime of the GEM
};
enum drm_panfrost_param {
- DRM_PANFROST_PARAM_GPU_ID,
+ DRM_PANFROST_PARAM_GPU_PROD_ID,
};
struct drm_panfrost_get_param {
struct drm_panfrost_get_param get_param = {0,};
int ret;
- get_param.param = DRM_PANFROST_PARAM_GPU_ID;
+ get_param.param = DRM_PANFROST_PARAM_GPU_PROD_ID;
ret = drmIoctl(drm->fd, DRM_IOCTL_PANFROST_GET_PARAM, &get_param);
assert(!ret);