summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-02 11:49:32 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-03 11:18:25 +0200
commit8781342df72fcc37f2aebd43d3a293b0a343806d (patch)
treee6db153657a547accc7b3a4eb5d7e0e2acd1af63 /drivers/gpu/drm/i915/i915_gem.c
parentd1c1edbc741924b8983ebad1329f4b761664e48b (diff)
downloadop-kernel-dev-8781342df72fcc37f2aebd43d3a293b0a343806d.zip
op-kernel-dev-8781342df72fcc37f2aebd43d3a293b0a343806d.tar.gz
drm/i915: create dev_priv->dri1 dragon dungeon^W^W sub-struct
... and shove allow_batchbuffer in there. More dragons will follow suit. There's the curious case that we allow this for KMS ... Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 293f573..5e34775 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3568,7 +3568,7 @@ int i915_gem_init(struct drm_device *dev)
}
/* Allow hardware batchbuffers unless told otherwise. */
- dev_priv->allow_batchbuffer = 1;
+ dev_priv->dri1.allow_batchbuffer = 1;
return 0;
}
OpenPOWER on IntegriCloud