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
kernel: modules: video: drm: fixup 6.6 adaptations #14899
Conversation
@hauke Any chance you could sanity check this? |
Looking at Since amdgpu seems to be the only one of these being packaged by us currently, these should be moved into drm-amdgpu instead to avoid breaking amdgpu for 6.6. |
Yeah, let me switch to x86 as amdgpu is limited to it only(Hence why it did not fail on mediatek) and try packaging these separately. And done, now they are selected when required and x86 compiles fine. |
9d29ae8
to
4e88b7e
Compare
As part of adding kernel 6.6 support, DRM_EXEC and DRM_SUBALLOC_HELPER were added to the kmod-drm, however these are only used by drm-amdgpu and drm-radeon which are only supported on x86. So, lets start fixing building of other targets by removing these from the main kmod-drm, in follow-up commits they will be packaged separately and selected when required. Fixes: 5b08b56 ("kernel: modules: video: adapt for kernel 6.6") Signed-off-by: Robert Marko <robimarko@gmail.com>
Linux 6.6 has added DRM EXEC as a separate symbol, so package it separately as AMDGPU requires it. Signed-off-by: Robert Marko <robimarko@gmail.com>
Linux 6.4 has split out the previously AMDGPU specific suballocation helper into a generic one and it has its own symbol now. So, lets package it as a separate helper as AMDGPU still requires it for 6.6. Signed-off-by: Robert Marko <robimarko@gmail.com>
…MDGPU drm-amdgpu and drm-radeon require drm-exec and/or drm-suballoc-helper in 6.6, so since we have them packaged separately include them when required. Fixes: 5b08b56 ("kernel: modules: video: adapt for kernel 6.6") Signed-off-by: Robert Marko <robimarko@gmail.com>
4e88b7e
to
8fb2346
Compare
Thanks! Rebased on top of main and merged! |
As part of adding kernel 6.6 support, DRM_EXEC and DRM_SUBALLOC_HELPER were added to the kmod-drm, however these are not used by any kmod we package and currently cause a build failure for mediatek targets.
So, remove both of these for now from the main DRM kmod, package them individually and select for AMDGPU and radeon kmods.
Fixes: 5b08b56 ("kernel: modules: video: adapt for kernel 6.6")