W dniu 28 listopada 2009 01:30 użytkownik Rafał Miłecki <zajec5@xxxxxxxxx> napisał: > Currently we keep all registered controllers in /sys/class/backlgiht/ > without any grouping per display or per anything. We can not use > grouping per GPU (as somewhere proposed) because one GPU can control > (for example) two PANELS and TV - 3 displays needing backlight > management. The most obvious and stable solution seems to be grouping > per display. Just in case I was not clear enough. We should make ACPI, platform and GPU drivers register same panel backlight control under same name like "panel-0". Backlight class device would create /sys/class/backlight/panel-0 only. When touching files in this backlight/panel-0/, blacklight class would call functions from the most proper (ACPI > platform > GPU) driver. I thought if we could use card number for anything. I recalled that notebooks with hybrid gpu, where system should switch between weaker and more powerful GPU watching load. In case of that notebooks PANEL can be controlled by both: card0 and card1. So finally I think we should just register panel0 by default everywhere. And in future we could add some quirks in drivers (ACPI, platform, GPU) that would register panel1, panel2... for such devices. Any comments? Should I work on something like specified above? -- Rafał -- 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