drm/i915: Only pwrite through the GTT if there is space in the aperture
[deliverable/linux.git] / drivers / gpu / drm / i915 / intel_pm.c
index c0407aa5baac14d5bfa0115ed819287f77fca6ec..c0721ffb56a2ab131b736b250c8ccbd7b174ef1f 100644 (file)
@@ -2138,7 +2138,7 @@ intel_alloc_context_page(struct drm_device *dev)
                return NULL;
        }
 
-       ret = i915_gem_object_pin(ctx, 4096, true);
+       ret = i915_gem_object_pin(ctx, 4096, true, false);
        if (ret) {
                DRM_ERROR("failed to pin power context: %d\n", ret);
                goto err_unref;
This page took 0.02965 seconds and 5 git commands to generate.