From patchwork Fri Apr 20 06:51:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10351861 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D35D8602B7 for ; Fri, 20 Apr 2018 06:52:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C258228608 for ; Fri, 20 Apr 2018 06:52:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6E3E28641; Fri, 20 Apr 2018 06:52:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6A53228608 for ; Fri, 20 Apr 2018 06:52:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3ED106E139; Fri, 20 Apr 2018 06:52:12 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 75A386E11F for ; Fri, 20 Apr 2018 06:52:09 +0000 (UTC) Received: by mail-wr0-x241.google.com with SMTP id v15-v6so1881585wrm.10 for ; Thu, 19 Apr 2018 23:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=A7cE6E1EhfKlF5zz8zN7A1xglTcMwVgrbnLJvY/s1tE=; b=MPxCENuv9N3VopieIGRZVblMVPYPxtrUPdvPx4lAG+WOc9/CbXotGxYRaKzj/7FbGY ZROoTWiK7UMGTmz4DoHP7MMq/74uWUpT+R4lcBUmHigaFuMETU6DT1+7wepDwkVxUGbg GITMvo54TKRJuGwI+x3OrBXxD1ZbDYDKSFAGE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=A7cE6E1EhfKlF5zz8zN7A1xglTcMwVgrbnLJvY/s1tE=; b=R8f7/hfW7OMQq9Rxi6diMeZIVQvfD4/bh8Kk4fP5FZVibaCM93YPRTFumjNTYLc1FF u72QnttABYt7n/EnFp3sFksgBVceBg/5N7IigUk43gOf/QKxbAO0bithIFZX4fax+tDp RyFNSdMYaaFns/G4lgKH1L6Bq1fdDP1Fr9Qkix3kuWhy3VQqM5joCDn8GLbnRBVYTppI xZ4yYqztu780ePXSRyekJ/V5V57asv3Fi/PuxE7Z06sDmwH7IsQQBtoV4cL6VsVxn4zR 5Gwt9kCUGVMVix6VtVEB8Y3chzcPuE2jQsV8MVjpIcqnMB12XhSN4gtHHKIackn5wZwL vatw== X-Gm-Message-State: ALQs6tAdwPSJM9JsIEePbvefW+1zbp8H/vb73R03ESRyfwcSMF/FMEV2 5wSsabV3FWSGbVaOR7x8Fbq7Sg== X-Google-Smtp-Source: AIpwx48Fqx8TeYitkGOsjfd6t/F3OJ2FlsbhtSXutovp4+apTQD/hqUJlF+/OhLIh8lRve71UD2EUA== X-Received: by 10.80.234.195 with SMTP id u3mr12358948edp.49.1524207128175; Thu, 19 Apr 2018 23:52:08 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5635:0:39d2:f87e:2033:9f6]) by smtp.gmail.com with ESMTPSA id c5sm3470023ede.63.2018.04.19.23.52.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 23:52:07 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Fri, 20 Apr 2018 08:51:58 +0200 Message-Id: <20180420065159.4531-3-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180420065159.4531-1-daniel.vetter@ffwll.ch> References: <20180420065159.4531-1-daniel.vetter@ffwll.ch> Subject: [Intel-gfx] [PATCH 3/4] drm/vmwgfx: Drop DRM_CONTROL_ALLOW X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Hellstrom , Sinclair Yeh , Daniel Vetter , Intel Graphics Development , VMware Graphics , Daniel Vetter MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Control nodes are no more! Signed-off-by: Daniel Vetter Cc: VMware Graphics Cc: Sinclair Yeh Cc: Thomas Hellstrom Reviewed-by: Thomas Hellstrom Reviewed-by: Sean Paul --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 70e1a8820a7c..97f37c3c16f2 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -159,14 +159,14 @@ static const struct drm_ioctl_desc vmw_ioctls[] = { DRM_RENDER_ALLOW), VMW_IOCTL_DEF(VMW_CURSOR_BYPASS, vmw_kms_cursor_bypass_ioctl, - DRM_MASTER | DRM_CONTROL_ALLOW), + DRM_MASTER), VMW_IOCTL_DEF(VMW_CONTROL_STREAM, vmw_overlay_ioctl, - DRM_MASTER | DRM_CONTROL_ALLOW), + DRM_MASTER), VMW_IOCTL_DEF(VMW_CLAIM_STREAM, vmw_stream_claim_ioctl, - DRM_MASTER | DRM_CONTROL_ALLOW), + DRM_MASTER), VMW_IOCTL_DEF(VMW_UNREF_STREAM, vmw_stream_unref_ioctl, - DRM_MASTER | DRM_CONTROL_ALLOW), + DRM_MASTER), VMW_IOCTL_DEF(VMW_CREATE_CONTEXT, vmw_context_define_ioctl, DRM_AUTH | DRM_RENDER_ALLOW),