<div dir="ltr"><div style><span class="" style="font-family:arial,sans-serif;font-size:13px">For a moment I confused CPT with LPT at bspec where 18 was reserved... but now I found the correct one.</span></div><span class="" style="font-family:arial,sans-serif;font-size:13px"><div>
<span class="" style="font-family:arial,sans-serif;font-size:13px"><br></span></div>Reviewed</span><span style="font-family:arial,sans-serif;font-size:13px">-</span><span class="" style="font-family:arial,sans-serif;font-size:13px">by</span><span style="font-family:arial,sans-serif;font-size:13px">: Rodrigo Vivi <</span><a href="mailto:rodrigo.vivi@gmail.com" target="_blank" style="font-family:arial,sans-serif;font-size:13px"><span class="">rodrigo.vivi@gmail.com</span></a><span style="font-family:arial,sans-serif;font-size:13px">></span><br>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Mar 26, 2013 at 6:38 PM, Daniel Vetter <span dir="ltr"><<a href="mailto:daniel.vetter@ffwll.ch" target="_blank">daniel.vetter@ffwll.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Now with Egbert Eich's hpd infrastructure rework merged this is dead<br>
simple. And we need this to make output detection work on SDVO - with<br>
the cleaned-up drm polling helpers outputs which claim to have hpd<br>
support are no longer polled.<br>
<br>
Now SDVO claims to do that, but it's not actually wired up. So just do<br>
it.<br>
<br>
Signed-off-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>><br>
---<br>
drivers/gpu/drm/i915/i915_irq.c | 1 +<br>
drivers/gpu/drm/i915/i915_reg.h | 2 ++<br>
2 files changed, 3 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c<br>
index 43436e0..7cc18e2 100644<br>
--- a/drivers/gpu/drm/i915/i915_irq.c<br>
+++ b/drivers/gpu/drm/i915/i915_irq.c<br>
@@ -46,6 +46,7 @@ static const u32 hpd_ibx[] = {<br>
<br>
static const u32 hpd_cpt[] = {<br>
[HPD_CRT] = SDE_CRT_HOTPLUG_CPT,<br>
+ [HPD_SDVO_B] = SDE_SDVOB_HOTPLUG_CPT,<br>
[HPD_PORT_B] = SDE_PORTB_HOTPLUG_CPT,<br>
[HPD_PORT_C] = SDE_PORTC_HOTPLUG_CPT,<br>
[HPD_PORT_D] = SDE_PORTD_HOTPLUG_CPT<br>
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h<br>
index 9703307..5e91fbb 100644<br>
--- a/drivers/gpu/drm/i915/i915_reg.h<br>
+++ b/drivers/gpu/drm/i915/i915_reg.h<br>
@@ -3589,7 +3589,9 @@<br>
#define SDE_PORTC_HOTPLUG_CPT (1 << 22)<br>
#define SDE_PORTB_HOTPLUG_CPT (1 << 21)<br>
#define SDE_CRT_HOTPLUG_CPT (1 << 19)<br>
+#define SDE_SDVOB_HOTPLUG_CPT (1 << 18)<br>
#define SDE_HOTPLUG_MASK_CPT (SDE_CRT_HOTPLUG_CPT | \<br>
+ SDE_SDVOB_HOTPLUG_CPT | \<br>
SDE_PORTD_HOTPLUG_CPT | \<br>
SDE_PORTC_HOTPLUG_CPT | \<br>
SDE_PORTB_HOTPLUG_CPT)<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.10.4<br>
<br>
_______________________________________________<br>
Intel-gfx mailing list<br>
<a href="mailto:Intel-gfx@lists.freedesktop.org">Intel-gfx@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/intel-gfx" target="_blank">http://lists.freedesktop.org/mailman/listinfo/intel-gfx</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Rodrigo Vivi</div><div>Blog: <a href="http://blog.vivi.eng.br" target="_blank">http://blog.vivi.eng.br</a></div><div> </div>
</div>