From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6665BC433ED for ; Mon, 10 May 2021 15:19:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 37A2361139 for ; Mon, 10 May 2021 15:19:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230486AbhEJPUG convert rfc822-to-8bit (ORCPT ); Mon, 10 May 2021 11:20:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231394AbhEJPSM (ORCPT ); Mon, 10 May 2021 11:18:12 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C3BAC08EAEF for ; Mon, 10 May 2021 07:47:19 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lg7Bb-0005Em-Ef; Mon, 10 May 2021 16:47:07 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1lg7BZ-0001jS-In; Mon, 10 May 2021 16:47:05 +0200 Message-ID: <6dc43e369107d470d85dc541dc67432744bd4d01.camel@pengutronix.de> Subject: Re: [PATCHv2 2/5] drm/imx: Add 8 pixel alignment fix From: Philipp Zabel To: Sebastian Reichel , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Rob Herring , Alexandre Belloni , Alessandro Zummo , David Airlie , Daniel Vetter , Miquel Raynal , Saravana Kannan , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-mtd@lists.infradead.org, kernel@collabora.com, Boris Brezillon Date: Mon, 10 May 2021 16:47:05 +0200 In-Reply-To: <20210428222953.235280-3-sebastian.reichel@collabora.com> References: <20210428222953.235280-1-sebastian.reichel@collabora.com> <20210428222953.235280-3-sebastian.reichel@collabora.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sebastian, On Thu, 2021-04-29 at 00:29 +0200, Sebastian Reichel wrote: > Some standard resolutions like 1366x768 do not work properly with > i.MX6 SoCs, since the horizontal resolution needs to be aligned > to 8 pixels (so 1360x768 or 1368x768 would work). > > This patch allocates framebuffers allocated to 8 pixels. The extra > time required to send the extra pixels are removed from the blank > time. In order to expose the correct display size to userspace, > the stride is increased without increasing the width. > > Without this patch systems with this display resolution hang > indefinitely during boot up. > > Suggested-by: Boris Brezillon > Signed-off-by: Sebastian Reichel Thank you, I've rebased and applied this patch on top of imx-drm/next. regards Philipp