]> git.baikalelectronics.ru Git - kernel.git/commit
viafb: add VIA slapping capability
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 24 Mar 2011 14:25:51 +0000 (14:25 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 24 Mar 2011 21:17:52 +0000 (21:17 +0000)
commit5cc2de2a964e65e138ba739654477777be8f09ad
treeca4edaf57a416a33c8129f682880b10850e32d32
parentc7d9ba4a05c9b85e481fee49af95e35e69fa2576
viafb: add VIA slapping capability

This patch introduces dummy functions to execute when we don't know
what we should do (due to missing documentation). They do nothing
but print a nice message in the log explaining the situation.
To trigger this message initial power management support is
activated which might save a bit energy by disabling PLL and clock
if no device is configured to use them.

Note: The message is only shown for the oldest IGPs CLE266 and K400
      as for the other platforms there are reasonable assumptions
      how it does (hopefully) work.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/via/hw.c
drivers/video/via/via_clock.c