public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/2] Introduce new apis for coherent mmap
@ 2020-02-18  0:17 Sreedhar Telukuntla
  2020-02-17 19:56 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Sreedhar Telukuntla @ 2020-02-18  0:17 UTC (permalink / raw)
  To: igt-dev

This patch introduces two new coherent mmap functions for tests.

gem_mmap__device_coherent_domain api maps buffer object and returns
the memory domain to be used by the caller for subsequent set_domain
call for cpu access.

gem_mmap__device_coherent_sync api maps buffer object and also does
set_domain to make the memory ready for cpu access.

gem_ctx_shared tests were modified to use the new functions 

Sreedhar Telukuntla (2):
  lib/i915/gem_mman: Add coherent mmap api support with set domain
  tests/i915/gem_ctx_shared: Use gem_mmap__device_coherent_sync api

 lib/i915/gem_mman.c         | 76 +++++++++++++++++++++++++++++++++++--
 lib/i915/gem_mman.h         |  6 ++-
 tests/i915/gem_ctx_shared.c | 23 +++--------
 3 files changed, 83 insertions(+), 22 deletions(-)

-- 
2.24.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-02-28 11:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-18  0:17 [igt-dev] [PATCH i-g-t 0/2] Introduce new apis for coherent mmap Sreedhar Telukuntla
2020-02-17 19:56 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-02-18  0:17 ` [igt-dev] [PATCH i-g-t 1/2] lib/i915/gem_mman: Add coherent mmap api support with set domain Sreedhar Telukuntla
2020-02-17 16:29   ` Chris Wilson
2020-02-18  3:53     ` Telukuntla, Sreedhar
2020-02-28 11:06     ` Tvrtko Ursulin
2020-02-18  0:17 ` [igt-dev] [PATCH i-g-t 2/2] tests/i915/gem_ctx_shared: Use gem_mmap__device_coherent_sync api Sreedhar Telukuntla
2020-02-19 11:02 ` [igt-dev] ✗ Fi.CI.IGT: failure for Introduce new apis for coherent mmap Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox