Support cursor framebuffers with imported GEM objects. Also handle
corner cases where imported buffers are not readily available. The
common case of native cursor buffers in XRGB8888 format is not
affected by these changes.

This series is a follow-up to commit 3dd0be7a301b ("drm/ast: Handle
framebuffer from dma-buf"), which implemented such support for primary
planes. While unlikely, imported cursor buffers is possible and can
be supported by the ast driver easily.

Tested on AST2600 hardware.

Thomas Zimmermann (3):
  drm/ast: Move cursor format conversion into helper function
  drm/ast: Support cursor buffers objects in I/O memory
  drm/ast: Wrap cursor framebuffer access in
    drm_gem_fb_begin/end_cpu_access()

 drivers/gpu/drm/ast/ast_cursor.c | 83 ++++++++++++++++++++++++--------
 1 file changed, 62 insertions(+), 21 deletions(-)


base-commit: 0a21e96e0b6840d2a4e0b45a957679eeddeb4362
-- 
2.51.1

Reply via email to