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

ssv6051 and panel-dsi-simple driver patch for kernel 6.6, 6.9, 6.12 and 6.13 #7795

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

qbisi
Copy link
Contributor

@qbisi qbisi commented Feb 7, 2025

Description

patch for ssv6051 fix build failure on nix sandbox.
patch for panel-dsi-simple fix build failure with gcc14.

Both patch are tested on kernel 6.12 and 6.13 and should work for 6.6 and 6.9 due to unchanged api.

@qbisi qbisi requested a review from igorpecovnik as a code owner February 7, 2025 18:16
@github-actions github-actions bot added size/small PR with less then 50 lines Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... labels Feb 7, 2025
@paolosabatino
Copy link
Contributor

I would keep this on hold until 25.02 is released; @qbisi could you please describe what kind of issue you have and on what platform you are experiencing that? Because I see no particular issues while compiling on regular amd64 containers.

@qbisi
Copy link
Contributor Author

qbisi commented Feb 8, 2025

I just simply pick thouse patch files in building nixos kernel packages. See
https://github.com/qbisi/nixos-images/blob/master/pkgs/kernels/linux-rockchip64-6.12.nix

  1. For old ssv6051 patch, the compiler complains
../drivers/net/wireless/ssv6051/ssvdevice/ssv_cmd.c:22:10: fatal error: ssv6200_reg.h: No such file or directory
   22 | #include <ssv6200_reg.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
...
../drivers/net/wireless/ssv6051/ssvdevice/ssvdevice.c:25:10: fatal error: ssv_cfg.h: No such file or directory
   25 | #include "ssv_cfg.h"
      |          ^~~~~~~~~~~
compilation terminated.

cause makefile of ssv6051 give a non standard include path like -I ${srctree}/${src}/include and nix sandbox build environment cannot handle this correctly. (will be fixed with -I ${src}/include)
2. For apanel-simple-dsi patch, the compiler complains type mismatch of the third parameter on function of_get_drm_display_mode ( u32 offered and u32 * required ). I am also curious why compiling armbian give no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hardware Hardware related like kernel, U-Boot, ... Needs review Seeking for review Patches Patches related to kernel, U-Boot, ... size/small PR with less then 50 lines
Development

Successfully merging this pull request may close these issues.

2 participants