From patchwork Mon Jun 18 13:17:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 10471349 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 572B66020C for ; Mon, 18 Jun 2018 13:17:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47E5628971 for ; Mon, 18 Jun 2018 13:17:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CAD3289CA; Mon, 18 Jun 2018 13:17:50 +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 03FE928971 for ; Mon, 18 Jun 2018 13:17:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F08A6E411; Mon, 18 Jun 2018 13:17:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@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 6829589CCB for ; Mon, 18 Jun 2018 13:17:45 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id l15-v6so14959299wmc.1 for ; Mon, 18 Jun 2018 06:17:45 -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=BkLenNH+/oAN3w1Hcb9Au72oWg+/A0Qx6W/hBI1DhSI=; b=twKCei7ixds9Bw6GPmqObut5O5UcYPN/aWv0YmpMZbnPVMK3RQ12j5G11g1geu4Ybj dKy8DwIKCt4QlAXb3tAGVAfvhNiEm0guVo0cYnh0u/J1omUEN5Oce2KZA0+iktzxGkuE MOlL36KHvv3b+5x+VARcq91458QULfU+ToPqiWVKLcTbFv1kjKAJMVLIq4XCSU0lgPnw KKrFEsXC3XNZzzKduGp66XtEeSSKoioAF3HZXPY3ZSLiRQ6Yg96Eab0W5WlNAUs9rbtq RF2ecranrk/ZAqtrIx4O0NTO4Qw+tdtcSj2atVJYAiWzVbu7ah6sL/INoKfODOjHgGuI 1S4Q== X-Gm-Message-State: APt69E2Jod64XLnwYuyhJXTcvXBIQ7S9KwbTWYM02Ej2bOQgjZ6eF6SS BC4lQjLlL4UnXJA4IMjHeFG2EMaI X-Google-Smtp-Source: ADUXVKI7aBEUmyEJml/Zu3HFGCEzksR274phja7mooTmDVj1cMnJahH5F+tWeFxPff63xKgUxIGS7A== X-Received: by 2002:a1c:96c8:: with SMTP id y191-v6mr8306990wmd.37.1529327864157; Mon, 18 Jun 2018 06:17:44 -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 n21-v6sm6283951wmc.42.2018.06.18.06.17.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 06:17:43 -0700 (PDT) From: Thomas Zimmermann To: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, kyungmin.park@samsung.com Subject: [PATCH 1/3] drm/exynos: Replace drm_framebuffer_{un/reference} with put, get functions Date: Mon, 18 Jun 2018 15:17:37 +0200 Message-Id: <20180618131739.16151-2-tdz@users.sourceforge.net> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180618131739.16151-1-tdz@users.sourceforge.net> References: <20180618131739.16151-1-tdz@users.sourceforge.net> 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: , Cc: Thomas Zimmermann , dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch unifies the naming of DRM functions for reference counting of struct drm_framebuffer. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c index eb9915da7dec..dba29aec59b4 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c @@ -132,7 +132,7 @@ static void exynos_drm_plane_reset(struct drm_plane *plane) if (plane->state) { exynos_state = to_exynos_plane_state(plane->state); if (exynos_state->base.fb) - drm_framebuffer_unreference(exynos_state->base.fb); + drm_framebuffer_put(exynos_state->base.fb); kfree(exynos_state); plane->state = NULL; }