Message ID | edd49fcb92af83d81df655b3db1685e8ed14380a.1694767209.git.geert+renesas@glider.be (mailing list archive) |
---|---|
State | Mainlined |
Commit | 76b1405832ac067c16997fb7ede7b2e2517aa441 |
Delegated to: | Kieran Bingham |
Headers | show
Return-Path: <linux-renesas-soc-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF5C2EE6447 for <linux-renesas-soc@archiver.kernel.org>; Fri, 15 Sep 2023 08:55:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233553AbjIOIzK (ORCPT <rfc822;linux-renesas-soc@archiver.kernel.org>); Fri, 15 Sep 2023 04:55:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233394AbjIOIyj (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Fri, 15 Sep 2023 04:54:39 -0400 Received: from riemann.telenet-ops.be (riemann.telenet-ops.be [IPv6:2a02:1800:110:4::f00:10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22CE12D68 for <linux-renesas-soc@vger.kernel.org>; Fri, 15 Sep 2023 01:54:20 -0700 (PDT) Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by riemann.telenet-ops.be (Postfix) with ESMTPS id 4Rn7KP64W9z4xr3M for <linux-renesas-soc@vger.kernel.org>; Fri, 15 Sep 2023 10:54:17 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:7135:da8b:ba1d:1a7c]) by baptiste.telenet-ops.be with bizsmtp id m8uE2A00U3q21w7018uE24; Fri, 15 Sep 2023 10:54:17 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qh4aJ-003lGg-Ex; Fri, 15 Sep 2023 10:54:14 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qh4ac-00Gdbe-FU; Fri, 15 Sep 2023 10:54:14 +0200 From: Geert Uytterhoeven <geert+renesas@glider.be> To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Thomas Zimmermann <tzimmermann@suse.de>, Magnus Damm <magnus.damm@gmail.com> Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Sui Jingfeng <suijingfeng@loongson.cn> Subject: [PATCH v4 13/41] drm: renesas: shmobile: Don't set display info width and height twice Date: Fri, 15 Sep 2023 10:53:28 +0200 Message-Id: <edd49fcb92af83d81df655b3db1685e8ed14380a.1694767209.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1694767208.git.geert+renesas@glider.be> References: <cover.1694767208.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-renesas-soc.vger.kernel.org> X-Mailing-List: linux-renesas-soc@vger.kernel.org |
Series |
drm: renesas: shmobile: Atomic conversion + DT support
|
expand
|
diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c index db9d8d440144db36..2ccb2fbfea26b5bf 100644 --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c @@ -585,9 +585,6 @@ static int shmob_drm_connector_get_modes(struct drm_connector *connector) drm_mode_set_name(mode); drm_mode_probed_add(connector, mode); - connector->display_info.width_mm = sdev->pdata->panel.width_mm; - connector->display_info.height_mm = sdev->pdata->panel.height_mm; - return 1; }