From patchwork Fri Jun 14 20:35:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10996727 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 3E4D2112C for ; Fri, 14 Jun 2019 20:39:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EE5328733 for ; Fri, 14 Jun 2019 20:39:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22FE62876B; Fri, 14 Jun 2019 20:39:12 +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_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B9B1228733 for ; Fri, 14 Jun 2019 20:39:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lRbSTrB9ag8Ook+WanWnmneQlmzRCRPeVARY2QiX9+w=; b=fchOWwkYsML+ZW 8pMUpbenHC8eO51mTGWl+9eeeYQfQ16/j2zsB2bNlVGDA+5n4ZLOA7eraA5dCycYS8o1nLyCxtiR1 1QrS5/aQM1I8nsIRTAYsk1HTi4LGkB2R9Tm/P1e6ArKr4flFEcWRa/7BYTzwZzQh/0n0mWiN1HM4T JJfFXsuB3FbBCEcf9OV3cr3AaSKl+x9Gju5dYiHp3h8xqkCD+CrMuqSW0T3XPB0nX+MiJYu6FsE6C lDi9CMS1SBrxPRyoUs4pnbc272uCA1k/ri50hwjYEwwxcZ++qUeTNI4ia270Ov5kdb//ZhlOGzWJ9 mhQKcdGKozUsd8v/OzqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hbsyb-0005iZ-VO; Fri, 14 Jun 2019 20:39:09 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hbswH-0003qt-NX for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2019 20:36:47 +0000 Received: by mail-ed1-x542.google.com with SMTP id p15so5223879eds.8 for ; Fri, 14 Jun 2019 13:36:45 -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 :mime-version:content-transfer-encoding; bh=H/jSvXeNPdVe/RGvjR45d/TmnGLJ0w0V6fbPc6OnrNQ=; b=CXxL23WkHoPS8FvxmcYzc83marqI3uVGsFjc3IQ/ZMYiBKkKvOmR2Nl+lPtk6z1ujn 8tfiJ7fhwbrLDxeAGHwXMMhhYY7GhooqzEjzjluTqoOvazX1bAPFNYtRgXl1Wwf17bS2 aJeIwhEJOlRANhkIYk1AGF6HQt4T5IbsUM4Ss= 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=H/jSvXeNPdVe/RGvjR45d/TmnGLJ0w0V6fbPc6OnrNQ=; b=dc4QF+Oj2PehtVjTFQ8JxBWREC9qjGJGH7fAbEl6W1Nfuptg1vfojURuaDMIqrsz8j nVlgbV9AKPNXvTRz09Lve9rJ5XTSk9jm5eOzOwqJ9lvFZZUJBXM3Mr9EvYnBgSEKq7nI vE24Gjh1XmegRNi8vHLKE+5rp+5YBi09IprnUWgDIJGTQr8XtbPdo5Ul3xGAoZRioYcm gtdQ/Wb9K8hgE1q7OPCEgRtgU/sdp43gsCR7cx4Ziyb6583O3ykUWMvjfFVQHHgeLo11 3cG5CYKQNIYWAovCSk2/Wo/LnMHcVzKzAZQtMDxOkuUb/zEt6tlpkt93RaJag5dNmTz2 SdUQ== X-Gm-Message-State: APjAAAV+SJvvifIfijMVd4sFLs/9LUehJfWDssw0AUBEP7ld4bK5iuXy e+Zbvg2obyhnP7Xq0Kc34KWltA== X-Google-Smtp-Source: APXvYqxXcEjEsf5PL/eYQ8qT2eKEKjLTNP3sB0Pc0ALolZp8KC6XEyq8xYSaNSLLcw3gUVflYk+w7w== X-Received: by 2002:a50:c8c3:: with SMTP id k3mr30718637edh.189.1560544604548; Fri, 14 Jun 2019 13:36:44 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id n15sm1166672edd.49.2019.06.14.13.36.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 13:36:43 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 19/59] drm/mtk: Drop drm_gem_prime_export/import Date: Fri, 14 Jun 2019 22:35:35 +0200 Message-Id: <20190614203615.12639-20-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190614203615.12639-1-daniel.vetter@ffwll.ch> References: <20190614203615.12639-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190614_133645_876970_9F422E2B X-CRM114-Status: GOOD ( 10.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , Intel Graphics Development , Matthias Brugger , linux-mediatek@lists.infradead.org, Philipp Zabel , CK Hu , Daniel Vetter , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP They're the default. Aside: Would be really nice to switch the others over to drm_gem_object_funcs. Signed-off-by: Daniel Vetter Cc: CK Hu Cc: Philipp Zabel Cc: Matthias Brugger Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 1f8b8943b0c6..dd8dab562500 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -329,8 +329,6 @@ static struct drm_driver mtk_drm_driver = { .prime_handle_to_fd = drm_gem_prime_handle_to_fd, .prime_fd_to_handle = drm_gem_prime_fd_to_handle, - .gem_prime_export = drm_gem_prime_export, - .gem_prime_import = drm_gem_prime_import, .gem_prime_get_sg_table = mtk_gem_prime_get_sg_table, .gem_prime_import_sg_table = mtk_gem_prime_import_sg_table, .gem_prime_mmap = mtk_drm_gem_mmap_buf,