Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1305808ybt; Thu, 9 Jul 2020 03:55:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1yKYlvHkxqEVwg7uqLn1txp30xsqDs2xYfj/A7tcYeTRRs2iZnwoeyLaRn+EujQuIyGHH X-Received: by 2002:a05:6402:16c7:: with SMTP id r7mr53895449edx.288.1594292151667; Thu, 09 Jul 2020 03:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594292151; cv=none; d=google.com; s=arc-20160816; b=LkisFVg7MQq9IEjOoPHZgPiCJL1JIxk00wDAYlMiPEsDYW7xOsh0Tju9NijcXb42cM m+/ea9rf+fcSDkOhsZ8bwC8zRayax9uX8OsfgRTP4CtOHENCYkQdeXjyxdBraqC4Ny42 JK/hMC7d71IOwkkhp3T1QBv1rs0WmMfq4HYopIq87dG1+JRUATMa203xnYxfuDsaSWnt tiwG+SCUyC1zp8lqmnPn9bDREfAvqApquiugWgTCwQAJhML1CHYaKPbZUZClktJp8BSZ QlHMSFCZMjAifMBSfs7w1/g4W4xjyHz5foVC9Jo8jXJnIuloKUW0xeKiHJvF4Nqeh6oL B/cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=8jlpCZl1TobgV+//6lXJJ6AlVggyEa4WX4opaOqLqYQ=; b=Y0vJYBvwD8RJ9m+/qJLPDefo7VFIqYW83G29U9xcJvfsOUlEAqhe7pROpiiGRC8vvH BJlFFpgG+CKgPH2rjG7O0GdJL1XGCbJfWrqBYu+YV9zaogssE0wdlY5sllXSyQHb7znX Hlge+1gWc1TD/FNHUdMgiTnxWuiG/S/IgsU8YgXNRj3LJeO2QXBfhkpLpRqGDgDLPW5I ADCVvlqcKnoFxntr/dWTwTN3F9d2VF3wqYlGi1b94ISWr9xqemCd5RwHqcbzbyjdl4S8 +VtK5PqrHt+hQmcQw4Klj/QlC1KHrvpVrlLYqNKBgwoqhO+LPQNn/A+vGq2j/u2i4bsI Gqxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm22si2032432ejc.535.2020.07.09.03.55.29; Thu, 09 Jul 2020 03:55:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726831AbgGIKzK (ORCPT + 99 others); Thu, 9 Jul 2020 06:55:10 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:57194 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbgGIKzK (ORCPT ); Thu, 9 Jul 2020 06:55:10 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id EF41C2A6383 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org, Collabora Kernel ML Cc: narmstrong@baylibre.com, matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, a.hajda@samsung.com, boris.brezillon@collabora.com, laurent.pinchart@ideasonboard.com, sam@ravnborg.org, Chun-Kuang Hu , Daniel Vetter , David Airlie , Philipp Zabel , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 0/2] Convert mtk-dpi to drm_bridge API Date: Thu, 9 Jul 2020 12:54:59 +0200 Message-Id: <20200709105501.1465636-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The mtk-dpi driver still uses the drm_encoder API which is now somewhat deprecated. We started to move all the Mediatek drivers to the drm_bridge API, like we did for the mtk-dsi driver [1], this is another small step to be able to fully convert the DRM Mediatek drivers to the drm_bridge API. A dummy drm_encoder is maintained in the mtk-dpi driver but the end goal is move all the dummy drm_encoder (mtk-dsi, mtk-dpi, etc) to the main mtk_drm_drv driver. [1] https://lore.kernel.org/patchwork/project/lkml/list/?series=441559 Changes in v2: - Maintain error message when attach to bridge fails. (Boris) - Drop the third patch. Enric Balletbo i Serra (2): drm/mediatek: mtk_dpi: Rename bridge to next_bridge drm/mediatek: mtk_dpi: Convert to bridge driver drivers/gpu/drm/mediatek/mtk_dpi.c | 77 +++++++++++++++++------------- 1 file changed, 45 insertions(+), 32 deletions(-) -- 2.27.0