From patchwork Tue Mar 26 13:19:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10871069 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 3E6C4922 for ; Tue, 26 Mar 2019 13:20:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2513928FCF for ; Tue, 26 Mar 2019 13:20:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22F0029076; Tue, 26 Mar 2019 13:20: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,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B478329021 for ; Tue, 26 Mar 2019 13:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PIil+KrkZ4WG5G+XSk55Isf6ajNXf8nrn9E4Zc0Prh0=; b=LWg8msuan349FM cVDOJUQHZyHwvaaLxklBfwUM3rW2dNxdxwICihOX6sUsT16VlcKDzCasZVbWXsslAebcZwlFEWj7F 54FPvJkeABvx/hv6uoWTfvtjW96n44w0prfTwZhWhYp+Gf8A972Q2nvua5OIYTs+tDmESk3++hxUn sQVXx3iiZh53zEqZzCBSfDXAigsZfTdX3y92nhJP2k0vz5Oh/sbkcmSMDQOCNmlEZzAao/eFdp5cl 4C+V2zwU1T30Q2+iPm7IxGZ14ETvf9dDufq8e1zu3yQQSzKoBjT19TrX0JhgprmSOhT9QB7s/hfTC E+hxQt4C5eRMQIgq/YJQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8m0X-0007J8-36; Tue, 26 Mar 2019 13:20:49 +0000 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8m0B-00070V-Bx for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2019 13:20:33 +0000 Received: by mail-ed1-x543.google.com with SMTP id s16so1477141edr.3 for ; Tue, 26 Mar 2019 06:20:25 -0700 (PDT) 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=ilCJqFN4ggJPlU4f9v6FlF2gf4L81PyPhf7livHmmIo=; b=MKRvr5X07odWY6mQX6ZKmPhPgkl4hvbxHhqLMEq8AKktAG+KtFKW7lQPoMmLf461Fw 40kJFdqd+05HwJPd2R3ko3cHnKlSrWPxMJaoF6EDI/4drBrId4DByTkYIiV3S+4gKryM aVi4PAEByd8hyeR0yIM2kDrWJtLzxfu9C87DI= 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=ilCJqFN4ggJPlU4f9v6FlF2gf4L81PyPhf7livHmmIo=; b=UGFgEYlvNONvjjrdvxDiCoL3f/EJ3UjCMOrXi6517GDNiifiwrhQ9/ESEYjc+ZWjac iHMwcJG/jmiw4CdiJktlmhqOiTpEz9wt8vzQRBuCnW7hvnhSpKYmWxJHUZ8zEK/5qio9 K9azrwQkMa1tkdZlo0g28p2pzeP11dp1ybRveG7kINlCrdmo9+yljHTw76szW6y2A1sY dHOIaPNlFeVow38HXK4IWAM1IQI2Lqb1Fc83p8OcvLevePcxcn4MSeEoYp8VnZFGpZT9 iI0VJ5tomYqkRGHVV7ox9MzxHzOvP+LAWgHcmbHIRJbf5h3G6CuEpEcnLxaBle2y/uGz EWxQ== X-Gm-Message-State: APjAAAVaxNNIeQJ1UkW0XjCrRnG0EYekXCfUhMjRmDAnhDS+hebg+b99 2/E7mxYEKEbWoGef2C2Efhd/SQ== X-Google-Smtp-Source: APXvYqy9Urr6lst4OcBOf1rk6f5IIgZnE3KancxLcn0qD6fnSPelHj/L8GzdMNAQEvQVscSSsGaMPw== X-Received: by 2002:a50:d750:: with SMTP id i16mr20555277edj.202.1553606423973; Tue, 26 Mar 2019 06:20:23 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id d10sm3668547ejh.66.2019.03.26.06.20.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Mar 2019 06:20:23 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 08/21] drm/exynos: Use drm_fb_helper_fill_info Date: Tue, 26 Mar 2019 14:19:55 +0100 Message-Id: <20190326132008.11781-8-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190326132008.11781-1-daniel.vetter@ffwll.ch> References: <20190326132008.11781-1-daniel.vetter@ffwll.ch> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_062027_469566_A6E3D358 X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Joonyoung Shim , Daniel Vetter , Intel Graphics Development , Seung-Woo Kim , Krzysztof Kozlowski , Inki Dae , Kyungmin Park , Kukjin Kim , Daniel Vetter , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This will give the exynos fbdev a name! v2: Rebase Signed-off-by: Daniel Vetter Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Reviewed-by: Noralf Trønnes Acked-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c index c30dd88cdb25..581a6a207995 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c @@ -87,11 +87,9 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper, return PTR_ERR(fbi); } - fbi->par = helper; fbi->fbops = &exynos_drm_fb_ops; - drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->format->depth); - drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height); + drm_fb_helper_fill_info(fbi, helper, sizes); nr_pages = exynos_gem->size >> PAGE_SHIFT;