aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.c
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-03-26 02:29:18 +0000
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-03-26 02:53:21 +0000
commitbea02e45874a5d18127b0779740c4fd5b3e7e44a (patch)
tree745687a257530605a9bfef107b37f8dfa8e7ca96 /drivers/video/via/hw.c
parentb692a63af8b63a7a7e84702a713d0072e336b326 (diff)
downloadkernel_samsung_crespo-bea02e45874a5d18127b0779740c4fd5b3e7e44a.zip
kernel_samsung_crespo-bea02e45874a5d18127b0779740c4fd5b3e7e44a.tar.gz
kernel_samsung_crespo-bea02e45874a5d18127b0779740c4fd5b3e7e44a.tar.bz2
viafb: add engine clock support
This patch adds support for enabling and configuring the engine on VIAs IGPs. This is the main clock used for everything but pixel output. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/hw.c')
-rw-r--r--drivers/video/via/hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c
index df84251..e531147 100644
--- a/drivers/video/via/hw.c
+++ b/drivers/video/via/hw.c
@@ -2289,6 +2289,7 @@ int viafb_setmode(struct VideoModeTable *vmode_tbl, int video_bpp,
get_sync(viafbinfo1));
}
+ clock.set_engine_pll_state(VIA_STATE_ON);
clock.set_primary_clock_source(VIA_CLKSRC_X1, true);
clock.set_secondary_clock_source(VIA_CLKSRC_X1, true);