drm/tinydrm: Use damage helper for dirtyfb
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@lechnology.com> Cc: Eric Anholt <eric@anholt.net> Signed-off-by:Noralf Trønnes <noralf@tronnes.org> Acked-by:
Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by:
Sam Ravnborg <sam@ravnborg.org> Tested-by:
David Lechner <david@lechnology.com> Reviewed-by:
David Lechner <david@lechnology.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190115043643.2364-5-noralf@tronnes.org
Showing
- drivers/gpu/drm/tinydrm/core/tinydrm-core.c 2 additions, 19 deletionsdrivers/gpu/drm/tinydrm/core/tinydrm-core.c
- drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c 1 addition, 90 deletionsdrivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
- drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c 0 additions, 31 deletionsdrivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
- drivers/gpu/drm/tinydrm/hx8357d.c 1 addition, 1 deletiondrivers/gpu/drm/tinydrm/hx8357d.c
- drivers/gpu/drm/tinydrm/ili9225.c 41 additions, 71 deletionsdrivers/gpu/drm/tinydrm/ili9225.c
- drivers/gpu/drm/tinydrm/ili9341.c 1 addition, 1 deletiondrivers/gpu/drm/tinydrm/ili9341.c
- drivers/gpu/drm/tinydrm/mi0283qt.c 1 addition, 1 deletiondrivers/gpu/drm/tinydrm/mi0283qt.c
- drivers/gpu/drm/tinydrm/mipi-dbi.c 52 additions, 27 deletionsdrivers/gpu/drm/tinydrm/mipi-dbi.c
- drivers/gpu/drm/tinydrm/repaper.c 23 additions, 17 deletionsdrivers/gpu/drm/tinydrm/repaper.c
- drivers/gpu/drm/tinydrm/st7586.c 39 additions, 24 deletionsdrivers/gpu/drm/tinydrm/st7586.c
- drivers/gpu/drm/tinydrm/st7735r.c 1 addition, 1 deletiondrivers/gpu/drm/tinydrm/st7735r.c
- include/drm/tinydrm/mipi-dbi.h 2 additions, 0 deletionsinclude/drm/tinydrm/mipi-dbi.h
- include/drm/tinydrm/tinydrm-helpers.h 1 addition, 10 deletionsinclude/drm/tinydrm/tinydrm-helpers.h
- include/drm/tinydrm/tinydrm.h 0 additions, 26 deletionsinclude/drm/tinydrm/tinydrm.h
Loading
Please register or sign in to comment