[PATCH v2] drm: tilcdc: implement palette loading for rev1
Bartosz Golaszewski
bgolaszewski at baylibre.com
Mon Oct 24 09:14:17 UTC 2016
2016-10-24 10:43 GMT+02:00 Bartosz Golaszewski <bgolaszewski at baylibre.com>:
> 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 at baylibre.com>
> ---
> 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
More information about the dri-devel
mailing list