Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-23 Thread Fabio Estevam
On Fri, Jan 23, 2015 at 2:39 PM, Philipp Zabel wrote: > Am Freitag, den 23.01.2015, 14:27 -0200 schrieb Fabio Estevam: >> Hi Philipp, >> >> On Fri, Jan 23, 2015 at 2:18 PM, Philipp Zabel >> wrote: >> > @@ -281,6 +267,9 @@ static void imx_ldb_encoder_mode_set(struct >> > drm_encoder *encoder, >>

Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-23 Thread Philipp Zabel
Am Freitag, den 23.01.2015, 14:27 -0200 schrieb Fabio Estevam: > Hi Philipp, > > On Fri, Jan 23, 2015 at 2:18 PM, Philipp Zabel wrote: > > @@ -281,6 +267,9 @@ static void imx_ldb_encoder_mode_set(struct drm_encoder > > *encoder, > > struct imx_ldb_channel *imx_ldb_ch = enc_to_imx_ldb_ch(

Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-23 Thread Fabio Estevam
Hi Philipp, On Fri, Jan 23, 2015 at 2:18 PM, Philipp Zabel wrote: > @@ -281,6 +267,9 @@ static void imx_ldb_encoder_mode_set(struct drm_encoder > *encoder, > struct imx_ldb_channel *imx_ldb_ch = enc_to_imx_ldb_ch(encoder); > struct imx_ldb *ldb = imx_ldb_ch->ldb; > int du

Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-23 Thread Philipp Zabel
Am Freitag, den 23.01.2015, 13:06 -0200 schrieb Fabio Estevam: > On Fri, Jan 23, 2015 at 12:56 AM, Liu Ying wrote: > > Hi, > > > > It looks that the below commit makes my Hannstar XGA LVDS panel stop working > > on the i.MX6DL SabreSD board. Any idea? > > Yes, with eb10d6355532def3a ("mx-drm: en

Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-23 Thread Fabio Estevam
On Fri, Jan 23, 2015 at 12:56 AM, Liu Ying wrote: > Hi, > > It looks that the below commit makes my Hannstar XGA LVDS panel stop working > on the i.MX6DL SabreSD board. Any idea? Yes, with eb10d6355532def3a ("mx-drm: encoder prepare/mode_set must use adjusted mode") applied the DI clock is 0: -

Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-23 Thread Fabio Estevam
Hi Philipp, On Fri, Jan 23, 2015 at 8:50 AM, Philipp Zabel wrote: > What are this panel timings? The adjustment should increase the vertical > back porch by up to two lines (so it is at least two lines), reducing > the front porch or vsync length by the same amount. Does this panel use > the HSY

Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-23 Thread Philipp Zabel
Hi Liu, Am Freitag, den 23.01.2015, 10:56 +0800 schrieb Liu Ying: > Hi, > > It looks that the below commit makes my Hannstar XGA LVDS panel stop working > on the i.MX6DL SabreSD board. Any idea? > > commit eb10d6355532def3a74aaabd115e2373cca70b9d > Author: Steve Longerbeam > Date: Thu Dec 18

Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-22 Thread Liu Ying
Hi, It looks that the below commit makes my Hannstar XGA LVDS panel stop working on the i.MX6DL SabreSD board. Any idea? commit eb10d6355532def3a74aaabd115e2373cca70b9d Author: Steve Longerbeam Date: Thu Dec 18 18:00:24 2014 -0800 imx-drm: encoder prepare/mode_set must use adjusted mode The

Re: [PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2015-01-07 Thread Philipp Zabel
Am Donnerstag, den 18.12.2014, 18:00 -0800 schrieb Steve Longerbeam: > This patchset implements ->mode_fixup() in the imx ipuv3-crtc driver, > using a new support function ipu_di_adjust_videomode(). This new > function needs to be subsystem independent, so it accepts a video > mode as a 'struct vid

[PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2014-12-18 Thread Steve Longerbeam
This patchset implements ->mode_fixup() in the imx ipuv3-crtc driver, using a new support function ipu_di_adjust_videomode(). This new function needs to be subsystem independent, so it accepts a video mode as a 'struct videomode'. Hence ipu-crtc ->mode_fixup() needs another support function to conv