[PATCH 3/4] drm/omapdrm: Work-a-round for errata i734 (LCD1 Gamma) in DSS dispc

2016-05-23 Thread Tomi Valkeinen
On 23/05/16 12:50, Jyri Sarha wrote: > On 05/20/16 16:21, Tomi Valkeinen wrote: + +static int dispc_errata_i734_wa_init(void) +{ + size_t buff_size = i734.ovli.width * i734.ovli.height * >> "buf_size" would match the other names =). >> >> Usually I try to do only simple initia

[PATCH 3/4] drm/omapdrm: Work-a-round for errata i734 (LCD1 Gamma) in DSS dispc

2016-05-23 Thread Jyri Sarha
On 05/20/16 16:21, Tomi Valkeinen wrote: >> > + >> > +static int dispc_errata_i734_wa_init(void) >> > +{ >> > + size_t buff_size = i734.ovli.width * i734.ovli.height * > "buf_size" would match the other names =). > > Usually I try to do only simple initializations when declaring the > locals. Thi

[PATCH 3/4] drm/omapdrm: Work-a-round for errata i734 (LCD1 Gamma) in DSS dispc

2016-05-20 Thread Tomi Valkeinen
Hi, On 20/05/16 09:35, Jyri Sarha wrote: > Work-a-round for errata i734 in DSS dispc > - LCD1 Gamma Correction Is Not Working When GFX Pipe Is Disabled > > For gamma tables to work on LCD1 the GFX plane has to be used at least > once after DSS HW has come out of reset. The work-a-round sets up a

[PATCH 3/4] drm/omapdrm: Work-a-round for errata i734 (LCD1 Gamma) in DSS dispc

2016-05-20 Thread Jyri Sarha
Work-a-round for errata i734 in DSS dispc - LCD1 Gamma Correction Is Not Working When GFX Pipe Is Disabled For gamma tables to work on LCD1 the GFX plane has to be used at least once after DSS HW has come out of reset. The work-a-round sets up a minimal LCD setup with GFX plane and waits for one