dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Christian Gmeiner <christian.gmeiner@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH libdrm v4 0/2] etna_pipe_wait_ns(..)
Date: Thu, 24 Nov 2016 09:46:57 +0100	[thread overview]
Message-ID: <1479977219-11477-1-git-send-email-christian.gmeiner@gmail.com> (raw)

Add an API to pass the timeout value (ns) from pipe->fence_finish(..)
to the kernel. The current API accepts ms and special handling is needed
for PIPE_TIMEOUT_INFINITE.

The idea is not to break old mesa (out-of-tree) + new libdrm.

Changes from v2 to v3:
 - Builds at each step
 - Keep the _ns postfix of get_abs_timeout_ns(..)
 
Changes from v3 to v4:
 - Rework the patches based on Emil's suggestion.
 
Christian Gmeiner (2):
  etnaviv: change get_abs_timeout(..) to use ns.
  etnaviv: add etna_pipe_wait_ns(..)

 etnaviv/etnaviv-symbol-check | 1 +
 etnaviv/etnaviv_bo.c         | 2 +-
 etnaviv/etnaviv_drmif.h      | 1 +
 etnaviv/etnaviv_pipe.c       | 9 +++++++--
 etnaviv/etnaviv_priv.h       | 6 +++---
 5 files changed, 13 insertions(+), 6 deletions(-)

-- 
2.7.4

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

             reply	other threads:[~2016-11-24  8:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24  8:46 Christian Gmeiner [this message]
2016-11-24  8:46 ` [PATCH libdrm v4 1/2] etnaviv: change get_abs_timeout(..) to use ns Christian Gmeiner
2016-11-24  8:46 ` [PATCH libdrm v4 2/2] etnaviv: add etna_pipe_wait_ns(..) Christian Gmeiner
2016-11-24 12:26 ` [PATCH libdrm v4 0/2] etna_pipe_wait_ns(..) Emil Velikov

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=1479977219-11477-1-git-send-email-christian.gmeiner@gmail.com \
    --to=christian.gmeiner@gmail.com \
    --cc=dri-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).