Re: [Linux-gfx] Re: [PATCH 2/4] ACPI: video: prevent ACPI video actions upondisplay switch notifications

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

 



On Wed, 12 Mar 2008, Jesse Barnes wrote:
> Yeah, you're right that userspace drivers should probably set the DOS value 
> when they startup, though '3' may be a better value since userspace probably 
> doesn't care about the _DGS stuff.

Just punt it to userspace.  Really.  Never do any ACPI video display
switching actions automatically by default (unless you use a *whitelist*).
Don't set _DOS by default.  Don't touch anything related to video-display
switching by default, AT ALL.  Just propagate any video switching events we
get down to userspace, and that's it for default behaviour.

Add a sysfs control to let userspace ask ACPI video to handle the display
switching (as it used to).  Let userspace configure how ACPI video should
behave when it gets ACPI display switch notifications.

It is one of these areas where no matter what you do, if you touch anything
you will break a box somewhere.  So you just punt it to userspace, because
in userspace it is possible to have a massive DMI model database with the
proper parameters for a given userspace X.org capabilities, and a given box
AML quirks.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux