All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <ckoenig.leichtzumerken@gmail.com>
To: intel-gfx@lists.freedesktop.org, amd-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org
Subject: RFC: Add write flag to reservation object fences
Date: Thu,  9 Aug 2018 13:37:07 +0200	[thread overview]
Message-ID: <20180809113713.48024-1-christian.koenig@amd.com> (raw)

Hi everyone,

This set of patches tries to improve read after write hazard handling for reservation objects.

It allows us to specify for each shared fence if it represents a write operation.

Based on this the i915 driver is modified to always wait for all writes before pageflip and the previously used workaround is removed from amdgpu.

Please comment,
Christian.

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-08-09 11:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09 11:37 Christian König [this message]
     [not found] ` <20180809113713.48024-1-christian.koenig-5C7GfCeVMHo@public.gmane.org>
2018-08-09 11:37   ` [PATCH 1/6] dma-buf: remove shared fence staging in reservation object Christian König
2018-08-09 12:08     ` Chris Wilson
2018-08-09 12:22       ` Christian König
2018-08-09 11:37   ` [PATCH 2/6] dma-buf: add reservation object shared fence accessor Christian König
     [not found]     ` <20180809113713.48024-3-christian.koenig-5C7GfCeVMHo@public.gmane.org>
2018-08-10  7:41       ` Huang Rui
2018-08-09 11:37   ` [PATCH 5/6] drm/i915: wait for write fences before pflip Christian König
2018-08-09 11:37   ` [PATCH 6/6] drm/amdgpu: remove exclusive fence workaround Christian König
2018-08-09 11:37 ` [PATCH 3/6] dma-buf: add is_write to reservation_object_add_shared_fence Christian König
2018-08-09 11:37 ` [PATCH 4/6] dma-buf: add writes_only flag to reservation_object_get_fences_rcu Christian König
2018-08-09 11:53 ` ✗ Fi.CI.BAT: failure for series starting with [1/6] dma-buf: remove shared fence staging in reservation object Patchwork
2018-08-09 13:38 ` RFC: Add write flag to reservation object fences Daniel Vetter
2018-08-09 13:58   ` Christian König
     [not found]     ` <154cc05d-f2e1-695a-5bd3-a2fd5d40a548-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-08-09 14:22       ` Daniel Vetter
     [not found]         ` <CAKMK7uHgwFr1P3s=TcZ_NMuexCwoO1FkEn9q3CaYaGyBKviB-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-08-09 14:54           ` Christian König
     [not found]             ` <9731d8b0-238b-d64d-9f80-4f549eb230b9-5C7GfCeVMHo@public.gmane.org>
2018-08-10  7:51               ` [Intel-gfx] " Chris Wilson
2018-08-10  8:24                 ` Christian König
2018-08-10  8:32                   ` Daniel Vetter
2018-08-10  8:51                     ` Christian König
     [not found]                       ` <97e6154a-380c-521c-6287-6fbafe0384b4-5C7GfCeVMHo@public.gmane.org>
2018-08-10  9:25                         ` [Intel-gfx] " Daniel Vetter
2018-08-10  8:29               ` Daniel Vetter
     [not found]                 ` <CAKMK7uH2ZvkmTVcPJwKjouxdvrLKVXBVGSFKAD5rtQrXLoX_GQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-08-10  9:14                   ` Christian König
2018-08-10  9:21                     ` Daniel Vetter
2018-08-10 14:24                       ` Christian König
2018-08-10  9:28                     ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180809113713.48024-1-christian.koenig@amd.com \
    --to=ckoenig.leichtzumerken@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.