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

2016-11-04 Thread Meng Yi
Hi Stefan, > > How did you actually test that? I have a hard time to get anything useable > with > this code. > > The display looks completely borked (colors are way off, and at random either > too dark or too bright). > > I then also added Gamma 1.0 (and different values) to the Monitor secti

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

2016-10-28 Thread Stefan Agner
Hi Meng, On 2016-09-28 01:24, 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 > > Split the DCU regs into "regs", "palette", "gamma" and "cursor". > Create a second regmap for gamma memory space usi

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

2016-10-27 Thread Meng Yi
> Subject: Re: [PATCH v5] drm/fsl-dcu: Implement gamma_lut atomic crtc > properties > > On 2016-09-28 01:24, 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 > > >

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

2016-10-08 Thread Rob Herring
On Wed, Sep 28, 2016 at 04:24:29PM +0800, 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 > > Split the DCU regs into "regs", "palette", "gamma" and "cursor". > Create a second regmap for gamma memor

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

2016-10-08 Thread Meng Yi
Hi Stefan, > > @@ -6,6 +6,12 @@ Required properties: > > * "fsl,vf610-dcu". > > > > - reg: Address and length of the register set for dcu. > > + Must contain four address/length tuples: > > + 1. Register address space > > +

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

2016-09-30 Thread Stefan Agner
On 2016-09-28 01:24, 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 > > Split the DCU regs into "regs", "palette", "gamma" and "cursor". > Create a second regmap for gamma memory space using little

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

2016-09-28 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 Split the DCU regs into "regs", "palette", "gamma" and "cursor". Create a second regmap for gamma memory space using little endian. The registers after the first address