Re: [PATCH v2] drm: tilcdc: implement palette loading for rev1
From: Bartosz Golaszewski
Date: Mon Oct 24 2016 - 05:14:26 EST
2016-10-24 10:43 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
>
Superseded by v3.
Sorry for the noise, but I only noticed that a resource managed
version of dma_alloc_coherent() exists after having sent out v2. This
simplifies the code a bit.
Thanks,
Bartosz