Skip to content

drm/vc4: Set a default HSM rate #4547

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

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

mripard
Copy link
Contributor

@mripard mripard commented Aug 25, 2021

When the firmware doesn't setup the HSM rate (such as when booting
without an HDMI cable plugged in), its rate is 0 and thus any register
access results in a CPU stall, even though HSM is enabled.

Let's enforce a minimum rate at boot to avoid this issue.

Fixes #4457

When the firmware doesn't setup the HSM rate (such as when booting
without an HDMI cable plugged in), its rate is 0 and thus any register
access results in a CPU stall, even though HSM is enabled.

Let's enforce a minimum rate at boot to avoid this issue.

Signed-off-by: Maxime Ripard <[email protected]>
@popcornmix
Copy link
Collaborator

Confirmed this fixed linked issue. Pi3 booted without hdmi connected.

@pelwell pelwell merged commit e4cb65c into raspberrypi:rpi-5.10.y Aug 25, 2021
@mripard mripard deleted the rpi/rpi3-unplugged-stall branch August 25, 2021 13:51
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Aug 25, 2021
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drm/vc4: Initialization hangs when HDMI display is *not* connected
3 participants