From patchwork Wed Mar 17 23:40:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Ekstrand X-Patchwork-Id: 12147115 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=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 9864EC433E0 for ; Wed, 17 Mar 2021 23:40:25 +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 4101B64E41 for ; Wed, 17 Mar 2021 23:40:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4101B64E41 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jlekstrand.net 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 219B16E06D; Wed, 17 Mar 2021 23:40:23 +0000 (UTC) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9CAD26E06B for ; Wed, 17 Mar 2021 23:40:21 +0000 (UTC) Received: by mail-pj1-x1032.google.com with SMTP id s21so1960602pjq.1 for ; Wed, 17 Mar 2021 16:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jlekstrand-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xDyAHEByarYKIun4iSQ4/PjsOvLjQactWDGcEb1bHKA=; b=Me0VfIs15Nb9ujkqoUbb6irk5JPisjTZY6Y4cmDw6sHwx1ICJ2jX6oSC2That5HoJR ws7NIadYOsAxHUPDZWImZacdssNS2K51PDa9LqdacuVmCgF9jt3nB3HMH9dGvx0lwPk2 DZM4pZW21Vszoo6PtPXiVurrA66YUCtgGfYrxXIJJ8B2EEqqfO/UWBsVl47ZIv2KG9n8 IFQF6BDW6ZJQ8efTmHgObREzqz3un18AttvIyhVt7CY5tH8Z4wnZEJqtXEIEy4pa93uI f54PI+PNEYEtx9CYPWlRECI84mJvcEk3T6OjlApPCniqyEcl0Ukk7DeQ82tu120pgYzc /gWw== 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=xDyAHEByarYKIun4iSQ4/PjsOvLjQactWDGcEb1bHKA=; b=uVK3ymNAnZAM1LvhUyp2L8fEVfpT3vAddw4bfZGou2ZJeFUMAJXH7gfws5VAWgBcTi 9dW12aDPDBxVaKQCVldMkm8TmCq1UV3dbDRYyfCpT6HNEgqirm89P3pnztXR+y9s2OZ7 sCK3SwEeHzMU7fga6xaQoN16uoA7JkG3J/ugCC0PaDxXJhRDcPIKeQjzOZNFDNqMRoIZ tB5nkC47nyf4t6KxuunugjdGO1TVNeSelL2YR+5YLD+BTlph86Hx2+U04oxeWOIbso2m 3kDxECvR5ALVdxOoIaghL8jzsCuXrsUfZ/t6piBtYdComIU06wNi3XXMFIcW1UMxwZW4 JK3w== X-Gm-Message-State: AOAM533NBv3OsTbXClvfLfqirmGlhQowYKQBvO/IhiR3BzyKbdoSdhxJ FvXIyfOQtG3J6/jGpjHpRbFTBWN+Ehrk1A== X-Google-Smtp-Source: ABdhPJz/+Vo9dE663Qy8FDlcXNEAcnQ0p957j1P+bRikVLAUW7HM9Yg6Ls8Xzb7qRV4dKQXeW39wsg== X-Received: by 2002:a17:902:f68a:b029:e5:b17f:9154 with SMTP id l10-20020a170902f68ab02900e5b17f9154mr6667853plg.28.1616024420722; Wed, 17 Mar 2021 16:40:20 -0700 (PDT) Received: from omlet.lan (jfdmzpr05-ext.jf.intel.com. [134.134.139.74]) by smtp.gmail.com with ESMTPSA id p3sm148399pgi.24.2021.03.17.16.40.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 16:40:20 -0700 (PDT) From: Jason Ekstrand To: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: [PATCH 0/5] drm/i915: Clean up some of the i915 uAPI (v6) Date: Wed, 17 Mar 2021 18:40:09 -0500 Message-Id: <20210317234014.2271006-1-jason@jlekstrand.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210315143428.1471489-1-jason@jlekstrand.net> References: <20210315143428.1471489-1-jason@jlekstrand.net> MIME-Version: 1.0 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: , Cc: Dave Airlie , Jason Ekstrand Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" These patches clean up some of our uAPI mess in i915. The first patch drops legacy execbuffer support which hasn't been used in 10 years. The next two drop some legacy ioctls on new platforms. The last two drop APIs which have never been used by userspace and shouldn't have landed in i915 in the first place. Test-with: 20210121083742.46592-1-ashutosh.dixit@intel.com Cc: Daniel Vetter Cc: Dave Airlie Ashutosh Dixit (1): drm/i915: Disable pread/pwrite ioctl's for future platforms (v3) Jason Ekstrand (4): drm/i915/gem: Drop legacy execbuffer support (v2) drm/i915/gem: Drop relocation support on all new hardware (v6) drm/i915: Drop the CONTEXT_CLONE API drm/i915: Drop I915_CONTEXT_PARAM_RINGSIZE drivers/gpu/drm/i915/Makefile | 1 - drivers/gpu/drm/i915/gem/i915_gem_context.c | 311 +----------------- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 107 +----- drivers/gpu/drm/i915/gem/i915_gem_ioctls.h | 2 - drivers/gpu/drm/i915/gt/intel_context_param.c | 63 ---- drivers/gpu/drm/i915/gt/intel_context_param.h | 14 - drivers/gpu/drm/i915/gt/intel_lrc.c | 1 - drivers/gpu/drm/i915/i915_drv.c | 2 +- drivers/gpu/drm/i915/i915_gem.c | 14 + include/uapi/drm/i915_drm.h | 37 +-- 10 files changed, 41 insertions(+), 511 deletions(-) delete mode 100644 drivers/gpu/drm/i915/gt/intel_context_param.c delete mode 100644 drivers/gpu/drm/i915/gt/intel_context_param.h