From patchwork Wed Feb 3 12:42:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 61079 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp267648lbl; Wed, 3 Feb 2016 04:43:54 -0800 (PST) X-Received: by 10.98.93.136 with SMTP id n8mr1858103pfj.88.1454503409188; Wed, 03 Feb 2016 04:43:29 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18si9144894pfi.224.2016.02.03.04.43.28; Wed, 03 Feb 2016 04:43:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933679AbcBCMn0 (ORCPT + 4 others); Wed, 3 Feb 2016 07:43:26 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:54372 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933662AbcBCMnQ (ORCPT ); Wed, 3 Feb 2016 07:43:16 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O1Z004F2202IX90@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 03 Feb 2016 12:43:14 +0000 (GMT) X-AuditID: cbfec7f4-f79026d00000418a-b9-56b1f5e1d6a9 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 9F.FC.16778.1E5F1B65; Wed, 3 Feb 2016 12:43:13 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O1Z00B561ZTMTA0@eusync3.samsung.com>; Wed, 03 Feb 2016 12:43:13 +0000 (GMT) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Andrzej Hajda , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 07/10] drm/exynos: dsi: restore support for drm bridge Date: Wed, 03 Feb 2016 13:42:51 +0100 Message-id: <1454503374-16382-8-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1454503374-16382-1-git-send-email-m.szyprowski@samsung.com> References: <1454503374-16382-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprALMWRmVeSWpSXmKPExsVy+t/xq7oPv24MM7hzyMDi1rpzrBYbZ6xn tbjy9T2bxaT7E1gsXty7yGLx+oWhxYzz+5gs1h65y24xY/JLNgdOj/vdx5k8+rasYvT4vEku gDmKyyYlNSezLLVI3y6BK+PQ94ksBX3sFdN7+BoYO9m6GDk4JARMJObP8Ohi5AQyxSQu3FvP BmILCSxllPg5Ja6LkQvIbmKSeLD8AyNIgk3AUKLrbRdYkYiAm0TT4ZmsIEXMAluYJNp3bWQC SQgDJdr2dDCD2CwCqhKzPxwBi/MKeEi09z5hhtgmJ/H/5QqwOKeAp8Sejk4WkIOEgGrm3PKf wMi7gJFhFaNoamlyQXFSeq6hXnFibnFpXrpecn7uJkZIOH3Zwbj4mNUhRgEORiUeXoYfG8KE WBPLiitzDzFKcDArifAafd4YJsSbklhZlVqUH19UmpNafIhRmoNFSZx37q73IUIC6Yklqdmp qQWpRTBZJg5OqQZGjbBD82x6e7cErFC/Ju98Onr2k+Ll5yp/NMacP6y7zXfClEozjafxAr/+ ZckZTfeQVPk3P8d6Ptf9YG291ARXJYuevZ6PWspUqlzfKD639Vo5/4XoyxDTqKscH70EBGvV Vl6x3RBocm1rnXXPC9fcp19yc9dun3z1T8IVI+Xk8GzOJVO3nZ2ixFKckWioxVxUnAgASR7z KCMCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch fixes issue introduced by commit cf67cc9a29ac19c98bc4fa0e6d14b0c1f592d322 ("drm/exynos: remove struct exynos_drm_display"), which removed assigning of drm bridge to drm encoder. Lack of it caused that no bridge callbacks were called on encoder enable/disable actions. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1 + 1 file changed, 1 insertion(+) -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index d84a498..5941650 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1782,6 +1782,7 @@ static int exynos_dsi_bind(struct device *dev, struct device *master, bridge = of_drm_find_bridge(dsi->bridge_node); if (bridge) { + encoder->bridge = bridge; drm_bridge_attach(drm_dev, bridge); }