-
Notifications
You must be signed in to change notification settings - Fork 5.2k
CM4s: hdmi1 is probed for EDID even if removed from devicetree (vc4-fkms-v3d) #4858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This might be a firmware issue. We disable HDMI1 for everything but 2711 - we should be disabling it for CM4S as well. |
pelwell
added a commit
to pelwell/linux
that referenced
this issue
Feb 2, 2022
CM4s has no HDMI1 output, so it is advisable to disable the controller and its I2C interface in software. This is ordinarily done by setting their status properties to "disabled", but the vc4-kms-v3d(-pi4) overlay enables both HDMIs and DDCs as part of the transfer of control from the VPU. Knobble the CM4S dts in such a way that the overlay applies successfully but the hdmi1 and ddc1 nodes remain disabled by changing the compatible string to something unrecognised. See: raspberrypi#4857 raspberrypi#4858 Signed-off-by: Phil Elwell <[email protected]>
pelwell
added a commit
to pelwell/linux
that referenced
this issue
Feb 2, 2022
CM4S has no HDMI1 output, so it is advisable to disable the controller and its I2C interface in software. This is ordinarily done by setting their status properties to "disabled", but the vc4-kms-v3d(-pi4) overlay enables both HDMIs and DDCs as part of the transfer of control from the VPU. Knobble the CM4S dts in such a way that the overlay applies successfully but the hdmi1 and ddc1 nodes remain disabled by changing the compatible string to something unrecognised. See: raspberrypi#4857 raspberrypi#4858 Signed-off-by: Phil Elwell <[email protected]>
pelwell
added a commit
to pelwell/linux
that referenced
this issue
Feb 3, 2022
CM4S has no HDMI1 output, so it is advisable to disable the controller and its I2C interface in software. This is ordinarily done by setting their status properties to "disabled", but the vc4-kms-v3d(-pi4) overlay enables both HDMIs and DDCs as part of the transfer of control from the VPU. Knobble the CM4S dts in such a way that the overlay applies successfully but the hdmi1 and ddc1 nodes remain disabled by changing the compatible string to something unrecognised. See: raspberrypi#4857 raspberrypi#4858 Signed-off-by: Phil Elwell <[email protected]>
The firmware has a function returning the number of HDMI ports, which returns 2 on BCM2711 and 1 otherwise. The number of HDMI ports should probably be an integer trait. |
I'll make it so. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
With the
vc4-fkms-v3d
overlay enabled, there is a error message regarding the EDID detection of the (disabled) hdmi1 port:The port hdmi1 is removed in the CM4s overlay: https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/bcm2711-rpi-cm4s.dts#L209 and therefore should be ignored by the driver.
Also after the activation of the fkms driver the active part of the screen is shrinked to only a fraction of the usable screen:
By adding
disable_fw_kms_setup=1
to theconfig.txt
the whole screen is used as expected. Monitor, cable and other parts should be fine as everything runs as expected with a CM3.Steps to reproduce the behaviour
Device (s)
Raspberry Pi CM4
System
os
firmware
kernel
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: