diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-25 22:29:18 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-25 22:53:21 -0400 |
commit | bea02e45874a5d18127b0779740c4fd5b3e7e44a (patch) | |
tree | 745687a257530605a9bfef107b37f8dfa8e7ca96 /drivers/video/via/hw.c | |
parent | b692a63af8b63a7a7e84702a713d0072e336b326 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index df84251b8f93..e5311474219f 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, | |||
2289 | get_sync(viafbinfo1)); | 2289 | get_sync(viafbinfo1)); |
2290 | } | 2290 | } |
2291 | 2291 | ||
2292 | clock.set_engine_pll_state(VIA_STATE_ON); | ||
2292 | clock.set_primary_clock_source(VIA_CLKSRC_X1, true); | 2293 | clock.set_primary_clock_source(VIA_CLKSRC_X1, true); |
2293 | clock.set_secondary_clock_source(VIA_CLKSRC_X1, true); | 2294 | clock.set_secondary_clock_source(VIA_CLKSRC_X1, true); |
2294 | 2295 | ||