summaryrefslogtreecommitdiff
path: root/shared-core/i915_drv.h
diff options
context:
space:
mode:
authorHong Liu <hong.liu@intel.com>2008-05-12 14:38:49 +0800
committerJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-05-12 12:04:02 -0700
commitaf60d87869303d7f17352c82d2fb1cebb9a8f7ff (patch)
tree0ea18768d4020f5256ab12a091bde428c2e912f2 /shared-core/i915_drv.h
parent3f66a0005c1273b0fc935b9bd62a6fabaf99c2be (diff)
fix G33 hardware status page in modeset
We need to alloc a hw status page bo for G33 if modeset is enabled since the 2D driver can't alloc gfx memory when working in drm modeset.
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r--shared-core/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 2e7b6bd2..10e08c55 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -124,6 +124,7 @@ struct drm_i915_private {
uint32_t counter;
unsigned int status_gfx_addr;
drm_local_map_t hws_map;
+ struct drm_buffer_object *hws_bo;
unsigned int cpp;
int use_mi_batchbuffer_start;