All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: setup workarounds on reset
@ 2013-11-18 14:34 Mika Kuoppala
  2013-11-18 16:24 ` Daniel Vetter
  0 siblings, 1 reply; 5+ messages in thread
From: Mika Kuoppala @ 2013-11-18 14:34 UTC (permalink / raw)
  To: intel-gfx

Large parts of hw initialization is behind per gen
clock gating functions. Including workarounds.

Call intel_modeset_init_hw after reset so that we
set these up correctly.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index c2e00ed..2908f7f 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -798,6 +798,8 @@ int i915_reset(struct drm_device *dev)
 		drm_irq_uninstall(dev);
 		drm_irq_install(dev);
 		intel_hpd_init(dev);
+
+		intel_modeset_init_hw(dev);
 	} else {
 		mutex_unlock(&dev->struct_mutex);
 	}
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-22 13:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-18 14:34 [PATCH] drm/i915: setup workarounds on reset Mika Kuoppala
2013-11-18 16:24 ` Daniel Vetter
2013-11-20 11:47   ` Mika Kuoppala
2013-11-20 12:49     ` Daniel Vetter
2013-11-22 13:27     ` Paulo Zanoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.