Revert "drm/i915: Initialize HWS page address after GPU reset"
Subsystems (2)
PATCH 1/1 Revert "drm/i915: Initialize HWS page address after GPU reset"
This reverts commit 2e5356da370e36ba7aab39d2800c7a2412630ae7.
It is now redundant as it is already covered in below commit which introduced the changes to reuse initialization of resources in resume/reset path.
commit e84fe80337dc85cca07d0417ea97edbec4789d8b
Author: Nick Hoath <[email protected]> Date: Fri Sep 11 12:53:46 2015 +0100
drm/i915: Split alloc from init for lrc
lrc_setup_hardware_status_page() in the same function gen8_init_common_ring() takes care of this.
--- drivers/gpu/drm/i915/intel_lrc.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/gpu/drm/i915/intel_lrc.c +0 -6
@@ -1479,12 +1479,6 @@ static int gen8_init_common_ring(struct intel_engine_cs *ring)I915_WRITE_IMR (ring, ~(ring->irq_enable_mask | ring->irq_keep_mask));I915_WRITE (RING_HWSTAM (ring->mmio_base),0xffffffff ); -if (ring->status_page.obj) { -I915_WRITE (RING_HWS_PGA (ring->mmio_base), - (u32 )ring->status_page.gfx_addr); -POSTING_READ (RING_HWS_PGA (ring->mmio_base)); - } -I915_WRITE (RING_MODE_GEN7 (ring),_MASKED_BIT_DISABLE (GFX_REPLAY_MODE ) |_MASKED_BIT_ENABLE (GFX_RUN_LIST_ENABLE ));
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
AppliedQuoted 9 lines · Arun Siluvery
This reverts commit
2e5356da370e36ba7aab39d2800c7a2412630ae7.It is now redundant as it is already covered in below commit which introduced the changes to reuse initialization of resources in resume/reset path.
commit
e84fe80337dc85cca07d0417ea97edbec4789d8bAuthor: Nick Hoath <[email protected]> Date: Fri Sep 11 12:53:46 2015 +0100
Quoted 8 lines
drm/i915: Split alloc from init for lrc
lrc_setup_hardware_status_page()in the same functiongen8_init_common_ring()takes care of this.Cc Nick Hoath <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Arun Siluvery <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Quoted 24 lines
--- drivers/gpu/drm/i915/intel_lrc.c | 6 ------ 1 file changed, 6 deletions(-)drivers/gpu/drm/i915/intel_lrc.c +0
-6@@ -1479,12 +1479,6 @@ static int gen8_init_common_ring(struct intel_engine_cs *ring)I915_WRITE_IMR (ring, ~(ring->irq_enable_mask | ring->irq_keep_mask));I915_WRITE (RING_HWSTAM (ring->mmio_base),0xffffffff ); -if (ring->status_page.obj) { -I915_WRITE (RING_HWS_PGA (ring->mmio_base), - (u32 )ring->status_page.gfx_addr); -POSTING_READ (RING_HWS_PGA (ring->mmio_base)); - } -I915_WRITE (RING_MODE_GEN7 (ring),_MASKED_BIT_DISABLE (GFX_REPLAY_MODE ) |_MASKED_BIT_ENABLE (GFX_RUN_LIST_ENABLE ));Signature · 1 line
1.9.1
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx