OSDN Git Service

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)
commitb692a63af8b63a7a7e84702a713d0072e336b326
treeca4edaf57a416a33c8129f682880b10850e32d32
parent2c536f84c19c73ab1e3411bf1596ff85c4a23783
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