From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Hellstrom Subject: Multiple simultaneous masters? Date: Tue, 18 Feb 2014 21:18:02 +0100 Message-ID: <5303BFFA.3010704@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-outbound-1.vmware.com (smtp-outbound-1.vmware.com [208.91.2.12]) by gabe.freedesktop.org (Postfix) with ESMTP id ACE5AFAC3A for ; Tue, 18 Feb 2014 12:18:05 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: "dri-devel@lists.freedesktop.org" Cc: Dave Airlie List-Id: dri-devel@lists.freedesktop.org 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