From patchwork Thu Jan 24 16:58:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 10779551 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 967161515 for ; Thu, 24 Jan 2019 16:59:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 157E0304B4 for ; Thu, 24 Jan 2019 16:58:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0736130586; Thu, 24 Jan 2019 16:58:59 +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 563E5304B4 for ; Thu, 24 Jan 2019 16:58:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727658AbfAXQ66 (ORCPT ); Thu, 24 Jan 2019 11:58:58 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:41785 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbfAXQ65 (ORCPT ); Thu, 24 Jan 2019 11:58:57 -0500 Received: by mail-ed1-f67.google.com with SMTP id a20so5143532edc.8 for ; Thu, 24 Jan 2019 08:58:56 -0800 (PST) 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=RtsztvXLlPailp5EdBbJQywHawsntMUfvlxqGQH2rkw=; b=fZjAqFlqSg6v5+lJjSiTqeAUnP5qtmrqdWq+flkVtLaU5JN4osTx2pWVLEY/Lh67QM 5iHmXEHqwEy+ElawGFg/v4kYJFgNEr5pMcKsqA091w2YriwD3DWspb7Hpbu8n1MC3nYy h6D8wM8RTDB//B07vmcSW/zsJOCEZqHad9oKY= 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=RtsztvXLlPailp5EdBbJQywHawsntMUfvlxqGQH2rkw=; b=paFAHhNQeojzx0cnwjeFgTIVtl9HaGAWj15SIfWXMBIyK/yx4kbqdrH6zpGHR3ZsxS a8wHvHFECc64or7w1BB2S23fdvAIWNW37n7LxBI4JYk0C1smpJ6e2vOaAAR4mLxAPb98 U9oLMBlcC3fWSlrLYhSmlosjlT4mrSpNUAgwurvcwj32NZa5jojhBCAeIqg5Yqb2BAk6 yKz36t4gZkBR3AzWdZcSrFNhD9BI2U8Trqhzs97oGam7iMfNdq7MOm3VrxuUM5xE38LY rl9OavCcTUaMYM68Qithu7IwYYj2MqvQyBnfoDtuELpw9NB5CyitwG6fKPH0PK6tE68P bOGQ== X-Gm-Message-State: AJcUukde+ZpVBC8hMSf4PT78/u5l7zXrKFb9BrrUx4nt4AWnva20qg2Z o0tuG3t4jafOFVTlEcl6TmSQ+w== X-Google-Smtp-Source: ALg8bN6XLngT/BZgEYaXUVr0kFk6qrBU1PJ4qhynxx2maGLbkKn9LGXI6pFeyghvMMmS3LX9gqOedA== X-Received: by 2002:a17:906:55b:: with SMTP id k27mr2203798eja.78.1548349135976; Thu, 24 Jan 2019 08:58:55 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id w31sm11219233edw.82.2019.01.24.08.58.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 08:58:54 -0800 (PST) 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 11/26] drm/exynos: Use drm_fb_helper_fill_info Date: Thu, 24 Jan 2019 17:58:16 +0100 Message-Id: <20190124165831.16427-12-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190124165831.16427-1-daniel.vetter@ffwll.ch> References: <20190124165831.16427-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! 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 --- 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 f057082a9b30..b2018961b9cf 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c @@ -87,12 +87,10 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper, return PTR_ERR(fbi); } - fbi->par = helper; fbi->flags = FBINFO_FLAG_DEFAULT; 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); nr_pages = exynos_gem->size >> PAGE_SHIFT;