From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BAFF2FFDCC for ; Mon, 22 Dec 2025 09:42:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.67 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766396536; cv=none; b=pMNQkXZsCyMdTiwLNHqgwnwqw9fK618NybQfrm9KJov9aT1NFG0yJ4MfcpjQAGW0VRQrVlN93Ta20hA262LDVs9H7U6NEmif52pj+RW82/elaroD6DuYbj0E7v4ZDlwoYfTW6StyS5Ba9+seCMbJNTHbCeqcVySZ+Asm5UmGZLw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766396536; c=relaxed/simple; bh=AO36YQSUt+AsQu5jGzvjAK4KNqw8OsJxcvD8dUj1mHo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XP8TMSzEKI5d3sDIRKkMz2W+peMnU39rUcx4RzOSd5S5FtmjheINx6vwVdwRktTGJxEWpo1zcPHM1ZKaK55iGg52GOesygux202pN+DbnUf3iLGYCLGY+Bp4FbErgngDJcHlq7boh+xOEaKeA+YrJK/2ZnznUFG9g50Te3CsVRk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CH5gd+G3; arc=none smtp.client-ip=209.85.167.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CH5gd+G3" Received: by mail-lf1-f67.google.com with SMTP id 2adb3069b0e04-594330147efso4466600e87.2 for ; Mon, 22 Dec 2025 01:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766396532; x=1767001332; darn=vger.kernel.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=CH5gd+G3a8bmXjIjJlys3hFyf7fwBcE3IdA7saf8TQaahCO1u3CDOUCMFjXdpV+Y1l CE4FZg/i9XvHvOkG6Fr06MEOAknoRegKdSMa30Wp8L6nwd7p/uaul+oz5DV74BEdtozk nZQAW/b5Wu8gZZwB38Yqs7dqMEfzVm5WOSpzNiGeTZJgqC0GRzece8Jrf/NSVHPowJW2 ALt0OHJcz4sw+U2wt/QPmtiv1nFKVrVjmsSkWHQ+tTgOC/K7UxM3cFiB0DkLmvQcSwRT qk5BShaRLRPpg/T7PCf3nwvoZsolir4h5duT6MnDzgXDCIrE8nU5eco3WniEP8RtnNqk tWxQ== 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=pHX7eCXFRXfSqficpsFYD0rocpandCID/8CQPEq2u/92zTUnmDdnAQ+blvY/4wq9O/ W2Y4LIrUgJfkCxD0ntHRfn62X1eON5QaJbojhB6ilz2W3b0aM/hUVVvoRpOxdU/yw5Vi 061knWUeHQCLQZBzBm+qQ4PCQPyOvgR4sRJPa2RhwMp60igZVvMgoGaCt66BMxEu5ayQ ypmUf6nSyIKt1+w8D8wy0yOB3IS/1AKzbAtP4oFgfv9KRAQBdmfkqaMcFWjEs00W1MxM ySrN0ZUiMpjQ0B47l/tA4+kPseow79YZhlCqhGvhPIrYv/4JOLD2qKpRkiOHZMnvUVx8 EbSw== X-Forwarded-Encrypted: i=1; AJvYcCX5Q4mmfIcF8Zk1tM3CC45Xz8KkdpyA70LiqNjmv1CXc9+UcrdkaQ1sqgmhMCt6V5cNhwiaMyFjCQSQiVA=@vger.kernel.org X-Gm-Message-State: AOJu0YyOWp9U9FWI9shdP/3UHjfzdbDGJdXBqqIRlISP51mMx4knWQN2 76Nr6xIIRs3zoZel+tD3eCwSMqjNGw9FGrxxZRrDnerRxtIkG4rmlPrJ8DJsQAmSK1o= X-Gm-Gg: AY/fxX7/Eja9jSreo20LPxFofTS7pM2pKNJc76VLjLB9VphyBbsuR0BN4jr98UT8DCy wyOxxMz7GAcO3zVknLANiv+udI/ePBAr24eEyzHCStWTJy/bhBPYTA9pYEvDmWeo9WSzSmDeYqS QL92AX229+t2wJzUmHLmA8W+SV3iDFtYTo1hlfEyYT4PHDcxYYGwczUJWIBXSqks45CX+mI5cNn FSAhExgu4WJbbVU/FKbRIGsEFSjY/fhnA/t9AWN26n52bodi3cUoLFWeH48+G9tsO1g7DnpD3mV +GAewd7LXXMfcdiVt8Zpqs0CX0yqeFAFiQh2gcon6WX6IGgT49I+PVFKhCAxLvb/n4RWYlHLDOq fjqn9CBsqion8JqJFeqzbcQGUFe/CdaewQqGl4mMQBcGEMhlcknFxv0eaAgDLfyh7LA0VUGSVxs MMOpM/ENG1kSOPM2OeOKnn2t7KCNwqyi6/oWlEPQsdG2CB1ThOZrpi380= X-Google-Smtp-Source: AGHT+IGro+wwQsR/NYh1lOG3a8YsY1zVzwtGWwXW0iRMHe8R+JAt821t5/4DYVjAoWTd+d+cAOY8xA== X-Received: 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251113203715.2768107-1-sean.anderson@linux.dev> 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