<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [915] querying Randr enables LVDS output. Spurious TV detection?!"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87049">bug 87049</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>NOTOURBUG
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [915] querying Randr enables LVDS output. Spurious TV detection?!"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87049#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [915] querying Randr enables LVDS output. Spurious TV detection?!"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87049">bug 87049</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>There is still the issue that S-Video fluctuates between unknown and
disconnected which causes the undesired behaviour, i.e. it would be fixed by:
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
index 8b9d325bda3c..f15683a489fb 100644
--- a/drivers/gpu/drm/i915/intel_tv.c
+++ b/drivers/gpu/drm/i915/intel_tv.c
@@ -1337,12 +1337,12 @@ intel_tv_detect(struct drm_connector *connector, bool
force)
connector_status_disconnected :
connector_status_connected;
} else
- status = connector_status_unknown;
+ status = connector->status;
drm_modeset_drop_locks(&ctx);
drm_modeset_acquire_fini(&ctx);
} else
- return connector->status;
+ status = connector->status;
if (status != connector_status_connected)
return status;
There's just a small debate over what is the correct status value to return
when the output detection is forced but we are unable to do so. I think not
wilfully converting to unknown is beneficial.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>