* [PATCH RESEND] drm/kms-helper: disable hpd_irq handling when poll=0
@ 2015-07-07 7:09 Daniel Vetter
2015-07-08 0:04 ` shuang.he
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Vetter @ 2015-07-07 7:09 UTC (permalink / raw)
To: DRI Development
Cc: Intel Graphics Development, Daniel Vetter, George Amanakis,
Dave Airlie, stable
When inlining the actual hpd output probing in
commit 69787f7da6b2adc4054357a661aaa1701a9ca76f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Tue Oct 23 18:23:34 2012 +0000
drm: run the hpd irq event code directly
the check for the drm_kms_hlper.poll module option was lost. This
regressed systems where this option is used to work-around output
probing issues (like irq storms). Restore the old behaviour.
v2: Rebased over more than 2 years of history :(
Reported-by: George Amanakis <g_amanakis@yahoo.com>
Cc: George Amanakis <g_amanakis@yahoo.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
drivers/gpu/drm/drm_probe_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_probe_helper.c b/drivers/gpu/drm/drm_probe_helper.c
index 04203c0d2ecb..7356f3e75e4f 100644
--- a/drivers/gpu/drm/drm_probe_helper.c
+++ b/drivers/gpu/drm/drm_probe_helper.c
@@ -491,7 +491,7 @@ bool drm_helper_hpd_irq_event(struct drm_device *dev)
enum drm_connector_status old_status;
bool changed = false;
- if (!dev->mode_config.poll_enabled)
+ if (!dev->mode_config.poll_enabled || !drm_kms_helper_poll)
return false;
mutex_lock(&dev->mode_config.mutex);
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH RESEND] drm/kms-helper: disable hpd_irq handling when poll=0
2015-07-07 7:09 [PATCH RESEND] drm/kms-helper: disable hpd_irq handling when poll=0 Daniel Vetter
@ 2015-07-08 0:04 ` shuang.he
0 siblings, 0 replies; 2+ messages in thread
From: shuang.he @ 2015-07-08 0:04 UTC (permalink / raw)
To: shuang.he, lei.a.liu, intel-gfx, daniel.vetter
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang.he@intel.com)
Task id: 6736
-------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
ILK 302/302 302/302
SNB 312/316 312/316
IVB 343/343 343/343
BYT -1 287/287 286/287
HSW 380/380 380/380
-------------------------------------Detailed-------------------------------------
Platform Test drm-intel-nightly Series Applied
*BYT igt@gem_partial_pwrite_pread@reads-display PASS(1) FAIL(1)
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-08 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 7:09 [PATCH RESEND] drm/kms-helper: disable hpd_irq handling when poll=0 Daniel Vetter
2015-07-08 0:04 ` shuang.he
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox