Skip to content
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

vc4: cec: Restore cec physical address on reconnect #3655

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

popcornmix
Copy link
Collaborator

Currently we call cec_phys_addr_invalidate on a hotplug deassert.
That may be due to a TV power cycling, or an AVR being switched
on (and switching edid). This makes CEC unusable.

Set it back up again on the hotplug assert.

Signed-off-by: Dom Cobley popcornmix@gmail.com

connected = true;
if (connected) {
if (connector->status != connector_status_connected) {
struct edit *edid = drm_get_edid(connector, vc4_hdmi->ddc);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a typo here, it should be struct edid (not edit)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. Fixed.

Currently we call cec_phys_addr_invalidate on a hotplug deassert.
That may be due to a TV power cycling, or an AVR being switched
on (and switching edid). This makes CEC unusable.

Set it back up again on the hotplug assert.

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
@pelwell pelwell merged commit 101a616 into raspberrypi:rpi-5.4.y Jun 5, 2020
@popcornmix popcornmix deleted the cecreconnect branch June 5, 2020 13:43
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 10, 2020
kernel: vc4: cec: Restore cec physical address on reconnect
See: raspberrypi/linux#3655

kernel: snd_bcm2835: disable HDMI audio when vc4 is used
See: raspberrypi/linux#3640

kernel: Enhanced w1_therm Linux Kernel Module
See: raspberrypi/linux#3540

kernel: overlays: Update upstream overlays after vc4-kms-v3d change

kernel: overlays: i2c-gpio: Avoid open-drain warnings
See: #1381
See: #1401

kernel: staging: vchiq_arm: Use g_dma_dev for dma_unmap_sg
See: raspberrypi/linux#3647

firmware: arm_ldconfig: Don't pad initramfs files
See: #1395
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Jun 10, 2020
kernel: vc4: cec: Restore cec physical address on reconnect
See: raspberrypi/linux#3655

kernel: snd_bcm2835: disable HDMI audio when vc4 is used
See: raspberrypi/linux#3640

kernel: Enhanced w1_therm Linux Kernel Module
See: raspberrypi/linux#3540

kernel: overlays: Update upstream overlays after vc4-kms-v3d change

kernel: overlays: i2c-gpio: Avoid open-drain warnings
See: raspberrypi/firmware#1381
See: raspberrypi/firmware#1401

kernel: staging: vchiq_arm: Use g_dma_dev for dma_unmap_sg
See: raspberrypi/linux#3647

firmware: arm_ldconfig: Don't pad initramfs files
See: raspberrypi/firmware#1395
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.

3 participants