diff options
author | Tomeu Vizoso <[email protected]> | 2019-05-31 09:12:59 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-06-18 15:26:08 +0200 |
commit | 6f60fec48fe70c7e8cfe5f8c9752c057794e8a34 (patch) | |
tree | f81b2dcfe01936905a44e5683b8bef3d2f5343f2 /include/drm-uapi/panfrost_drm.h | |
parent | 5ad5777f890b490850fc112ca2b6573e647a62c2 (diff) |
panfrost: Adapt to constant name change in UABI
We hadn't updated the kernel header after the driver got into mainline.
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'include/drm-uapi/panfrost_drm.h')
-rw-r--r-- | include/drm-uapi/panfrost_drm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/drm-uapi/panfrost_drm.h b/include/drm-uapi/panfrost_drm.h index 508b9621d9d..a52e0283b90 100644 --- a/include/drm-uapi/panfrost_drm.h +++ b/include/drm-uapi/panfrost_drm.h @@ -59,7 +59,7 @@ struct drm_panfrost_submit { /** * 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 @@ -82,6 +82,8 @@ struct drm_panfrost_create_bo { __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 @@ -113,7 +115,7 @@ struct drm_panfrost_mmap_bo { }; enum drm_panfrost_param { - DRM_PANFROST_PARAM_GPU_ID, + DRM_PANFROST_PARAM_GPU_PROD_ID, }; struct drm_panfrost_get_param { |