Re: [RFC] drm: emit change events when mode config changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 Apr 2011 09:23:38 -0500
Chris Bandy <cbandy@xxxxxxxxxx> wrote:

> On 04/14/2011 12:42 PM, Jesse Barnes wrote:
> >  /**
> > + * drm_sysfs_change_event - generate a DRM uevent indicating a display config change
> > + * @dev: DRM device
> > + *
> > + * Send a uevent for the DRM device specified by @dev.  Set CHANGE=1 to
> > + * indicate that a userspace initiated display configuration change occurred.
> > + */
> > +void drm_sysfs_change_event(struct drm_device *dev)
> > +{
> > +	char *event_string = "CHANGE=1";
> > +	char *envp[] = { event_string, NULL };
> > +
> > +	DRM_DEBUG("generating hotplug event\n");
> 
> Should be "change event" here?

Yeah, I noticed after I sent it out, I think I'll just drop the
DRM_DEBUG altogether though.

-- 
Jesse Barnes, Intel Open Source Technology Center

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux