[PATCH v4 0/9] drm/exynos: add async G2D execution to libdrm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

this series exposes async execution of G2D command buffers to userspace. Also includes is a small performance analysis test, which can also be used to stress test the engine. The async operation is of course also tested.

Please review and let me know what I can improve.

v3: Rewrote handling of vendor-specific events. The series is now based on [1]. Also added two small fixes (error handling, break statement).

v4: Minor modification to the vendor-event handling code (drop opaque ptr). Series is based on this version [2] of the patch. Another two small fixes (buffer pixelformat, g2d_fini) added. The pixelformat issue surfaced after the recent changes to the Exynos mixer code. Also fixed a thread bug in the event test (application should always exit properly now).


With best wishes,
Tobias

[1] https://patchwork.kernel.org/patch/6262541/
[2] https://patchwork.kernel.org/patch/6391301/

Tobias Jakobi (9):
  exynos: Introduce exynos_handle_event()
  tests/exynos: add fimg2d performance analysis
  exynos/fimg2d: add g2d_config_event
  exynos: fimg2d: add g2d_exec2
  tests/exynos: add fimg2d event test
  exynos: fimg2d: fix return codes
  tests/exynos: replace return by break
  tests/exynos: use XRGB8888 for framebuffer
  exynos/fimg2d: simplify g2d_fini()

 exynos/exynos-symbol-check         |   3 +
 exynos/exynos_drm.c                |  28 ++++
 exynos/exynos_drm.h                |  12 ++
 exynos/exynos_drmif.h              |  26 +++
 exynos/exynos_fimg2d.c             |  65 +++++---
 exynos/exynos_fimg2d.h             |   8 +
 tests/exynos/Makefile.am           |  26 ++-
 tests/exynos/exynos_fimg2d_event.c | 326 +++++++++++++++++++++++++++++++++++++
 tests/exynos/exynos_fimg2d_perf.c  | 320 ++++++++++++++++++++++++++++++++++++
 tests/exynos/exynos_fimg2d_test.c  |   4 +-
 10 files changed, 793 insertions(+), 25 deletions(-)
 create mode 100644 tests/exynos/exynos_fimg2d_event.c
 create mode 100644 tests/exynos/exynos_fimg2d_perf.c

-- 
2.0.5

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux