From patchwork Wed Apr 4 15:33:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Engestrom X-Patchwork-Id: 10322697 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 A13CD60318 for ; Wed, 4 Apr 2018 15:34:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92CDF28F43 for ; Wed, 4 Apr 2018 15:34:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9178528F71; Wed, 4 Apr 2018 15:34:43 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED 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 8C79A28F43 for ; Wed, 4 Apr 2018 15:34:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DE3A36E050; Wed, 4 Apr 2018 15:34:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by gabe.freedesktop.org (Postfix) with ESMTP id 383556E3E0 for ; Wed, 4 Apr 2018 15:34:22 +0000 (UTC) Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Forcepoint Email with ESMTPS id 8856190516FF0; Wed, 4 Apr 2018 16:34:17 +0100 (IST) Received: from localhost.localdomain (10.60.4.28) by hhmail02.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server (TLS) id 14.3.382.0; Wed, 4 Apr 2018 16:34:20 +0100 From: Eric Engestrom To: Subject: [PATCH libdrm] etnaviv: remove never-implemented etna_bo_from_handle() Date: Wed, 4 Apr 2018 16:33:42 +0100 Message-ID: <20180404153342.24422-1-eric.engestrom@imgtec.com> X-Mailer: git-send-email 2.16.2 MIME-Version: 1.0 X-Originating-IP: [10.60.4.28] 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Entrypoint has been listed since the etnaviv support was added, but was never implemented, and therefore never exported either. Fixes: 95e2cc6a801d92a0634b "libdrm: add etnaviv drm support" Cc: Christian Gmeiner Cc: Lucas Stach Signed-off-by: Eric Engestrom Reviewed-by: Christian Gmeiner --- Christian, Lucas: if you prefer, you could also implement it (please cc me), but since it's never been implemented, I expect no driver needs it. --- etnaviv/etnaviv-symbol-check | 1 - etnaviv/etnaviv_drmif.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/etnaviv/etnaviv-symbol-check b/etnaviv/etnaviv-symbol-check index bc50961590870f4cf3d4..b1598ce52838c847096a 100755 --- a/etnaviv/etnaviv-symbol-check +++ b/etnaviv/etnaviv-symbol-check @@ -23,7 +23,6 @@ etna_pipe_del etna_pipe_wait etna_pipe_wait_ns etna_bo_new -etna_bo_from_handle etna_bo_from_name etna_bo_from_dmabuf etna_bo_ref diff --git a/etnaviv/etnaviv_drmif.h b/etnaviv/etnaviv_drmif.h index 5a6bef8d12d1bce40fb4..80aedc1cfc971afcae98 100644 --- a/etnaviv/etnaviv_drmif.h +++ b/etnaviv/etnaviv_drmif.h @@ -115,8 +115,6 @@ int etna_pipe_wait_ns(struct etna_pipe *pipe, uint32_t timestamp, uint64_t ns); struct etna_bo *etna_bo_new(struct etna_device *dev, uint32_t size, uint32_t flags); -struct etna_bo *etna_bo_from_handle(struct etna_device *dev, - uint32_t handle, uint32_t size); struct etna_bo *etna_bo_from_name(struct etna_device *dev, uint32_t name); struct etna_bo *etna_bo_from_dmabuf(struct etna_device *dev, int fd); struct etna_bo *etna_bo_ref(struct etna_bo *bo);