From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D170CC4332D for ; Thu, 19 Mar 2020 17:35:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A62BC2071C for ; Thu, 19 Mar 2020 17:35:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LFZgP6CL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A62BC2071C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0DBEC6EA43; Thu, 19 Mar 2020 17:35:52 +0000 (UTC) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id B07BF6EA43 for ; Thu, 19 Mar 2020 17:35:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584639349; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Aa2Nquow2GgqfoiAqwvn8s6KexFuEkXSqwxaHybwlmA=; b=LFZgP6CL/fs/Q71RwLB8xOlnZGhHPLk1L6Prwvy+SI3HaCG4gqHGKF7AegMFGPO50QfN04 KY0DiAWpcYRnPcgCupOPWqQq3sM2w9aidP892ATVmj/IdV4bnr6VnlbrkcXW9XbCej20fN Bwg7uBefr+ZmtFOtEn/F1AWQ1S663Qs= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-69-Ilo8HdtpObipnBAtxiY0LA-1; Thu, 19 Mar 2020 13:35:43 -0400 X-MC-Unique: Ilo8HdtpObipnBAtxiY0LA-1 Received: by mail-qk1-f198.google.com with SMTP id e10so3106381qkg.8 for ; Thu, 19 Mar 2020 10:35:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Aa2Nquow2GgqfoiAqwvn8s6KexFuEkXSqwxaHybwlmA=; b=fMI/TqZtlH7o3BaE0zVepUBVMki5OLZGhCcNRbJQ3ov1RwjiROg2FlI2uioR214LFI FnlxHhjlYkAiydMCP4epVOHjmbDas9m61V6BvfspojlGZ3LIZECOPdKBZt/wkY7v/uHd Mu/WwclTR3x0mcIiAVPSnkJUdGmfvqpeg/b+VQfOFDildNrLfjO+ubW3yH1BYkj/eJvr ZWlcQ2kttLnSbp0FE1UMgfyeaIyadAC2hSFzDocj10LSpdu0CMwcjpRWYeVSdyByEanb tSPz8ML1lwRn/n7e1+sU3/5P443ANaFdqYOxLNVVMeIkzAusftyVHKbkE9M+y1VWjVCo 4sjA== X-Gm-Message-State: ANhLgQ1W5ZgZj1an4ff3aIuXWguRzbERQAM3vI5TMrhB5YG8hZjMZNBv eV2K5Ry10z2ATkogpl0bwvlUESaOWMYCNGmDiZS/T4Yi5sDKi6NHDydto0OiTvUnk+lSt/sMWi6 0S5S7vwIkfxkawxoKAGjS2y1R+5wq X-Received: by 2002:ae9:e403:: with SMTP id q3mr3834417qkc.241.1584639342536; Thu, 19 Mar 2020 10:35:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsWS5TZK4rIcgSpi2IET6t81dsp9OUaDeA4gdJbfuAXKJGisme8AOHspbkK5fnlxr1PCKKU6g== X-Received: by 2002:ae9:e403:: with SMTP id q3mr3834394qkc.241.1584639342266; Thu, 19 Mar 2020 10:35:42 -0700 (PDT) Received: from desoxy (c-24-61-245-152.hsd1.ma.comcast.net. [24.61.245.152]) by smtp.gmail.com with ESMTPSA id n6sm1956181qkh.70.2020.03.19.10.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Mar 2020 10:35:41 -0700 (PDT) Message-ID: <9accce765c96452fe41d7769cced3b3370554f36.camel@redhat.com> Subject: Re: [PATCH v2 2/2] drm: error out with EBUSY when device has existing master From: Adam Jackson To: Emil Velikov , dri-devel@lists.freedesktop.org Date: Thu, 19 Mar 2020 13:35:40 -0400 In-Reply-To: <20200319172930.230583-2-emil.l.velikov@gmail.com> References: <20200319172930.230583-1-emil.l.velikov@gmail.com> <20200319172930.230583-2-emil.l.velikov@gmail.com> User-Agent: Evolution 3.34.0 (3.34.0-1.fc31) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, 2020-03-19 at 17:29 +0000, Emil Velikov wrote: > From: Emil Velikov > > As requested by Adam, provide different error message for when the > device has an existing master. An audit of the following projects, shows > that the errno is used only for printf() purposes. > > xorg/xserver > xorg/drivers/xf86-video-ati > xorg/drivers/xf86-video-amdgpu > xorg/drivers/xf86-video-intel > xorg/drivers/xf86-video-tegra > xorg/drivers/xf86-video-freedreno > xorg/drivers/xf86-video-nouveau > xorg/drivers/xf86-video-vmwgfx > > qt/kwin/plasma > gtk/mutter/gnomeshell > efl/enlightment > > Cc: Adam Jackson > Suggested-by: Adam Jackson > Signed-off-by: Emil Velikov Delightful! Series is: Reviewed-by: Adam Jackson - ajax _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel