Messages in this thread | | | Date | Thu, 25 Feb 2016 17:48:27 +0100 | From | Thierry Reding <> | Subject | Re: [PATCH v2 1/3] drm/fsl-dcu: use mode flags for hsync/vsync polarity |
| |
On Mon, Feb 08, 2016 at 01:57:41PM -0800, Stefan Agner wrote: > The current default configuration is as follows: > - Invert VSYNC signal (active LOW) > - Invert HSYNC signal (active LOW) > > The mode flags allow to specify the required polarity per > mode. Furthermore, none of the current driver settings is > actually a standard polarity. > > This patch applies the current driver default polarities as > explicit flags to the display which has been introduced with > the driver (NEC WQVGA "nec,nl4827hc19-05b"). The driver now > also parses the flags field and applies the configuration > accordingly, by using the following values as standard > polarities: (e.g. when no flags are specified): > - VSYNC signal not inverted (active HIGH) > - HSYNC signal not inverted (active HIGH) > > Signed-off-by: Stefan Agner <stefan@agner.ch> > --- > drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 11 ++++++++--- > drivers/gpu/drm/panel/panel-simple.c | 1 + > 2 files changed, 9 insertions(+), 3 deletions(-)
Acked-by: Thierry Reding <treding@nvidia.com> [unhandled content-type:application/pgp-signature] | |