From patchwork Fri Apr 20 06:51:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10351867 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 A8C2360365 for ; Fri, 20 Apr 2018 06:52:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A9D428608 for ; Fri, 20 Apr 2018 06:52:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F86C28641; Fri, 20 Apr 2018 06:52:21 +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=unavailable 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 59E3F28608 for ; Fri, 20 Apr 2018 06:52:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 04D0C6E14A; Fri, 20 Apr 2018 06:52:17 +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 076D96E0FF for ; Fri, 20 Apr 2018 06:52:08 +0000 (UTC) Received: by mail-wr0-x241.google.com with SMTP id v24-v6so19943690wra.8 for ; Thu, 19 Apr 2018 23:52:07 -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=gx8wcWx2bHCRrYuwnmZ/Ng3Pa0aWAHdjSfpINPHRWkI=; b=AsXNJcnVDu0quyAgW/nu8mD5Ljem4bFpBFweem4xbKwjEqEErnxgDEtZ8TRyNSaK+O dkhq9Gj5qXuFLnbEGZ5G1krJghKZwPLcYl1wBpElNt+dtY15dFNM5APpDPqEADtFQxcZ xX4ZHdS3lDEINtQXLRerI0WbPOzWCIKdr3vpI= 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=gx8wcWx2bHCRrYuwnmZ/Ng3Pa0aWAHdjSfpINPHRWkI=; b=g2W0m5x7E4xSBO5KHCa9vRbAnyHBRL5TQmcYLELLim+PFO7dmK0Z1ed8ZQxinseC1X 620K7qWmz+DDvz3aIawFCIEEhKEgXRjZ9RHoyaAoGmsMxvcrN4VEMCOnXJvMonX/dahT c0atj0GkQBHrp41RylQAHk375ZXwRqqk0tfAzLsmtBx6ENHBmd0YHRXnKpuSSSPSOEFL ObDuhkc3h6tSUe3fCsyWgI+Fh0hEv45Ax4S/4fBLH0Wybksd3+MtAL9/rSY4/nr8yUsT li3ujGCP5tntbSsBW5N2+lQZS1i//YzGyslzVjX+GHvVWOJmyEjAKB85XSpWwUsKMA8o sWkA== X-Gm-Message-State: ALQs6tD6aStJVU88WcgXZqHWJvsV4jG2MyUOqfrkXI8pMrG2C2DaaZ8y L2xWriD9SGzrVxYft9AGkHTvnQ== X-Google-Smtp-Source: AIpwx4/xUw/4K5RMYdWB2njwVzJ9zsFvMZAsLv5eUcTmNsxKYPondt8KJ3ykiN1wxxqW3eo67s23Tg== X-Received: by 10.80.142.70 with SMTP id 6mr11949541edx.141.1524207126706; Thu, 19 Apr 2018 23:52:06 -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.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 23:52:05 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Fri, 20 Apr 2018 08:51:57 +0200 Message-Id: <20180420065159.4531-2-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 2/4] drm/i915: 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: Daniel Vetter , Intel Graphics Development , Rodrigo Vivi 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: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org Reviewed-by: Joonas Lahtinen Reviewed-by: Sean Paul --- drivers/gpu/drm/i915/i915_drv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index b7dbeba72dec..c471a7528a50 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -2822,10 +2822,10 @@ static const struct drm_ioctl_desc i915_ioctls[] = { DRM_IOCTL_DEF_DRV(I915_GEM_GET_APERTURE, i915_gem_get_aperture_ioctl, DRM_RENDER_ALLOW), DRM_IOCTL_DEF_DRV(I915_GET_PIPE_FROM_CRTC_ID, intel_get_pipe_from_crtc_id_ioctl, 0), DRM_IOCTL_DEF_DRV(I915_GEM_MADVISE, i915_gem_madvise_ioctl, DRM_RENDER_ALLOW), - DRM_IOCTL_DEF_DRV(I915_OVERLAY_PUT_IMAGE, intel_overlay_put_image_ioctl, DRM_MASTER|DRM_CONTROL_ALLOW), - DRM_IOCTL_DEF_DRV(I915_OVERLAY_ATTRS, intel_overlay_attrs_ioctl, DRM_MASTER|DRM_CONTROL_ALLOW), - DRM_IOCTL_DEF_DRV(I915_SET_SPRITE_COLORKEY, intel_sprite_set_colorkey_ioctl, DRM_MASTER|DRM_CONTROL_ALLOW), - DRM_IOCTL_DEF_DRV(I915_GET_SPRITE_COLORKEY, drm_noop, DRM_MASTER|DRM_CONTROL_ALLOW), + DRM_IOCTL_DEF_DRV(I915_OVERLAY_PUT_IMAGE, intel_overlay_put_image_ioctl, DRM_MASTER), + DRM_IOCTL_DEF_DRV(I915_OVERLAY_ATTRS, intel_overlay_attrs_ioctl, DRM_MASTER), + DRM_IOCTL_DEF_DRV(I915_SET_SPRITE_COLORKEY, intel_sprite_set_colorkey_ioctl, DRM_MASTER), + DRM_IOCTL_DEF_DRV(I915_GET_SPRITE_COLORKEY, drm_noop, DRM_MASTER), DRM_IOCTL_DEF_DRV(I915_GEM_WAIT, i915_gem_wait_ioctl, DRM_AUTH|DRM_RENDER_ALLOW), DRM_IOCTL_DEF_DRV(I915_GEM_CONTEXT_CREATE, i915_gem_context_create_ioctl, DRM_RENDER_ALLOW), DRM_IOCTL_DEF_DRV(I915_GEM_CONTEXT_DESTROY, i915_gem_context_destroy_ioctl, DRM_RENDER_ALLOW),