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: <f0c3a16e-c4a2-4cd9-9afa-a21a975a45c9@collabora.com>
Date: Thu, 27 Feb 2025 08:28:31 +0300
From: Dmitry Osipenko <dmitry.osipenko@...labora.com>
To: Diederik de Haas <didi.debian@...ow.org>,
 Shreeya Patel <shreeya.patel@...labora.com>, Heiko Stuebner
 <heiko@...ech.de>, Mauro Carvalho Chehab <mchehab@...nel.org>,
 Hans Verkuil <hverkuil@...all.nl>, Rob Herring <robh@...nel.org>,
 Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
 <conor+dt@...nel.org>, jose.abreu@...opsys.com, nelson.costa@...opsys.com,
 shawn.wen@...k-chips.com, nicolas.dufresne@...labora.com,
 Sebastian Reichel <sebastian.reichel@...labora.com>
Cc: kernel@...labora.com, linux-media@...r.kernel.org,
 devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
 linux-rockchip@...ts.infradead.org, Tim Surber <me@...surber.de>,
 Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Re: [PATCH v10 3/6] media: platform: synopsys: Add support for HDMI
 input driver

On 2/26/25 18:14, Diederik de Haas wrote:
>> +config VIDEO_SYNOPSYS_HDMIRX_LOAD_DEFAULT_EDID
>> +	bool "Load default EDID"
>> +	depends on VIDEO_SYNOPSYS_HDMIRX
>> +	help
>> +	  Preload default EDID (Extended Display Identification Data).
> I see some value in making explicit what you mean by EDID ...
> 
>> +	  EDID contains information about the capabilities of the display,
>> +	  such as supported resolutions, refresh rates, and audio formats.
> ... I do not think a/this Kconfig needs to explain it.
> 
>> +
>> +	  Enabling this option is recommended for a non-production use-cases.
> My guess is that it could be useful for development/debugging/CI work
> which possibly do not have an actual device (monitor) which provides
> actual EDID data? Is CI work the reason why you (initially) enabled it
> in the defconfig?
> But when you have an actual monitor (=production use-case?), you
> (really) do not want it? Would it be harmless if 'still' enabled?

Disabling this option is only relevant if you're making a commercial
product using this driver. It's a quite widespread issue that HDMI
projectors utilize default EDID that comes from BSP driver they use,
while a rebrand EDID should be used. Keeping this option enabled is
harmless, but you don't want to do it in a product.

For all other use-cases you would want to enable this option, otherwise
driver won't be usable until you will load EDID from userspace.

Hans has strong opinion RE this option and wants to have it disabled by
default.

> Thus a more extensive description what this Kconfig item does and why
> and when I want to enable it or not, seems more useful to me.

Will update and expand the description with more clarification. Thanks
for suggestion.

-- 
Best regards,
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ