summaryrefslogtreecommitdiff
path: root/va/va_drmcommon.h
diff options
context:
space:
mode:
authorJonathan Bian <jonathan.bian@intel.com>2012-09-16 21:26:00 -0700
committerXiang, Haihao <haihao.xiang@intel.com>2013-06-05 09:38:35 +0800
commit5f762795ebc7ba1d54c104bd3c4cc26a22c96f8a (patch)
tree95c0ceb15a5d85032483374ef5f9a41703ac2a34 /va/va_drmcommon.h
parent9d2ed7dfe9a28667abcc6c326a17bfecb6e30bdc (diff)
downloadlibva-5f762795ebc7ba1d54c104bd3c4cc26a22c96f8a.tar.gz
Changed values for VASurfaceAttribMemoryType from fourcc to bit fields.
Diffstat (limited to 'va/va_drmcommon.h')
-rw-r--r--va/va_drmcommon.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/va/va_drmcommon.h b/va/va_drmcommon.h
index 47dd371..76820a3 100644
--- a/va/va_drmcommon.h
+++ b/va/va_drmcommon.h
@@ -68,9 +68,9 @@ struct drm_state {
int auth_type;
};
-/** \brief Kernel DRM buffer memory type "KDRM" in fourcc */
-#define VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM 0x4D52444B
-/** \brief DRM PRIME memory type "DPRI" in fourcc */
-#define VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME 0x49525044
+/** \brief Kernel DRM buffer memory type. */
+#define VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM 0x10000000
+/** \brief DRM PRIME memory type. */
+#define VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME 0x20000000
#endif /* VA_DRM_COMMON_H */