summaryrefslogtreecommitdiff
path: root/va/va_drmcommon.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2017-09-11 16:46:10 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-09-27 12:49:34 +0800
commit98f1d56bfe9a11c0bcc3e1f4194779e0b777e77e (patch)
tree3783f80d10b5effa5108553b747f85eedd6ba46c /va/va_drmcommon.h
parent0fd48763d9f5f0ad73b208fe90516344683fb872 (diff)
downloadlibva-98f1d56bfe9a11c0bcc3e1f4194779e0b777e77e.tar.gz
Add reserved bytes to most structures
The reserved bytest must be set to 0, then we can add new fields to those structures in future without worrying about the API compatibility too much. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'va/va_drmcommon.h')
-rw-r--r--va/va_drmcommon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/va/va_drmcommon.h b/va/va_drmcommon.h
index 76820a3..3bad528 100644
--- a/va/va_drmcommon.h
+++ b/va/va_drmcommon.h
@@ -66,6 +66,8 @@ struct drm_state {
int fd;
/** \brief DRM authentication type. */
int auth_type;
+ /** \brief Reserved bytes for future use, must be zero */
+ int va_reserved[8];
};
/** \brief Kernel DRM buffer memory type. */