Skip to content

Commit fb1a211

Browse files
Arun Siluverydanvet
authored andcommitted
Revert "drm/i915: Initialize HWS page address after GPU reset"
This reverts commit 2e5356d. 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 e84fe80 Author: Nick Hoath <nicholas.hoath@intel.com> 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. Cc: Nick Hoath <nicholas.hoath@intel.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1447951664-9347-1-git-send-email-arun.siluvery@linux.intel.com Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent 54632ab commit fb1a211

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎drivers/gpu/drm/i915/intel_lrc.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,12 +1476,6 @@ static int gen8_init_common_ring(struct intel_engine_cs *ring)
14761476
I915_WRITE_IMR(ring, ~(ring->irq_enable_mask | ring->irq_keep_mask));
14771477
I915_WRITE(RING_HWSTAM(ring->mmio_base), 0xffffffff);
14781478

1479-
if (ring->status_page.obj) {
1480-
I915_WRITE(RING_HWS_PGA(ring->mmio_base),
1481-
(u32)ring->status_page.gfx_addr);
1482-
POSTING_READ(RING_HWS_PGA(ring->mmio_base));
1483-
}
1484-
14851479
I915_WRITE(RING_MODE_GEN7(ring),
14861480
_MASKED_BIT_DISABLE(GFX_REPLAY_MODE) |
14871481
_MASKED_BIT_ENABLE(GFX_RUN_LIST_ENABLE));

0 commit comments

Comments
 (0)