From patchwork Mon Jun 18 11:01:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 10470903 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 A6EC16029B for ; Mon, 18 Jun 2018 11:02:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98B022880D for ; Mon, 18 Jun 2018 11:02:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D9552899B; Mon, 18 Jun 2018 11:02:24 +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 544D32880D for ; Mon, 18 Jun 2018 11:02:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D48E6E3C6; Mon, 18 Jun 2018 11:02:20 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 938156E3CE; Mon, 18 Jun 2018 11:02:15 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id e16-v6so13331667wmd.0; Mon, 18 Jun 2018 04:02:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=vd1qiRmSJ7dmHQRb1EZRnn91OTpE/WGJXjJn/iaxwkE=; b=f6gv2/nkM9fm1iDyZFGjNdHFBeLyZmd42JU/ZUpi0z7PY3oYVk1HjpgpLfSd7ENplu MPPrL84fBBUFNZ6EW3X638LFicFtS4K2nERt56v0Jc2PcSm8yfQu+TnzCZwTUsnpfOCh D50egL1BNLWKcxrtmuJyb4nNdesveN3he6+4wDa2qNV0J55Uzqz1ARJOhwsMSH+uLq9l f6jCClDtN0XbiHv8GDunv5el93jx5tbn0BL9FhMHWsw8mmqLcRnASdAvOGkiVWRpCzSF 0Jf+7Y/TDejDxUxF37ugAsng9UngINKnF1jscgN84GXUkrtGqaVRWBW/I8sDHpJlUqMA 4uVw== X-Gm-Message-State: APt69E3o8eD+DM3avPVa3EDo7r8FdG2cEUS4kh/Y1bcBmN92JFa/f1Ns fDxBY5OUXy7QMtsydEs96YDIUc+V X-Google-Smtp-Source: ADUXVKJcA8W3PAWMa0Yarujk5UXIW9w8L2btE1KE9qX70RuIGOYH6qFrTPMm+IFdBRtwak99vbDzuQ== X-Received: by 2002:a50:c11a:: with SMTP id l26-v6mr10662467edf.126.1529319734064; Mon, 18 Jun 2018 04:02:14 -0700 (PDT) Received: from localhost.localdomain (200116b82a328300a80ff4c3a5bdfeeb.dip.versatel-1u1.de. [2001:16b8:2a32:8300:a80f:f4c3:a5bd:feeb]) by smtp.gmail.com with ESMTPSA id d16-v6sm8104131ede.21.2018.06.18.04.02.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 04:02:13 -0700 (PDT) From: Thomas Zimmermann To: intel-gfx@lists.freedesktop.org Date: Mon, 18 Jun 2018 13:01:53 +0200 Message-Id: <20180618110154.30462-5-tdz@users.sourceforge.net> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180618110154.30462-1-tdz@users.sourceforge.net> References: <20180618110154.30462-1-tdz@users.sourceforge.net> Subject: [Intel-gfx] [PATCH 4/5] drm/i915: Replace drm_gem_object_unreference_unlocked with put function 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: dri-devel@lists.freedesktop.org, Thomas Zimmermann , rodrigo.vivi@intel.com MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP This patch unifies the naming of DRM functions for reference counting of struct drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/i915/i915_gem_object.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem_object.h b/drivers/gpu/drm/i915/i915_gem_object.h index 0042496216fe..c3c6f2e588fb 100644 --- a/drivers/gpu/drm/i915/i915_gem_object.h +++ b/drivers/gpu/drm/i915/i915_gem_object.h @@ -348,9 +348,6 @@ i915_gem_object_put(struct drm_i915_gem_object *obj) __drm_gem_object_put(&obj->base); } -__deprecated -extern void drm_gem_object_unreference_unlocked(struct drm_gem_object *); - static inline void i915_gem_object_lock(struct drm_i915_gem_object *obj) { reservation_object_lock(obj->resv, NULL);