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

Adam Jackson ajax at redhat.com
Mon Oct 5 21:46:46 CEST 2009


On Mon, 2009-10-05 at 11:21 -0700, Jesse Barnes wrote:
> On Mon, 05 Oct 2009 14:05:34 -0400 Adam Jackson <ajax at redhat.com> wrote:
> 
> > 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.
> 
> There are events for other stuff these days, including hangs and
> errors.  Just checking the environment for HOTPLUG=1 should be
> sufficient.

That, and it needs to filter by drm device node.  Otherwise (in some
glorious future when other kms drivers generate plug events) you rescan
intel for radeon's changes.

- 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/f1d31e0a/attachment.sig>


More information about the Intel-gfx mailing list