drm/i915/bdw: Do not write the replay bit of the ring mode register
authorKelvin Gardiner <kelvin.gardiner@intel.com>
Fri, 24 Feb 2017 19:15:24 +0000 (11:15 -0800)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 27 Feb 2017 12:02:50 +0000 (14:02 +0200)
The replay bit of the ring mode register is not a valid bit for Gen8+.
Do not write to this bit.

Signed-off-by: Kelvin Gardiner <kelvin.gardiner@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
[Joonas: Fixed commit message line to be under 72 chars]
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1487963724-4824-1-git-send-email-kelvin.gardiner@intel.com
drivers/gpu/drm/i915/intel_lrc.c

index 1c6c71673bfa28337cce1e0ac318c332482832ce..f9a8545474bc99702ee87e33bbdabde50571c9ca 100644 (file)
@@ -1178,7 +1178,6 @@ static int gen8_init_common_ring(struct intel_engine_cs *engine)
 
        I915_WRITE(RING_HWSTAM(engine->mmio_base), 0xffffffff);
        I915_WRITE(RING_MODE_GEN7(engine),
-                  _MASKED_BIT_DISABLE(GFX_REPLAY_MODE) |
                   _MASKED_BIT_ENABLE(GFX_RUN_LIST_ENABLE));
        I915_WRITE(RING_HWS_PGA(engine->mmio_base),
                   engine->status_page.ggtt_offset);