Message ID | 20220720155210.365977-2-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBROJ4CLAMGQE7E5JS5A@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CE83D3F03E for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 20 Jul 2022 17:52:38 +0200 (CEST) Received: by mail-pg1-f198.google.com with SMTP id 134-20020a63018c000000b0040cf04213a1sf8595797pgb.6 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 20 Jul 2022 08:52:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658332357; cv=pass; d=google.com; s=arc-20160816; b=xqza9XIRlesoLf6LcWU+fC/Xl/indIzz903ZxVQZHRlBX8QkU5PBu6XUUrh04sTM4F zWenwQo5gQv+/AsF0s1XDLuRUkIFn+AqQgIwhD5Yvx9moh+2USuGx+BFjoLiWz43QP7a sHxxishoHbQCbKp54wRr0lgl4N1DrdNrVkWp6KHoY1b5ApDnN94iUac4Xz46S941bGlt 15CFeGWRfx8d5Xduclv9OxjH5R1VTCO2NSX2T+qheE8R+sXnP/lqEUSPTvblwb0qGyD6 O2Miv6KR6iq09WiX12DDLxXcl8p1HSPonLe/xkWB3Z+ivKgtmx6Web9nxN11DRVXqm+1 ayrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=CAXIU04Rf5XUduslywZLGlM17dKxU71dhAtRO2Gn7rk=; b=XanzJo6MU8TVIkG6/8Ddw1qItyxEcKEXqbWM7VYoA/Nc6TPYXrITWXkAZGDaZ5klUN 9KzxQjY9LGtghcwNfCQrPhHSN02PTHTQKBWpOHrxBN0SzGQDtchZ0hAXmeayL/zC/h06 tQY4IW31ne/yWKJmcHu2IqZSeCS0BgC3DUjy8HrluiwT6xiY3P96xYoCtHQFM3ZBgLp1 1bwsElTOxAMZfQVG/6mRzrVDQh84+d0phJMjLACPDGIPZTLPWxOzAmtdlo/4KNWoKc4A TWWP0ddy45eBTV+uvseg0J/Zg7GxhpME0juH5/pEOupIuGWkF4HiSMH0obAsH25IjK3T njXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AR1YQry5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=CAXIU04Rf5XUduslywZLGlM17dKxU71dhAtRO2Gn7rk=; b=ncQKavhv038DBJ7vnFSdRD+4tXCQIqZrysXhqSxdh04+Gv9YZwtbbaK8t3jWD9RmjW zAWXn/HiCCdw1iXdvyMB7D3jZp+Jy1c7QDzZ8ACYnAtlF55qr9zhocKcn5F/Sw1+zoGq Ae74OOQORe3IphPZmEJLQ+KOYIuKNV08fPxH8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=CAXIU04Rf5XUduslywZLGlM17dKxU71dhAtRO2Gn7rk=; b=hEmK6+xLSBaMk4Z0qZVPVgJGYg+8o5gSyaomdSnkKIeDYTLG0RfeKj6TpGwQTa5P4y +mmHoX4zCWywG961hbxvJreNzakYAmmAGudfouKkRYGY6972rAgQH9zxwSMr9nBHRaFZ yIly/Y9Dn/1Vlwl4LvbfLI8Vor6/TghgugQkj4pxG+godc3SSC9333OnIYHjeGfljxQ7 RTVMe0BgLR6pVvN9gUsq/IG/yrIchIAqs47YfHi0RyElLffVBGcnfYPmJ+J3krXs5UtH J5B1xiSwS42RIhRGGNKiwcSVPwnFEfgXb4aYf5CYfImejNdE71+C8oX7stmJiX/gUpwQ lG6Q== X-Gm-Message-State: AJIora+HV5F6aUr7EWw3W1QAi60S5Rm8JgC4ioHAQAOcp30zR3f9bW4l ihV9fjR1X8n/pZZ7UMU7IijQtiuv X-Google-Smtp-Source: AGRyM1u4zYRSkv9ueuqzim60e/Rn8NcN9xKMc0qaRpMmr123XI6NsbGzKYz3YXLujehQko50joI5Xg== X-Received: by 2002:a17:902:db03:b0:16c:3eff:b503 with SMTP id m3-20020a170902db0300b0016c3effb503mr38931251plx.151.1658332357573; Wed, 20 Jul 2022 08:52:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d382:b0:16b:ea78:4ed8 with SMTP id e2-20020a170902d38200b0016bea784ed8ls1623338pld.6.-pod-prod-gmail; Wed, 20 Jul 2022 08:52:37 -0700 (PDT) X-Received: by 2002:a17:902:cccf:b0:168:e13c:5cd9 with SMTP id z15-20020a170902cccf00b00168e13c5cd9mr39969609ple.53.1658332356740; Wed, 20 Jul 2022 08:52:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658332356; cv=none; d=google.com; s=arc-20160816; b=yPR91Wa8t0x+CLYuvkUUEikHPa4ignTJU6A47DeBs3BV243Cj0iTZr+P3+WLpeadRT OysZ76O9QDhFhWmYtLLlQMiHSRCMXUrFo2O007alhxryuHb1IAp+YHhJVzKaIBJ+T/Wi Husys65fFGK6DPsQZRXUYzZfMt6MPWjKo1DhtNOJGk/U8v7XekzqKInCMvpMzMLYVduS 8m3Mt+yj8v21sIEB2KIJaEjzKFch+Y1b1tXkM+C44Mhn1JRXEgWShdkC3vJsutk/8oDu gFkVcam5H6nBCegIicvRpxZ1o03zt079zYzcpWtAEbHqNNy8LM3Grxb+40IKD97sD1oy gmmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=2R5fsiZtZGlt+FobiR6W0jXlK1PNk4NpdanB+YrtTj4=; b=IMJLrSEpdpqYeSPjClCwtatut7BHplZJxzaHw6PVO1bQ19mRitSg4/yQywkytlGdpU DDd687m+VLV/biy232biiUqeX64KI37M8elL8ksPl9OLlOdFMZ4pTE2tLM/ivq39IFhy nl3WwvelcCMkWAvwn3hDqUOwqIbFItkCoJtGX01+HL4GlQ0CGSf44qaLbSZgcviiRa9X 9aECOaqh/GfdQgNz5ymexLPLCm5zsQwMPzZ9DugIHmpJiWZbmjy1WiA1eq+310TMGYbu NalTTUGfB2yCmRsHULc04gnJS8czw3G7RI6qW3oBK+ww9ZDkbrVbeISj8+PRpHT6tZob lesQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AR1YQry5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id o18-20020a170902d4d200b0016bfcb9e572sor7389430plg.72.2022.07.20.08.52.36 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Wed, 20 Jul 2022 08:52:36 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:7d92:b0:16c:54a4:bb2f with SMTP id a18-20020a1709027d9200b0016c54a4bb2fmr39962044plm.158.1658332356419; Wed, 20 Jul 2022 08:52:36 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:d177:d5:aee:4f03]) by smtp.gmail.com with ESMTPSA id a8-20020a170902710800b0015e8d4eb1d7sm13919198pll.33.2022.07.20.08.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 08:52:36 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Andrzej Hajda <andrzej.hajda@intel.com>, Inki Dae <inki.dae@samsung.com>, Marek Szyprowski <m.szyprowski@samsung.com>, Joonyoung Shim <jy0922.shim@samsung.com>, Seung-Woo Kim <sw0312.kim@samsung.com>, Kyungmin Park <kyungmin.park@samsung.com>, Frieder Schrempf <frieder.schrempf@kontron.de>, Fancy Fang <chen.fang@nxp.com>, Tim Harvey <tharvey@gateworks.com>, Michael Nazzareno Trimarchi <michael@amarulasolutions.com>, Adam Ford <aford173@gmail.com>, Neil Armstrong <narmstrong@baylibre.com>, Robert Foss <robert.foss@linaro.org>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Tommaso Merciai <tommaso.merciai@amarulasolutions.com>, Marek Vasut <marex@denx.de> Cc: Matteo Lisi <matteo.lisi@engicam.com>, dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team <linux-imx@nxp.com>, linux-amarula <linux-amarula@amarulasolutions.com>, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v3 01/13] drm: exynos: dsi: Restore proper bridge chain order Date: Wed, 20 Jul 2022 21:21:58 +0530 Message-Id: <20220720155210.365977-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220720155210.365977-1-jagan@amarulasolutions.com> References: <20220720155210.365977-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AR1YQry5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index ec673223d6b7..e5b1540c4ae4 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1428,7 +1428,8 @@ static int exynos_dsi_attach(struct drm_bridge *bridge, { struct exynos_dsi *dsi = bridge_to_dsi(bridge); - return drm_bridge_attach(bridge->encoder, dsi->out_bridge, NULL, flags); + return drm_bridge_attach(bridge->encoder, dsi->out_bridge, bridge, + flags); } static const struct drm_bridge_funcs exynos_dsi_bridge_funcs = { @@ -1474,7 +1475,10 @@ static int exynos_dsi_host_attach(struct mipi_dsi_host *host, drm_bridge_add(&dsi->bridge); - drm_bridge_attach(encoder, &dsi->bridge, NULL, 0); + drm_bridge_attach(encoder, &dsi->bridge, + list_first_entry_or_null(&encoder->bridge_chain, + struct drm_bridge, + chain_node), 0); /* * This is a temporary solution and should be made by more generic way.