Skip to content

Update to work with 6.8+ and 6.11 kernels#15

Open
Kiboneu wants to merge 2 commits intoardangelo:masterfrom
Kiboneu:master
Open

Update to work with 6.8+ and 6.11 kernels#15
Kiboneu wants to merge 2 commits intoardangelo:masterfrom
Kiboneu:master

Conversation

@Kiboneu
Copy link

@Kiboneu Kiboneu commented Apr 22, 2025

The drm calling convention has changed a bit.

fbdev_generic has been renamed to fbdev_ttm since 6.11-rc1: torvalds/linux@aae4682

And a format conversion state needs to be passed to drm_fb_xrgb8888_to_gray8 since 6.8-rc1: torvalds/linux@4cd24d4

works for now, barely tested so far. I'm not 100% sure if I'm using drm_format_conv_state correctly / efficiently.

Should fix #14.

@ardangelo
Copy link
Owner

Thanks for your work, I am testing it out now.

@fominok
Copy link

fominok commented May 25, 2025

for anyone looking: sudo apt install linux-headers-rpi-v8 as for newer kernels raspberrypi-kernel-headers is no more (and in case you're running x64)

@scruss
Copy link

scruss commented Jul 27, 2025

Thanks for your work, I am testing it out now.

can you merge and accept, please? sqfmi beepy modules are broken currently

@michaelriedl
Copy link

can you merge and accept, please? sqfmi beepy modules are broken currently

This would be a nice quality of life upgrade. I would like this to be merged as well.

adamthiede added a commit to adamthiede/sharp-drm-driver that referenced this pull request Nov 3, 2025
@ZoltXs
Copy link

ZoltXs commented Nov 4, 2025

Update your driver to version 6.12.25. The tests I did were feasible, but I couldn't do more testing because my Beepy burned out due to a faulty battery and I haven't repaired it yet. But if Andrew wants to try it and update the repository, here's the link: https://github.com/ZoltXs/sharp-drm-driver2. I tested it on Trixie.

@thenoname
Copy link

@ardangelo - Please approve this. Currently it is not possible to do any updates on the beepy because the sqfmi beepy modules are broken.

@CRImier
Copy link

CRImier commented Jan 3, 2026

We (Blepis team) have pulled this into our fork, here's a .deb, or follow these instructions to compile a .deb yourself! Repo/PPA coming soon, too.
sharp-drm_2.0-1_arm64.deb.tar.gz

@rsre
Copy link

rsre commented Jan 19, 2026

This patch does not work anymore in Debian 13 trixie 6.12.62 kernel. The function drm_fbdev_ttm_setup was removed at some point.

I believe the one to use is drm_client_setup, I was able to make it work by substituting the old functions and including the #include <drm/drm_client_setup.h> header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

9 participants