[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-26 Thread Stefan Agner
On 2016-09-25 23:04, Meng Yi wrote: >> On Wed, Sep 21, 2016 at 11:10:11AM -0700, Stefan Agner wrote: >> > On 2016-09-13 01:49, Meng Yi wrote: >> > >> > diff --git a/drivers/gpu/drm/fsl-dcu/Kconfig >> > >> > b/drivers/gpu/drm/fsl-dcu/Kconfig index 14a72c4..f9c76b1 100644 >> > >> > --- a/drivers/gpu/

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-26 Thread Ville Syrjälä
On Mon, Sep 26, 2016 at 09:59:25AM +0200, Daniel Vetter wrote: > On Mon, Sep 26, 2016 at 06:04:09AM +, Meng Yi wrote: > > > > > > > On Wed, Sep 21, 2016 at 11:10:11AM -0700, Stefan Agner wrote: > > > > On 2016-09-13 01:49, Meng Yi wrote: > > > > >> > diff --git a/drivers/gpu/drm/fsl-dcu/Kconf

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-26 Thread Daniel Vetter
On Mon, Sep 26, 2016 at 06:04:09AM +, Meng Yi wrote: > > > > On Wed, Sep 21, 2016 at 11:10:11AM -0700, Stefan Agner wrote: > > > On 2016-09-13 01:49, Meng Yi wrote: > > > >> > diff --git a/drivers/gpu/drm/fsl-dcu/Kconfig > > > >> > b/drivers/gpu/drm/fsl-dcu/Kconfig index 14a72c4..f9c76b1 1006

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-26 Thread Meng Yi
> On Wed, Sep 21, 2016 at 11:10:11AM -0700, Stefan Agner wrote: > > On 2016-09-13 01:49, Meng Yi wrote: > > >> > diff --git a/drivers/gpu/drm/fsl-dcu/Kconfig > > >> > b/drivers/gpu/drm/fsl-dcu/Kconfig index 14a72c4..f9c76b1 100644 > > >> > --- a/drivers/gpu/drm/fsl-dcu/Kconfig > > >> > +++ b/driv

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-22 Thread Daniel Vetter
On Wed, Sep 21, 2016 at 11:10:11AM -0700, Stefan Agner wrote: > On 2016-09-13 01:49, Meng Yi wrote: > >> > diff --git a/drivers/gpu/drm/fsl-dcu/Kconfig > >> > b/drivers/gpu/drm/fsl-dcu/Kconfig index 14a72c4..f9c76b1 100644 > >> > --- a/drivers/gpu/drm/fsl-dcu/Kconfig > >> > +++ b/drivers/gpu/drm/fs

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-21 Thread Stefan Agner
On 2016-09-13 01:49, Meng Yi wrote: >> > diff --git a/drivers/gpu/drm/fsl-dcu/Kconfig >> > b/drivers/gpu/drm/fsl-dcu/Kconfig index 14a72c4..f9c76b1 100644 >> > --- a/drivers/gpu/drm/fsl-dcu/Kconfig >> > +++ b/drivers/gpu/drm/fsl-dcu/Kconfig >> > @@ -11,3 +11,9 @@ config DRM_FSL_DCU >> >help >>

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-13 Thread Meng Yi
> > diff --git a/drivers/gpu/drm/fsl-dcu/Kconfig > > b/drivers/gpu/drm/fsl-dcu/Kconfig index 14a72c4..f9c76b1 100644 > > --- a/drivers/gpu/drm/fsl-dcu/Kconfig > > +++ b/drivers/gpu/drm/fsl-dcu/Kconfig > > @@ -11,3 +11,9 @@ config DRM_FSL_DCU > > help > > Choose this option if you have an

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-13 Thread Stefan Agner
Hi Meng, One more thing which I have my concern: On 2016-09-07 02:22, Meng Yi wrote: > Gamma correction is optional and can be used to adjust the color > output values to match the gamut of a particular TFT LCD panel > Errata: > Gamma_R, Gamma_G and Gamma_B registers are little-endian registers >

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-08 Thread Meng Yi
> > > diff --git a/Documentation/devicetree/bindings/display/fsl,dcu.txt > > b/Documentation/devicetree/bindings/display/fsl,dcu.txt > > index 63ec2a6..1b1321a 100644 > > --- a/Documentation/devicetree/bindings/display/fsl,dcu.txt > > +++ b/Documentation/devicetree/bindings/display/fsl,dcu.txt > >

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-07 Thread Meng Yi
Gamma correction is optional and can be used to adjust the color output values to match the gamut of a particular TFT LCD panel Errata: Gamma_R, Gamma_G and Gamma_B registers are little-endian registers while the rest of the address-space in 2D-ACE is big-endian. Workaround: Split the DCU regs into

[PATCH v3] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-07 Thread Stefan Agner
On 2016-09-07 02:22, Meng Yi wrote: > Gamma correction is optional and can be used to adjust the color > output values to match the gamut of a particular TFT LCD panel > Errata: > Gamma_R, Gamma_G and Gamma_B registers are little-endian registers > while the rest of the address-space in 2D-ACE is b