lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <36048dd7-796f-495d-b715-d8f65a7c2f98@suse.de>
Date: Fri, 14 Nov 2025 08:42:33 +0100
From: Thomas Zimmermann <tzimmermann@...e.de>
To: Sean Anderson <sean.anderson@...ux.dev>,
 Laurent Pinchart <laurent.pinchart@...asonboard.com>,
 Tomi Valkeinen <tomi.valkeinen@...asonboard.com>,
 dri-devel@...ts.freedesktop.org
Cc: linux-kernel@...r.kernel.org, Mike Looijmans <mike.looijmans@...ic.nl>,
 David Airlie <airlied@...il.com>,
 Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
 Anatoliy Klymenko <anatoliy.klymenko@....com>,
 Maxime Ripard <mripard@...nel.org>, linux-arm-kernel@...ts.infradead.org,
 Simona Vetter <simona@...ll.ch>, Michal Simek <michal.simek@....com>
Subject: Re: [PATCH 0/3] drm: zynqmp: Make the video plane primary

Hi

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.

[1] 
https://elixir.bootlin.com/linux/v6.17.7/source/drivers/gpu/drm/tiny/cirrus-qemu.c#L542

Best regards
Thomas

>
> [1] https://lore.kernel.org/dri-devel/20250627145058.6880-1-mike.looijmans@topic.nl/
>
>
> Sean Anderson (3):
>    drm: zynqmp: Check property creation status
>    drm: zynqmp: Make the video plane primary
>    drm: zynqmp: Add blend mode property to graphics plane
>
>   drivers/gpu/drm/xlnx/zynqmp_kms.c | 42 +++++++++++++++++++++++++------
>   1 file changed, 34 insertions(+), 8 deletions(-)
>

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ