[PATCH v2 7/7] drm/tilcdc: Load palette at the end of mode_set_nofb()

2016-11-19 Thread Jyri Sarha
On 11/18/16 23:53, Jyri Sarha wrote: >> Ok, got it. You need to set the palette loading mode back to 'palette >> > and data' before returning. Just add this at the end: >> > >> > tilcdc_write_mask(dev, LCDC_RASTER_CTRL_REG, >> > LCDC_PALETTE_LOAD_MODE(PALETTE_AND_DATA), >> >

[PATCH v2 7/7] drm/tilcdc: Load palette at the end of mode_set_nofb()

2016-11-18 Thread Jyri Sarha
On 11/18/16 18:10, Bartosz Golaszewski wrote: > 2016-11-18 16:34 GMT+01:00 Bartosz Golaszewski : >> 2016-11-16 13:41 GMT+01:00 Jyri Sarha : >>> Load palette at the end of mode_set_nofb() and only if the palette has >>> not been loaded since last runtime resume. Moving the palette loading >>> to

[PATCH v2 7/7] drm/tilcdc: Load palette at the end of mode_set_nofb()

2016-11-18 Thread Bartosz Golaszewski
2016-11-18 16:34 GMT+01:00 Bartosz Golaszewski : > 2016-11-16 13:41 GMT+01:00 Jyri Sarha : >> Load palette at the end of mode_set_nofb() and only if the palette has >> not been loaded since last runtime resume. Moving the palette loading >> to mode_set_nofb() saves us from storing and restoring of

[PATCH v2 7/7] drm/tilcdc: Load palette at the end of mode_set_nofb()

2016-11-18 Thread Bartosz Golaszewski
2016-11-16 13:41 GMT+01:00 Jyri Sarha : > Load palette at the end of mode_set_nofb() and only if the palette has > not been loaded since last runtime resume. Moving the palette loading > to mode_set_nofb() saves us from storing and restoring of LCDC dma > addresses that were just recently updated.

[PATCH v2 7/7] drm/tilcdc: Load palette at the end of mode_set_nofb()

2016-11-16 Thread Jyri Sarha
Load palette at the end of mode_set_nofb() and only if the palette has not been loaded since last runtime resume. Moving the palette loading to mode_set_nofb() saves us from storing and restoring of LCDC dma addresses that were just recently updated. Signed-off-by: Jyri Sarha ---