|
@@ -826,6 +826,12 @@ static void gen8_ppgtt_enable(struct drm_device *dev)
|
|
struct intel_engine_cs *ring;
|
|
struct intel_engine_cs *ring;
|
|
int j;
|
|
int j;
|
|
|
|
|
|
|
|
+ /* In the case of execlists, PPGTT is enabled by the context descriptor
|
|
|
|
+ * and the PDPs are contained within the context itself. We don't
|
|
|
|
+ * need to do anything here. */
|
|
|
|
+ if (i915.enable_execlists)
|
|
|
|
+ return;
|
|
|
|
+
|
|
for_each_ring(ring, dev_priv, j) {
|
|
for_each_ring(ring, dev_priv, j) {
|
|
I915_WRITE(RING_MODE_GEN7(ring),
|
|
I915_WRITE(RING_MODE_GEN7(ring),
|
|
_MASKED_BIT_ENABLE(GFX_PPGTT_ENABLE));
|
|
_MASKED_BIT_ENABLE(GFX_PPGTT_ENABLE));
|