Skip to content

drm/probe-helper: Ensure cmdline mode matches interlace mode #6902

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
Jun 16, 2025

Conversation

6by9
Copy link
Contributor

@6by9 6by9 commented Jun 16, 2025

drm_helper_probe_add_cmdline_mode was looking for a match for the width, height, and refresh rate within the EDID modes, but didn't check the interlacing flag. That meant that with video=1920x1080@50i would match any 1920x1080@50 mode that was found.
The converse would be possible too if an interlaced mode with matching resolution & refresh rate was found first.

Check the interlacing flag as well.

raspberrypi/bookworm-feedback#422

drm_helper_probe_add_cmdline_mode was looking for a match for
the width, height, and refresh rate within the EDID modes, but
didn't check the interlacing flag. That meant that with
video=1920x1080@50i would match any 1920x1080@50 mode that was
found.
The converse would be possible too if an interlaced mode with
matching resolution & refresh rate was found first.

Check the interlacing flag as well.

Signed-off-by: Dave Stevenson <[email protected]>
@6by9 6by9 force-pushed the rpi-6.12.y-drm2 branch from dd073a3 to 266832b Compare June 16, 2025 16:29
@pelwell pelwell merged commit fc46b52 into raspberrypi:rpi-6.12.y Jun 16, 2025
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 18, 2025
See: raspberrypi/linux#6891

kernel: Fix dwc2 thinkos
See: raspberrypi/linux#6906

kernel: dts: cm5/pi5: Disable EEE on rp1
See: raspberrypi/linux#6900

kernel: GPIO Acquire/Release Semantics for 'AI Camera'
See: raspberrypi/linux#6884

kernel: configs: arm64: Enable the UDMABUF driver
See: raspberrypi/linux#6903

kernel: drm/probe-helper: Ensure cmdline mode matches interlace mode
See: raspberrypi/linux#6902

kernel: media: i2c: Tweak default PDAF gain table in imx708 driver
See: raspberrypi/linux#6901

kernel: drivers: media: imx500: Add device id readback control
See: raspberrypi/linux#6897

kernel: overlays: i2c-rtc: Add M41T80 support
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jun 18, 2025
See: raspberrypi/linux#6891

kernel: Fix dwc2 thinkos
See: raspberrypi/linux#6906

kernel: dts: cm5/pi5: Disable EEE on rp1
See: raspberrypi/linux#6900

kernel: GPIO Acquire/Release Semantics for 'AI Camera'
See: raspberrypi/linux#6884

kernel: configs: arm64: Enable the UDMABUF driver
See: raspberrypi/linux#6903

kernel: drm/probe-helper: Ensure cmdline mode matches interlace mode
See: raspberrypi/linux#6902

kernel: media: i2c: Tweak default PDAF gain table in imx708 driver
See: raspberrypi/linux#6901

kernel: drivers: media: imx500: Add device id readback control
See: raspberrypi/linux#6897

kernel: overlays: i2c-rtc: Add M41T80 support
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