aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 57204e298975..95391191316a 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -187,6 +187,7 @@ typedef struct drm_i915_private {
187 unsigned int status_gfx_addr; 187 unsigned int status_gfx_addr;
188 drm_local_map_t hws_map; 188 drm_local_map_t hws_map;
189 struct drm_gem_object *hws_obj; 189 struct drm_gem_object *hws_obj;
190 struct drm_gem_object *pwrctx;
190 191
191 struct resource mch_res; 192 struct resource mch_res;
192 193
@@ -280,6 +281,7 @@ typedef struct drm_i915_private {
280 u32 saveDSPBCNTR; 281 u32 saveDSPBCNTR;
281 u32 saveDSPARB; 282 u32 saveDSPARB;
282 u32 saveRENDERSTANDBY; 283 u32 saveRENDERSTANDBY;
284 u32 savePWRCTXA;
283 u32 saveHWS; 285 u32 saveHWS;
284 u32 savePIPEACONF; 286 u32 savePIPEACONF;
285 u32 savePIPEBCONF; 287 u32 savePIPEBCONF;
@@ -1019,6 +1021,7 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
1019 (IS_I9XX(dev) || IS_GM45(dev)) && \ 1021 (IS_I9XX(dev) || IS_GM45(dev)) && \
1020 !IS_IGD(dev) && \ 1022 !IS_IGD(dev) && \
1021 !IS_IGDNG(dev)) 1023 !IS_IGDNG(dev))
1024#define I915_HAS_RC6(dev) (IS_I965GM(dev) || IS_GM45(dev) || IS_IGDNG_M(dev))
1022 1025
1023#define PRIMARY_RINGBUFFER_SIZE (128*1024) 1026#define PRIMARY_RINGBUFFER_SIZE (128*1024)
1024 1027