[Intel-gfx] [PATCH] drm/i915: setup workarounds on reset
Mika Kuoppala
mika.kuoppala at linux.intel.com
Mon Nov 18 15:34:44 CET 2013
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 at 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
More information about the Intel-gfx
mailing list