From patchwork Wed Sep 20 10:31:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 13392511 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 273B5CE79C4 for ; Wed, 20 Sep 2023 10:32:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=kLqYfYYvLRtI30lvLWWyWTRGnqEgDtdImLBEUmGMoSw=; b=O1B2RGDVbMTqSh pULgIZBOB6QdBG3OI+TQRAnkZTXaa2Ti48awI99thKsclNiOhLntyZ3dezEnrK2ZZ4CgtItqICbQP qD/+1H5aLZ2YzPa/dlwmpMUqi75mes0Tsz8eHelhPHQKIKcTZToZuwItW44lBDUhmBd57qZvOR2cS ZD7Yf2nlO0PxB13jJDc/aAOp25fY+3HiuG9hCDh6n5z2yjGNicKxVx753h9RYClfSRsEzKK1IQTUf VE6DRLxuBxtdGh9Vs1mYtW1+HqVbnBh8buWERpVP1pOQauG5z/CNaoB9OJtgz1ee/4wIyu+7dQpRj eZ9ySjICJBuIPgJnsvjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qiuUb-002cCr-1E; Wed, 20 Sep 2023 10:31:37 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qiuUY-002c90-0a for linux-arm-kernel@lists.infradead.org; Wed, 20 Sep 2023 10:31:36 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qiuUR-0003mO-Ps; Wed, 20 Sep 2023 12:31:27 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qiuUR-007fJ0-2A; Wed, 20 Sep 2023 12:31:27 +0200 From: Lucas Stach To: Marek Vasut , Liu Ying Cc: Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, patchwork-lst@pengutronix.de Subject: [PATCH 0/5] imx-lcdif modeset changes Date: Wed, 20 Sep 2023 12:31:21 +0200 Message-Id: <20230920103126.2759601-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230920_033134_219798_83035430 X-CRM114-Status: UNSURE ( 7.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This changes the modeset flow in the imx-lcdif driver to work better with runtime PM and get rid of duplicate hardware setup. This series is a result of looking a bit more into the issue and feedback received on some earlier patches [1]. Regards, Lucas [1] https://lore.kernel.org/all/CAOcKUNWMU6tjWwtnU+COggrr--G19EvZaHrxAp0-0i5dK394jg@mail.gmail.com/ Lucas Stach (5): drm: lcdif: improve burst size configuration comment drm: lcdif: move controller enable into atomic_flush drm: lcdif: remove superfluous setup of framebuffer DMA address drm: lcdif: move pitch setup to plane atomic update drm: lcdif: force modeset when FB format changes drivers/gpu/drm/mxsfb/lcdif_drv.c | 18 +++++++- drivers/gpu/drm/mxsfb/lcdif_kms.c | 68 +++++++++++++++++-------------- 2 files changed, 55 insertions(+), 31 deletions(-)