From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 64CC530AD02 for ; Mon, 22 Dec 2025 09:29:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766395785; cv=none; b=Q+DTW/sV4pKoHmmuMz8ERWvdDn2JMWU1OxjffowIx7vpQGXZk0pVxJPM1lDiuQ1FMsoMTuSV725nMC9qKeIEOmhTWL1A7/wQBzhwIe8DXpwmN6hZ+J4f81QogJlfnj4EIF8KjZ2LusKpAqQPcIHi62j7K0ugJWIzUTcg6lmraYM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766395785; c=relaxed/simple; bh=1H2AheS2upJBwilyq2FL+nP7KuMh0UA6ffecbmQRvag=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IcwpYLIH8YK/7O9GOVhHXXVBr0u4oQ1JYqAATEOfXsQZM3SkKv178+FnXCqhC8DAbpElIkoqNvno2xa3Ju3RkZcI9rIj5mNnXvLjmHABQeZbVJYv3XDxsu6Knur4gQAf2HqBPqXeV4W51orjlJ6xesTSucOD5E5ssczsgScg6p4= 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=TAoHo5id; arc=none smtp.client-ip=209.85.167.53 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="TAoHo5id" Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-597c83bb5c2so3007711e87.3 for ; Mon, 22 Dec 2025 01:29:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766395781; x=1767000581; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=xZgttxRcFFeqB/7cl+AcA+CY6hyOItazptc70QLJmmE=; b=TAoHo5idlRsMyRhGsxeoRXmdXBi5YIBDr1mDmKMcmsL8vaXRqzoJJhAHi6tyvQ8XLo pl1a3NcOr6iA8cU+6l4a10kCqQJbSG8TS5+U51Pf8R/1RsKA47QlhYC21Jx2Amdv3rQ4 kGZ8vddZQDrGokfd+aEcvUE7ZCN8erzA6ceSHWA4PRA0gnZBfiqmtdjkzEXxJ2dWk4Yk pGygYWFTTob8PEh2gE9YHIBwQJamb9UqG3uaa3InnL4m1P1Ms1NPmSrt5Co3lXAv6pEk aJDVURJV663MYrp+ntAIxdC0ebhAPBdCTe5749ZCIBdyPB/zEOmv56OkWM0elA+OP5EP QLIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766395781; x=1767000581; h=in-reply-to:content-transfer-encoding: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=xZgttxRcFFeqB/7cl+AcA+CY6hyOItazptc70QLJmmE=; b=RirzTwrwxFBLc5cKpt235+hW7+EQzIvr3x2tcZ5d8hG6x5ki2Rvr4a9tkzroJr1RZd DxRy1PxGHJEyA5jj/O/nttcFuvtdXLvVb1WJcQKmZR1jW6776Bq9IpwEiXtKEhszfjBr Q71vrzrZDZ087ET83xx/K37+9yW9gbjLGmZz4dotIvqYRPOdaY3VhL+GmYBW54M/W/6C 5fHfUeH/6Uc+PlelBk7C/qmFVHXOwlQ6+UGKuw63xhEBLBTnwUIF1zl8GzSu0YtQ1P5H nL+i51Llv1U4T3hIRg+HCRWVz3MWuVnWl+vPaZrGsLWTsM/zJUpqeVKrxt3m0p6T/y+h K7tg== X-Forwarded-Encrypted: i=1; AJvYcCVku5oA/EHwF6n3mWAYF1XdExZNULpCFgGFCdyvR3aMib2ySkKbh6XATTkPmjHm2aLS6NvmPWG8ZRn6mt4=@vger.kernel.org X-Gm-Message-State: AOJu0Yzf6iZJN+GjBuYsUTXVOxD3niWhWzUIhBoxqz1JVhymUHBTMdt6 eTlI5vPU37uZ+8pHgVNcDIjDOvSTOauJEtUqoOT6K1y9zwonB56As7Y1r0xa4QvjOys= X-Gm-Gg: AY/fxX47VnAqrtTTMhBdpRVl1SUB7eEzd6IogxfJrj8rlzdaqRUQG268ganaxJTbhj2 bB5sIq9lkf0yhdQ3uBx+DAqRrMAaV05NjV4gW7Vam55DaNp1lmQ4HFwxIbnB3B0k16u1Irofzd1 WyLyxwL46gZYca7dtbLXXxcQDkZBFvvhqJBaZsYq8/WfyZVRxqRj0V3tva4O+w6mURCPNl+0AP1 Gzd1cnbeXejwxhIHEKtu+AUmJB+ZVFwD0C4XXlgxHGOoSmBHpSza8QQUgNx4ppp5wosJttHZcTa Hhv1kuuM/83wk0tPJ9TEPGTsHuitBFtO6djbGgDRVFkpEpEB5f1/25Q9uKu9qdPLgm+y/C/uCj5 WRDuYh+NmpsDiispNIZzcc3f1jvOt4Fc2RB8QSomPfNzqjZTvAfExgj8STt/k4GVoqTbqcW3X7A bQRN0rekQVXfEvKyTnnPtA+njQlorgANYUJMYKBQaQGg8t X-Google-Smtp-Source: AGHT+IHdz2Ykcd7v71aO+LxiD2YdRHpq1IyR3g8WLuuBK4cb2LhNWiokwxZAnx2kgNCjq6U0F+DU9w== X-Received: by 2002:a05:6512:2313:b0:594:5545:b743 with SMTP id 2adb3069b0e04-59a17d3c35fmr4130445e87.27.1766395781381; Mon, 22 Dec 2025 01:29:41 -0800 (PST) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59a1861ffe7sm2969593e87.87.2025.12.22.01.29.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Dec 2025 01:29:41 -0800 (PST) Date: Mon, 22 Dec 2025 11:29:39 +0200 From: Mikko Rapeli To: Sean Anderson Cc: Thomas Zimmermann , Laurent Pinchart , Tomi Valkeinen , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Mike Looijmans , David Airlie , 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> <36048dd7-796f-495d-b715-d8f65a7c2f98@suse.de> <24a9a9a2-ba7c-4619-96dc-4355d850561b@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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <24a9a9a2-ba7c-4619-96dc-4355d850561b@linux.dev> Hi, On Fri, Nov 14, 2025 at 10:35:10AM -0500, Sean Anderson wrote: > On 11/14/25 02:42, Thomas Zimmermann wrote: > > Am 13.11.25 um 21:37 schrieb Sean Anderson: > >> 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. > > > > Did you try to set drm_device.mode_config.preferred_depth = 16, like at [1]?  IIRC user space looks at this value to auto-detect the color format. > > I have not tried that. But I would rather use 24-bit color for the performance boost. I have tested preferred_depth = 16 and it works. Proposed in https://lists.freedesktop.org/archives/dri-devel/2025-December/540189.html but I'm also fine with 24/32 bpp, or any default which draws pixels to HDMI on AMD KV260 and X11 without manually changing the config. This full series also works for me on AMD KV260 running Yocto genericarm64 machine config and core-image-sato image with Xorg. Cheers, -Mikko