<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [intel gm965] TV-out not working"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73362">73362</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[intel gm965] TV-out not working
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>matthew.khouzam@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg CVS
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello, 

I have isolated a bug, I think with the intel driver no longer supporting
tv-out (svideo/component/composite) on newer kernels.

The problem appears to be in drivers/gpu/drm/i915/intel_tv.c, in "void
intel_tv_init(struct drm_device *dev)" (line 1550 approx)

the function tv_is_present_in_vbt return 0 so it aborts at this line. 
if (!tv_is_present_in_vbt(dev)) {
                 DRM_DEBUG_KMS("Integrated TV is not present.\n");
                 return;
        }

Upon inspecting the function static int tv_is_present_in_vbt(struct drm_device
*dev), the device enumeration only cycles through the lvds and the vga out. 

As a stop-gap for my htpc, I just changed the return value of that function to
1 and now everything works well for me, but this is a duct tape fix and not
kernel worthy.

I hope this helps, at this point my better half is using the htpc and it would
be very dangerous to my wellbeing if I reboot with the old kernel and
drm.debug=0x6.

Thanks,

Matthew</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>