All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Hellstrom <thellstrom@vmware.com>
To: "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>
Cc: Dave Airlie <airlied@redhat.com>
Subject: Multiple simultaneous masters?
Date: Tue, 18 Feb 2014 21:18:02 +0100	[thread overview]
Message-ID: <5303BFFA.3010704@vmware.com> (raw)

It turns out that if we have two clients, one opening /dev/dri/card0 and
one opending /dev/dri/controlD64, both will attempt to become active master.

That seems a little illogical to me (and makes the vmwgfx driver BUG).
Shouldn't we have at most one active master per device, and hence
attempt to replace

file_priv->minor->master with
file_priv->minor->dev->active_master

/Thomas

                 reply	other threads:[~2014-02-18 20:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5303BFFA.3010704@vmware.com \
    --to=thellstrom@vmware.com \
    --cc=airlied@redhat.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 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.