Skip to content

SPI0 bus corruption on Pi4 on linux 6.12.75 (and not on 6.12.47) #7459

Description

@craigerl

Describe the bug

Using an ILI9486 gpio TFT display connected to SPI0 @48Meg baud, the screen is corrupted when using kernel 6.12.75, but works fine when using the older kernel 6.12.47 (regressed with rpi-update 6d1da66). Reducing baud rate to 32Meg masks the problem, but significantly reduces screen refresh rate.

Problem is not present on the Pi5.

Tried using 40bit dual dma buffers with "dtparam=spi_dma4" - no effect.

Stuck on 6.12.47, thanks, for the support!

-craig

Steps to reproduce the behaviour

Run direwatch.py https://github.com/craigerl/direwatch at 48meg baud, observe horizontal banding/color corruption on ili9486 display. Regress kernel, problem goes away. Specific to Pi4.

Device (s)

Raspberry Pi 4 Mod. B

System

pi@digipi:~ $ cat /etc/rpi-issue
Raspberry Pi reference 2023-10-10
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, fb56ad562991cf3ae5c96ab50983e1deeaefc7b6, stage2

pi@digipi:~ $ vcgencmd version
Aug 20 2025 17:02:45
Copyright (c) 2012 Broadcom
version cd866525580337c0aee4b25880e1f5f9f674fb24 (clean) (release) (start_cd)

6.12.75+rpt-rpi-v8

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions