mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
freedreno/drm: sync uapi again
"pad" was missing in Mesa's msm_drm.h. sizeof(drm_msm_gem_info) remains the same, but now the compiler initializes the field to zero. Buffer allocation results in EINVAL without this for me. Cc: Rob Clark <robdclark@gmail.com> Cc: Kristian Høgsberg <hoegsberg@gmail.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@gmail.com>
This commit is contained in:
parent
6eeb1fe491
commit
3cb65cf8aa
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ struct drm_msm_gem_info {
|
|||
__u32 info; /* in - one of MSM_INFO_* */
|
||||
__u64 value; /* in or out */
|
||||
__u32 len; /* in or out */
|
||||
__u32 pad;
|
||||
};
|
||||
|
||||
#define MSM_PREP_READ 0x01
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue