2016-10-24 10:43 GMT+02:00 Bartosz Golaszewski bgolaszewski@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@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