drm/i915: Avoid GPU hang when coming out of P3 or P4
Subsystems (2)
PATCH 1/1 drm/i915: Avoid GPU hang when coming out of P3 or P4
This patch fixed a timing issue that causes a GPU hang when a the system comes out of power saving.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89600
--- drivers/gpu/drm/i915/i915_drv.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/i915_drv.c +5 -5
@@ -712,6 +712,11 @@ static int i915_drm_resume(struct drm_device *dev)intel_init_pch_refclk (dev);drm_mode_config_reset (dev); +/* We need working interrupts for modeset enabling ... */ +intel_runtime_pm_enable_interrupts (dev_priv); + +intel_modeset_init_hw (dev); +mutex_lock (&dev->struct_mutex);if (i915_gem_init_hw (dev)) {DRM_ERROR ("failed to re-initialize GPU, declaring wedged!\n" );
@@ -719,11 +724,6 @@ static int i915_drm_resume(struct drm_device *dev) }mutex_unlock (&dev->struct_mutex); -/* We need working interrupts for modeset enabling ... */ -intel_runtime_pm_enable_interrupts (dev_priv); - -intel_modeset_init_hw (dev); -spin_lock_irq (&dev_priv->irq_lock);if (dev_priv->display.hpd_irq_setup) dev_priv->display.hpd_irq_setup (dev);
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/1 drm/i915: Avoid GPU hang when coming out of S3 or S4
This patch fixed a timing issue that causes a GPU hang when a the system comes out of power saving.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89600
--- drivers/gpu/drm/i915/i915_drv.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/i915_drv.c +5 -5
@@ -712,6 +712,11 @@ static int i915_drm_resume(struct drm_device *dev)intel_init_pch_refclk (dev);drm_mode_config_reset (dev); +/* We need working interrupts for modeset enabling ... */ +intel_runtime_pm_enable_interrupts (dev_priv); + +intel_modeset_init_hw (dev); +mutex_lock (&dev->struct_mutex);if (i915_gem_init_hw (dev)) {DRM_ERROR ("failed to re-initialize GPU, declaring wedged!\n" );
@@ -719,11 +724,6 @@ static int i915_drm_resume(struct drm_device *dev) }mutex_unlock (&dev->struct_mutex); -/* We need working interrupts for modeset enabling ... */ -intel_runtime_pm_enable_interrupts (dev_priv); - -intel_modeset_init_hw (dev); -spin_lock_irq (&dev_priv->irq_lock);if (dev_priv->display.hpd_irq_setup) dev_priv->display.hpd_irq_setup (dev);
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH] drm/i915: Avoid GPU hang when coming out of S3 or S4
Task id: 6271 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV 276/276 276/276
ILK -1 302/302 301/302
SNB 318/318 318/318 IVB 341/341 341/341 BYT 287/287 287/287 BDW 318/318 318/318
-------------------------------------Detailed-------------------------------------
Platform Test drm-intel-nightly Series Applied
*ILK igt@gem_fenced_exec_thrash@no-spare-fences-busy PASS(4) DMESG_WARN(1)PASS(1)
(dmesg patch applied)drm:i915_hangcheck_elapsed[i915]]*ERROR*Hangcheck_timer_elapsed...bsd_ring_idle@Hangcheck timer elapsed... bsd ring idle
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Task id: 6271 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV 276/276 276/276
ILK -1 302/302 301/302
SNB 318/318 318/318 IVB 341/341 341/341 BYT 287/287 287/287 BDW 318/318 318/318
-------------------------------------Detailed-------------------------------------
Platform Test drm-intel-nightly Series Applied
*ILK igt@gem_fenced_exec_thrash@no-spare-fences-busy PASS(4) DMESG_WARN(1)PASS(1)
(dmesg patch applied)drm:i915_hangcheck_elapsed[i915]]*ERROR*Hangcheck_timer_elapsed...bsd_ring_idle@Hangcheck timer elapsed... bsd ring idle
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx