Re: [PATCH v3] drm: tilcdc: implement palette loading for rev1

From: Bartosz Golaszewski
Date: Mon Oct 24 2016 - 06:59:45 EST


2016-10-24 11:13 GMT+02:00 Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>:
> Revision 1 of the IP doesn't work if we don't load the palette (even
> if it's not used, which is the case for the RGB565 format).
>
> Add a function called from tilcdc_crtc_enable() which performs all
> required actions if we're dealing with a rev1 chip.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> ---
> v1 -> v2:
> - only allocate dma memory for revision 1
>
> v2 -> v3:
> - use devres managed API for dma memory allocation
>

Superseded by v4.

Bartosz