-
Notifications
You must be signed in to change notification settings - Fork 5k
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
drm/vc4: Skip writes to disabled packet RAM #4770
Conversation
@HiassofT does this help your issue from #4759 (comment) ? |
Having the WARN in vc4_hdmi_write_infoframe is useful for ensuring we don't try to write it when powered down. It seems better to make the Your current patch is also accessing registers without having acquired |
925c12d
to
435f4f6
Compare
This path actually occurs when audio is started during a hdmi mode set. As the data will be written by vc4_hdmi_set_infoframes when packet RAM is enabled again, don't treat as an error Signed-off-by: Dom Cobley <popcornmix@gmail.com>
435f4f6
to
080f670
Compare
@6by9 updated - was that what you were after? |
Yes, that was what I was thinking of. Github seems to have messed up the indentation when viewing the patch, but I'll trust that it's GH at fault. |
Strange - it looks OK here. |
I'd expanded file before and after the 3rd hunk, and it's differently indented the unmodified bit vs the patch. |
Github is doing something funny when expanding this part:
Seems like they are using different tab widths for the new code and old code, |
Removed draft status as tested by @HiassofT (and me for a few days). |
@pelwell okay to merge? |
kernel: drm/vc4: Skip writes to disabled packet RAM See: raspberrypi/linux#4770 kernel: BCM2711 KMS YUV Support See: raspberrypi/linux#4777 kernel: Revert media: bcm2835-codec: Limit video callbacks See: raspberrypi/linux#4773 kernel: staging/bcm2835-isp: Fix cleanup after init fail See: raspberrypi/linux#4774
kernel: drm/vc4: Skip writes to disabled packet RAM See: raspberrypi/linux#4770 kernel: BCM2711 KMS YUV Support See: raspberrypi/linux#4777 kernel: Revert media: bcm2835-codec: Limit video callbacks See: raspberrypi/linux#4773 kernel: staging/bcm2835-isp: Fix cleanup after init fail See: raspberrypi/linux#4774
This path actually occurs when audio is started during a hdmi mode set.
As the data will be written by vc4_hdmi_set_infoframes when packet RAM
is enabled again, don't treat as an error
Signed-off-by: Dom Cobley popcornmix@gmail.com