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: 10871027 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 CE7E4922 for ; Tue, 26 Mar 2019 13:20:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8C0F28F9D for ; Tue, 26 Mar 2019 13:20:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACC5629103; Tue, 26 Mar 2019 13:20:33 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F76928F9D for ; Tue, 26 Mar 2019 13:20:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726177AbfCZNU0 (ORCPT ); Tue, 26 Mar 2019 09:20:26 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:34525 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbfCZNUZ (ORCPT ); Tue, 26 Mar 2019 09:20:25 -0400 Received: by mail-ed1-f68.google.com with SMTP id x14so8073756eds.1 for ; Tue, 26 Mar 2019 06:20:24 -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=Wlw850Ol09gXiS5OezWufBaTZFEpxFEjygDiXfUSxy6LUGymIXZaMamTTDrdKZ3aAn PFEINwMD/0Lk8T80O9TBA+DvK3UsaA3plcBpGR9YYV57T5uVPzaAfFIyxdGjJapbx/cz op6AGv1ckZzCtRGN8n5sVI5rnkNMoTTd/7UA1I4aWfjogmPoSiLJxRXJMyrwU7QzlaoK mEnCVN2is01VmH5OqU4I6iWs2S8oSWWx1qAuBXeC5lYnfUxUUxzDzKQkKgmYcLTsJaoJ /VMDzX7f1aYBSTAP0o5XANZxeo1DM33gF/otj2oXXyJ+Yb00FKsKZi6OpXN2OO10fDCA HgPA== X-Gm-Message-State: APjAAAV4OJJqBH4WwvgKjz8T/KGAX/wcqUcm4GEJuchT9pzZlcihQlpt FGMh3+BAHtan38kmoM5xhnbX0g== 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 Cc: Intel Graphics Development , Daniel Vetter , Daniel Vetter , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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;