summaryrefslogtreecommitdiff
path: root/src/i915_hwmc.h
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2007-10-23 00:09:06 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2007-10-23 00:09:06 +0800
commitfc9368ce7dacd52ef222559d20188ddcf2a85df5 (patch)
tree863edd6a7cdd02df46c3ed01b9bb84bcb4e6f20a /src/i915_hwmc.h
parentcc892d1ba1d87d08bdd04f857efc6b8f64620018 (diff)
split xvmc user lib chipset drivers
Diffstat (limited to 'src/i915_hwmc.h')
-rw-r--r--src/i915_hwmc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i915_hwmc.h b/src/i915_hwmc.h
index 21964cb4..cf74d331 100644
--- a/src/i915_hwmc.h
+++ b/src/i915_hwmc.h
@@ -27,6 +27,8 @@
#ifndef _I915_HWMC_H
#define _I915_HWMC_H
+#include "i830_hwmc.h"
+
#define STRIDE(w) (((w) + 0x3ff) & ~0x3ff)
#define SIZE_Y420(w, h) (h * STRIDE(w))
#define SIZE_UV420(w, h) ((h >> 1) * STRIDE(w >> 1))
@@ -55,6 +57,7 @@ struct hwmc_buffer
typedef struct
{
+ struct _intel_xvmc_common comm;
unsigned int ctxno; /* XvMC private context reference number */
struct hwmc_buffer sis;
struct hwmc_buffer ssb;