From patchwork Fri Jun 14 20:35:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10996683 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 0C6AF112C for ; Fri, 14 Jun 2019 20:38:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F273728733 for ; Fri, 14 Jun 2019 20:38:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E69102876E; Fri, 14 Jun 2019 20:38:45 +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,MAILING_LIST_MULTI, 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 967F128733 for ; Fri, 14 Jun 2019 20:38:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CEC4F897BC; Fri, 14 Jun 2019 20:37:18 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by gabe.freedesktop.org (Postfix) with ESMTPS id 72129892CC for ; Fri, 14 Jun 2019 20:37:10 +0000 (UTC) Received: by mail-ed1-x542.google.com with SMTP id s49so5288612edb.1 for ; Fri, 14 Jun 2019 13:37:10 -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=9j32mcyEpGSYjvl0TWKlQ1MrsZN0SW8RTIBE3SWgCwg=; b=fLID6as103RxPSf84IvyKmm1xnruzdFgnGylI9/RcqjE3P4WQTL3NmG0UxzXA7wWv0 fwp5EwR6IEM0eJU0IaySAyxGcCD+81oxAD68soUdo8WtQFMHA5UpvbGWAnHyZ5yZ8W9N 2AoLJ0nvEyflIEbCHmxl/X8P938+/DwTEX+ov1ze0wC2oXFOcQF6UtAGHXIPwq+w0fQM 9LyoX7T38PGBHY4jdJDEtZVc31zcqBYQwvbINujtbwT10UjfcIw8Ehs+UzKPA7xuA/Uy gke7LI9uWuOH1Z7WTXbJ48UA83t/61EmfjtRGcRBlwJ/wLDS4LUy7a+CwDKw2bT7Jhyy NnuQ== X-Gm-Message-State: APjAAAWD1JjVwx3F5P8OfNEMVr9pOHZy2ZcWPaoWh3OIpu4QqpTlMbSt Xq9nODxy7iZgdOEF0P7zlbqcjQ== X-Google-Smtp-Source: APXvYqyWVWx0mezBKncyxVhHLfdJwou9pLwypnm1P08ksIfRxVllvuFRbRdlA0O5d6M2CwyF/Pw8tA== X-Received: by 2002:a17:906:4f87:: with SMTP id o7mr82456706eju.281.1560544627962; Fri, 14 Jun 2019 13:37:07 -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.37.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 13:37:07 -0700 (PDT) From: Daniel Vetter To: DRI Development Date: Fri, 14 Jun 2019 22:35:56 +0200 Message-Id: <20190614203615.12639-41-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-Mailman-Original-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=9j32mcyEpGSYjvl0TWKlQ1MrsZN0SW8RTIBE3SWgCwg=; b=LDi2tvGBTZct1S5i1KHPWdaw//4K/P/RnL1dIBUm6tIUdvMT44OlsQFrKVajbRhK9K RneOYha8E9O9hzcXLmE50UR/hbEAKo3+TnOWydVOE8dXukaRWawZ0UQksp7J6Gm3lluX FP1/T2KsUv05UMSYPPE8eTZBhN4/INmc2fQ18= Subject: [Intel-gfx] [PATCH 40/59] drm/vram-helper: Drop drm_gem_prime_export/import 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: Thomas Zimmermann , Maxime Ripard , Daniel Vetter , Intel Graphics Development , David Airlie , Gerd Hoffmann , Daniel Vetter Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Thomas Zimmermann Cc: Gerd Hoffmann Acked-by: Gerd Hoffmann --- include/drm/drm_gem_vram_helper.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h index 9581ea0a4f7e..1a0ea18e7a74 100644 --- a/include/drm/drm_gem_vram_helper.h +++ b/include/drm/drm_gem_vram_helper.h @@ -142,8 +142,6 @@ int drm_gem_vram_driver_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma); #define DRM_GEM_VRAM_DRIVER_PRIME \ - .gem_prime_export = drm_gem_prime_export, \ - .gem_prime_import = drm_gem_prime_import, \ .gem_prime_pin = drm_gem_vram_driver_gem_prime_pin, \ .gem_prime_unpin = drm_gem_vram_driver_gem_prime_unpin, \ .gem_prime_vmap = drm_gem_vram_driver_gem_prime_vmap, \