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

backport/main does not compile against ubuntu kernel 6.8.0-43.43 (and possibly newer) #190

Closed
flumm opened this issue Aug 27, 2024 · 2 comments

Comments

@flumm
Copy link

flumm commented Aug 27, 2024

driver compilation fails with:

/var/lib/dkms/intel-i915-dkms/1.24.4.12.240603.18/build/drivers/gpu/drm/i915/display/intel_dp_mst.c: In function ‘intel_mst_enable_dp’:
/var/lib/dkms/intel-i915-dkms/1.24.4.12.240603.18/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:777:54: error: passing argument 2 of ‘drm_dp_add_payload_part2’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  777 |         drm_dp_add_payload_part2(&intel_dp->mst_mgr, &state->base,
      |                                                      ^~~~~~~~~~~~
      |                                                      |
      |                                                      struct drm_atomic_state *
In file included from /var/lib/dkms/intel-i915-dkms/1.24.4.12.240603.18/build/backport-include/drm/drm_dp_mst_helper.h:27,
                 from /var/lib/dkms/intel-i915-dkms/1.24.4.12.240603.18/build/drivers/gpu/drm/i915/display/intel_display_types.h:38,
                 from /var/lib/dkms/intel-i915-dkms/1.24.4.12.240603.18/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:38:
./include/drm/display/drm_dp_mst_helper.h:854:64: note: expected ‘struct drm_dp_mst_atomic_payload *’ but argument is of type ‘struct drm_atomic_state *’
  854 |                              struct drm_dp_mst_atomic_payload *payload);
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/var/lib/dkms/intel-i915-dkms/1.24.4.12.240603.18/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:777:9: error: too many arguments to function ‘drm_dp_add_payload_part2’
  777 |         drm_dp_add_payload_part2(&intel_dp->mst_mgr, &state->base,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
./include/drm/display/drm_dp_mst_helper.h:853:5: note: declared here
  853 | int drm_dp_add_payload_part2(struct drm_dp_mst_topology_mgr *mgr,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~

possibly because of this commit: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/commit/?h=master-next&id=263efcb86dc38ca8cfcae8846bfa1cb4a1bc0c4c

currently 6.8.0-44.44 is in proposed (see https://launchpad.net/ubuntu/noble/+source/linux)

(noticed during compilation agains proxmox-kernel-6.8.12-1-pve which is based on 6.8.0-43.43)

@smuqthya
Copy link

This issue is already fixed and you can expect the change landing by WW39

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

No branches or pull requests

4 participants
@flumm @knayana-gse @smuqthya and others