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 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 04F80D711D5 for ; Mon, 22 Dec 2025 09:42:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4v+w9CPYJEPXs3YxAAuS8q/mpHCHhgqqzQWL+Q2HXy8=; b=wwKPQAtvujkdDvktzyjG461Btr lV1RHG5FYfNzbttqx2iHA1QWIFjEqjX7oSkU3rpzZ+U7chTd8+DzL9nPNCMqI0MxvFzq6nXVDYodL 30ACklbh9j2PfF9XyGpzXWE2dXOBoFIgh3Xyf240gqOw/wKnwsjJr0SQhUcbi/qDZC9JKBwVY/B/T APMEI1NUDBnAQw4MBpckvdILLQPzuOM3ulQN5ATHhwz7y9eFz3fHi8ZHvpeU3Nl1nyqfb+2kMzj5j sNseD8F80DXpO4u4zkus36j4kGoyqYGVbsNQ87lnJwAOGaWUCyTFYFH4KgXbh7UDMb93IjGOGArf+ NZ91vYeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vXcQj-0000000DXAG-2pnO; Mon, 22 Dec 2025 09:42:17 +0000 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vXcQg-0000000DX9T-2nZ6 for linux-arm-kernel@lists.infradead.org; Mon, 22 Dec 2025 09:42:15 +0000 Received: by mail-lf1-x142.google.com with SMTP id 2adb3069b0e04-594330147efso4466603e87.2 for ; Mon, 22 Dec 2025 01:42:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766396532; x=1767001332; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=4v+w9CPYJEPXs3YxAAuS8q/mpHCHhgqqzQWL+Q2HXy8=; b=WMXq6DxdtT8nobi1eQal9oJGVDcXwPoW3QJHQ2HS3Px0nwWxgApE0a2tQyqe5xiLYc lV+Nt1KHxfoot339yVNYqda8sATOiAGbJ1J3e+S8riZy6WpIOnwr/z9QEOI0PFBQzmpO xD+vBzHDl970rNJRNTrqLnV0/yhSx/BN/Nxn2GAGydD9usOflRx/5Pkh4GJ0x+4pDI7I RBk7wwiFoKeGmFoYdc6Sup1myR8xIUd+F1mtX3wDSxV/aQgwo/5yfY9ye38JDonlF8ud xuMjjjdX3kCwSw2wiXkuRN+kBSIcm1N/W+in/La8L72XsEz/emOCKtFCPavKgpE1RaDJ uo3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766396532; x=1767001332; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4v+w9CPYJEPXs3YxAAuS8q/mpHCHhgqqzQWL+Q2HXy8=; b=QMQDqv3PmMBFuTBM+l0Mn74nh1aQf+QsVOtqXa0fjCCHDtuC2qBu8x6gn7gmU91t+s tdsN5bIfq+fKpACUKEbR/GzMgC890Ykg9Sr4zoPzh06y0gM+E/cPxnIEZ2rbEQIVFQsY 9LfSD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: by 2002:ac2:4e08:0:b0:594:93b8:88b6 with SMTP id 2adb3069b0e04-59a17db705bmr2948525e87.38.1766396532340; Mon, 22 Dec 2025 01:42:12 -0800 (PST) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59a185d5e32sm2958869e87.8.2025.12.22.01.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Dec 2025 01:42:11 -0800 (PST) Date: Mon, 22 Dec 2025 11:42:10 +0200 From: Mikko Rapeli To: Sean Anderson Cc: Laurent Pinchart , Tomi Valkeinen , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Mike Looijmans , David Airlie , Thomas Zimmermann , Maarten Lankhorst , Anatoliy Klymenko , Maxime Ripard , linux-arm-kernel@lists.infradead.org, Simona Vetter , Michal Simek Subject: Re: [PATCH 0/3] drm: zynqmp: Make the video plane primary Message-ID: References: <20251113203715.2768107-1-sean.anderson@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251113203715.2768107-1-sean.anderson@linux.dev> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251222_014214_755696_8AF8C8CF X-CRM114-Status: GOOD ( 16.61 ) 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 Hi, On Thu, Nov 13, 2025 at 03:37:11PM -0500, Sean Anderson wrote: > The graphics plane does not support XRGB8888, which is the default mode > X uses for 24-bit color. Because of this, X must be set to use 16-bit > color, which has a measurable performance penalty. Make the video plane > the primary plane as it natively supports XRGB8888. An alternative > approach to add XRGB8888 to the graphics plane is discussed in [1], as > well as in patch 2. > > [1] https://lore.kernel.org/dri-devel/20250627145058.6880-1-mike.looijmans@topic.nl/ I've tested this series on AMD KV260 running Yocto genericarm64 machine config and core-image-sato with Xorg. This series fixes HDMI output using X11, no need to configure Xorg to 16bpp as workaround. Tested-by: Mikko Rapeli That said, I also tested https://lore.kernel.org/dri-devel/20250627145058.6880-1-mike.looijmans@topic.nl/ and it works. And I tested and submitted the patch for zynqmp framebuffer to prefer 16bpp until different modes are actually support, which fixes Xorg startup and the depth detection logic used there: https://lore.kernel.org/dri-devel/20251205123751.2257694-3-mikko.rapeli@linaro.org/ This series and Mike's patches enable 24bpp mode to work, which I guess is the long term path, but it is not clear to me what is still missing. The patch from me fixes the current situtation where only 16bpp works but framebuffer driver does not prefer that and thus userspace X11 uses the default 24bpp which then fails. My patch could be merged right now until the XRGB8888 support is finalized. Cheers, -Mikko