diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2013-07-13 19:53:55 -0700 |
---|---|---|
committer | Ben Widawsky <ben@bwidawsk.net> | 2013-07-14 12:00:45 -0700 |
commit | 8c5006f7bc8538913f65710bf835b8aed18d0905 (patch) | |
tree | 444678c88bbfc8eeb26c439f445eee39b094977e | |
parent | fb2dc6c8c6aa1d4f9a3880c9761352ccd9ea7d9f (diff) |
drm/i915: Make ILK context objects more like others
This is required so we can use the existing do_switch() which tries to
map objects as non mappable and 64k aligned can work. Again, this is
only required in order to ease the transition over to the existing
context code.
This commit is left as distinct from the previous one because it also
effects the power context.
v2: Updated commit message.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 10f8f7cd5ebc..fd91b74adc39 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -2858,7 +2858,7 @@ intel_alloc_context_page(struct drm_device *dev) return NULL; } - ret = i915_gem_object_pin(ctx, 4096, true, false); + ret = i915_gem_object_pin(ctx, 64 << 10, false, false); if (ret) { DRM_ERROR("failed to pin power context: %d\n", ret); goto err_unref; |