From patchwork Wed May 22 15:47:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 10956151 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7135613AD for ; Wed, 22 May 2019 15:48:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 612CF288E8 for ; Wed, 22 May 2019 15:48:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5599228C1F; Wed, 22 May 2019 15:48:39 +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.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 2563528C1A for ; Wed, 22 May 2019 15:48:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9EB6389BBE; Wed, 22 May 2019 15:48:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 16AFD89B70; Wed, 22 May 2019 15:48:31 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id g12so2858295wro.8; Wed, 22 May 2019 08:48:31 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=vg2EX9j0rvlBkEXHkaqvO5uQm91D2PP9LChxb8DR3ic=; b=hdHlVG3C4+SBk3WmYszdInOP8Ne1UyfJeG9Xw1+/f5vqG/BKUTdWL8SuhAT3eIO6eA vllzVdXG+bnPrUBOaJSXxhnsUoPHZCe9ZQiV2DTrhSlcRPu6pIP6uKTgQaD1UcFGEB9V fnUSuWrtqQUd03Lt9bP220mqJNyUJbIkpNV0axrtY+kDjjKAYV0UgVBs8HsFoIiCQSSY w9SNc5I0mNAGRh3+puaKjeggLf+Ur/7vrz+8uvqgoMaKCcJhIDlx+P89mannfxQHlDWd D+p6B2MzKb7H0dXxFNsQwrtW1l9ePBcBK55+rkubX0EFiMgdGAZDKVS1n7AGyqRWbCc8 l4rw== X-Gm-Message-State: APjAAAWIfXXdw4lAK8j9NJg5mdyT/YLw7OHNU2LHm/82tGQrPtVJGQyu roaUW7/Ksyu7mdFChVBCTRq7QmuI X-Google-Smtp-Source: APXvYqxRfqkx+5eFxeuNI/WF7vvQearHUCtTScWr0fJasuyce+E6HM5xC5wroxovI067TtQho/T0jQ== X-Received: by 2002:adf:ec0b:: with SMTP id x11mr6751997wrn.88.1558540109594; Wed, 22 May 2019 08:48:29 -0700 (PDT) Received: from arch-x1c3.cbg.collabora.co.uk ([2a00:5f00:102:0:9665:9cff:feee:aa4d]) by smtp.gmail.com with ESMTPSA id t6sm12567117wmt.34.2019.05.22.08.48.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 May 2019 08:48:29 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH 3/4] drm/i915: remove irrelevant DRM_UNLOCKED flag Date: Wed, 22 May 2019 16:47:01 +0100 Message-Id: <20190522154702.16269-3-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190522154702.16269-1-emil.l.velikov@gmail.com> References: <20190522154702.16269-1-emil.l.velikov@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vg2EX9j0rvlBkEXHkaqvO5uQm91D2PP9LChxb8DR3ic=; b=ei2YxqS3vNOVW0KedhVWgnJGhEqfp1cyZ51qLA1C175AlxKXyPaaIh7tw58j5/COyR Gshk06xDTY8MEAlhfOCTjUVRSrUUiaSrw6DfoexXWq98/NBn+xCY+s3RK7tadfPc33pk MtR0WH+XVQ7jZ7Yn/CYhgAbhpCyyXIz3yqSz8V1Y76nfb9jiSaeJz/SOdTluM1hRnIYg CF0Ogvn4MC1zM2L59lsLtN55ZPg+oqdHs6900WUewhMMshptJzzfIoi+nzfH0nGzdpE1 ydZsaD28gXQYXy9xzpPS1OKZIpGgP6mtLcUhHVogX8nbtLiD6UzjrQC1FaMoM76gmgi1 jXdg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, kernel@collabora.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Emil Velikov DRM_UNLOCKED doesn't do anything for non-legacy drivers. Remove it. Cc: intel-gfx@lists.freedesktop.org Cc: Daniel Vetter Signed-off-by: Emil Velikov Reviewed-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 1ad88e6d7c04..a18c155cff88 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -3145,9 +3145,9 @@ static const struct drm_ioctl_desc i915_ioctls[] = { DRM_IOCTL_DEF_DRV(I915_GEM_CONTEXT_GETPARAM, i915_gem_context_getparam_ioctl, DRM_RENDER_ALLOW), DRM_IOCTL_DEF_DRV(I915_GEM_CONTEXT_SETPARAM, i915_gem_context_setparam_ioctl, DRM_RENDER_ALLOW), DRM_IOCTL_DEF_DRV(I915_PERF_OPEN, i915_perf_open_ioctl, DRM_RENDER_ALLOW), - DRM_IOCTL_DEF_DRV(I915_PERF_ADD_CONFIG, i915_perf_add_config_ioctl, DRM_UNLOCKED|DRM_RENDER_ALLOW), - DRM_IOCTL_DEF_DRV(I915_PERF_REMOVE_CONFIG, i915_perf_remove_config_ioctl, DRM_UNLOCKED|DRM_RENDER_ALLOW), - DRM_IOCTL_DEF_DRV(I915_QUERY, i915_query_ioctl, DRM_UNLOCKED|DRM_RENDER_ALLOW), + DRM_IOCTL_DEF_DRV(I915_PERF_ADD_CONFIG, i915_perf_add_config_ioctl, DRM_RENDER_ALLOW), + DRM_IOCTL_DEF_DRV(I915_PERF_REMOVE_CONFIG, i915_perf_remove_config_ioctl, DRM_RENDER_ALLOW), + DRM_IOCTL_DEF_DRV(I915_QUERY, i915_query_ioctl, DRM_RENDER_ALLOW), }; static struct drm_driver driver = {