[PATCH v3 4/5] drm/tinydrm: Use damage helper for dirtyfb

David Lechner david at lechnology.com
Tue Jan 15 17:16:05 UTC 2019


On 1/14/19 10:36 PM, Noralf Trønnes wrote:
> This switches to drm_atomic_helper_dirtyfb() as the framebuffer dirty
> handler. All flushing will now happen in the pipe functions.
> 
> Also enable the damage plane property for all except repaper which can
> only do full updates.
> 
> ili9225:
> This change made ili9225_init() equal to mipi_dbi_init() so use it.
> 
> v3: Include vblank header (Sam)
>      ili9225 and st7586 can't use mipi_dbi_enable_flush() (David)
> 
> v2: Remove fb check in mipi_dbi_enable_flush() it can't be NULL
>      (kbuild test robot)
> 
> Cc: David Lechner <david at lechnology.com>
> Cc: Eric Anholt <eric at anholt.net>
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
> Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> Reviewed-by: Sam Ravnborg <sam at ravnborg.org>
> ---

Tested-by: David Lechner <david at lechnology.com>
Reviewed-by: David Lechner <david at lechnology.com>

Tested st7586 on LEGO MINDSTORMS EV3 and ili9225 on BeagleBone
Green (requires "spi: omap2-mcspi: Fix DMA and FIFO event trigger
size mismatch" to work correctly because of recent bug).



More information about the dri-devel mailing list