[Intel-gfx] Intel graphics CPU usage - SDVO detect bogosity?

Adam Jackson ajax at redhat.com
Mon Aug 16 08:13:51 PDT 2010


On Mon, 2010-08-16 at 10:27 -0400, Andy Lutomirski wrote:

> But that's really the problem, because intel_sdvo_dvi_init contains:
> 
>          connector->polled = DRM_CONNECTOR_POLL_CONNECT | DRM_CONNECTOR_POLL_DISCONNECT;
> 
> I don't know if SDVO is supposed to send hotplug interrupts because
> that section of the docs is incomplete.

SDVO can generate interrupts, although a particular SDVO output type
might not.  (The G45 docs are missing this section, but the 965 docs are
applicable.)  We don't have that turned on, of course, because that
would be entirely too sensible.

You'd probably need to uncomment the #if 0'd intel_sdvo_set_hotplug() in
intel_sdvo.c, and call that from the appropriate bit of
intel_sdvo_init().  For pre-gen4 you'd probably also need to set
SDVO_INTERRUPT_ENABLE in the appropriate SDVOx register, but in gen4+
that bit is used for bpc selection.

Having done that you'd then need to wait the inevitable six months to
find out which SDVO devices actually have functioning hotplug and which
ones are just plain lying about it.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100816/885f0b01/attachment.pgp>


More information about the dri-devel mailing list