[Intel-gfx] [PATCH, RFC] Output hotplug support

Adam Jackson ajax at redhat.com
Mon Oct 5 20:05:34 CEST 2009


I'm shipping the following patch in Fedora 12 to enable output hotplug:

http://cvs.fedoraproject.org/viewvc/F-12/xorg-x11-drv-intel/uevent.patch?revision=1.1

And it pretty much works!  We get hotplug events from the DRM, rescan
RANDR when that happens, events go out, userspace adapts.  It's all
quite cool.  It's not really mergeable yet for all the reasons in the
comments in the patch itself, but it's a start.

However, in order to actually ship this, I had to also ship this for the
kernel:

http://cvs.fedoraproject.org/viewvc/F-12/kernel/drm-intel-no-tv-hotplug.patch?revision=1.1

Otherwise, I'd get stuck in a loop where (afaict) output scan would
trigger a TV interrupt, which would trigger a scan, etc.  TV load
detection not being the fastest thing in the world, X would process
requests ve-ry slow-ly.

If anyone actually understands the TV output code and wanted to take a
look at this, I'd appreciate it.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091005/ca6ecf95/attachment.sig>


More information about the Intel-gfx mailing list