gma hsw transcoder: Choose PDW path for scaling on DDI A
If scaling is required, always drive DDI A through the Power Down Well
(PDW) path. If not, keep the current "always on" path to allow power
saving.
Hopefully, this also enables us to use the eDP in legacy VGA text mode.
Change-Id: Ia9135d253083d363872c7cf0b3e2b5b69ba0831f
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/26664
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/hw-gfx-gma-transcoder.ads b/common/hw-gfx-gma-transcoder.ads
index 79be8f7..b026933 100644
--- a/common/hw-gfx-gma-transcoder.ads
+++ b/common/hw-gfx-gma-transcoder.ads
@@ -1,5 +1,5 @@
--
--- Copyright (C) 2015-2016 secunet Security Networks AG
+-- Copyright (C) 2015-2018 secunet Security Networks AG
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
@@ -19,7 +19,11 @@
is
procedure Setup (Pipe : Pipe_Index; Port_Cfg : Port_Config);
- procedure On (Pipe : Pipe_Index; Port_Cfg : Port_Config; Dither : Boolean);
+ procedure On
+ (Pipe : Pipe_Index;
+ Port_Cfg : Port_Config;
+ Dither : Boolean;
+ Scale : Boolean);
procedure Off (Pipe : Pipe_Index);
procedure Clk_Off (Pipe : Pipe_Index);