From patchwork Mon Jun 18 11:01:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 10470905 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 16A44601D7 for ; Mon, 18 Jun 2018 11:02:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 086C42880D for ; Mon, 18 Jun 2018 11:02:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F185F2899B; Mon, 18 Jun 2018 11:02:25 +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=unavailable 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 BBC762880D for ; Mon, 18 Jun 2018 11:02:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE0656E3C7; 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-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6D8566E3CA; Mon, 18 Jun 2018 11:02:14 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id v131-v6so14725839wma.1; Mon, 18 Jun 2018 04:02:14 -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=zK4Bi8x9BoPNRiDGw1L32mP3vwmpkevU/tF+9Flq1jA=; b=CCf3CInNyYM+ARyJz5HZtyyPrxpCHdK3eyUnCX4CDnJBKhfTlz2TLxvIls/l92ftcO JUKbqr4aL/mOGPiizAtoOMORYhEFERz22rhqYoK4vb1yikB6zFArHkGG6exlbw2Ba401 DcEer4IFxmD5fVBoJO1GGJR5By3jnuKbuh09SOqegTgrwc4VMd/x1TcjJED+ZTnHStc7 lH42YqehwBjiKer5G+M/9CfTO9ps4i8K9nfS4tmXlh9plY71TYhWZdR0WKQF1iKyt8H0 i++MINKzz+5CBAKphhgGtCwQk8N3rPSVqLK9a7PZZAoM5WyWtyvL3TSgLvIcIM4MEp0d 2oXA== X-Gm-Message-State: APt69E1aVtnPFWgr/ucCOENnPj3lffbX9dGUBzHz9sGcnucV0HD276lb ofcQ8UQdc5jiHRDf04p9HJVYKeMV X-Google-Smtp-Source: ADUXVKL4uxkyTeCSLl8GChT6xeyTwOKYuUBV1uv30kj31H/DVWKNHBi+CfntxmGAcdlmHEQMIr/cbQ== X-Received: by 2002:a50:f534:: with SMTP id t49-v6mr10796537edm.42.1529319732922; Mon, 18 Jun 2018 04:02:12 -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.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 04:02:12 -0700 (PDT) From: Thomas Zimmermann To: intel-gfx@lists.freedesktop.org Date: Mon, 18 Jun 2018 13:01:52 +0200 Message-Id: <20180618110154.30462-4-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 3/5] drm/i915: Replace __drm_gem_object_unreference with __drm_gem_object_put 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gem_object.h b/drivers/gpu/drm/i915/i915_gem_object.h index da6e849f41a4..0042496216fe 100644 --- a/drivers/gpu/drm/i915/i915_gem_object.h +++ b/drivers/gpu/drm/i915/i915_gem_object.h @@ -345,7 +345,7 @@ __attribute__((nonnull)) static inline void i915_gem_object_put(struct drm_i915_gem_object *obj) { - __drm_gem_object_unreference(&obj->base); + __drm_gem_object_put(&obj->base); } __deprecated