Skip to content

drm: rp1: VEC and DPI drivers: Fix bug #5901 #5925

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
Feb 5, 2024

Conversation

njhollinghurst
Copy link
Contributor

Rework probe() to use devm_drm_dev_alloc(), embedding the DRM device in the DPI or VEC device as now seems to be recommended.

Change order of resource allocation and driver initialization. This prevents it trying to write to an unmapped register during clean-up, which previously could crash.

Rework probe() to use devm_drm_dev_alloc(), embedding the DRM
device in the DPI or VEC device as now seems to be recommended.

Change order of resource allocation and driver initialization.
This prevents it trying to write to an unmapped register during
clean-up, which previously could crash.

Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
@pelwell pelwell merged commit 3e173dc into raspberrypi:rpi-6.6.y Feb 5, 2024
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 7, 2024
kernel: Improve I2C timing (again)
See: raspberrypi/linux#5916

kernel: drm/vc4: Drop planes that have 0 destination size
See: raspberrypi/linux#5929

kernel: drm: rp1: VEC and DPI drivers: Fix bug #5901
See: raspberrypi/linux#5925

kernel: drivers: media: cfe: Increase default size of embedded buffer
See: raspberrypi/linux#5923

kernel: RP1 VEC: Use tv_mode from command line, align enum with drm_connector; tidy
See: raspberrypi/linux#5885

kernel: ARM: dts: Standardise downstream Pi GPIO pin names
See: raspberrypi/linux#5902

kernel: ASoC: DACplusADCPro - fix 16bit sample support in clock consumer mode
See: raspberrypi/linux#5919

kernel: ASoC: adds support for Hifiberry AMP4Pro to the dacplus driver
See: raspberrypi/linux#5918

kernel: ASoC: DACplus - fix 16bit sample support in clock consumer mode
See: raspberrypi/linux#5917
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Feb 7, 2024
kernel: Improve I2C timing (again)
See: raspberrypi/linux#5916

kernel: drm/vc4: Drop planes that have 0 destination size
See: raspberrypi/linux#5929

kernel: drm: rp1: VEC and DPI drivers: Fix bug #5901
See: raspberrypi/linux#5925

kernel: drivers: media: cfe: Increase default size of embedded buffer
See: raspberrypi/linux#5923

kernel: RP1 VEC: Use tv_mode from command line, align enum with drm_connector; tidy
See: raspberrypi/linux#5885

kernel: ARM: dts: Standardise downstream Pi GPIO pin names
See: raspberrypi/linux#5902

kernel: ASoC: DACplusADCPro - fix 16bit sample support in clock consumer mode
See: raspberrypi/linux#5919

kernel: ASoC: adds support for Hifiberry AMP4Pro to the dacplus driver
See: raspberrypi/linux#5918

kernel: ASoC: DACplus - fix 16bit sample support in clock consumer mode
See: raspberrypi/linux#5917
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.

2 participants