Closed patjsimpson closed 4 months ago
After changing the kernel, did you update the GRUB and LINUX_CMDLINE_DEFAULT?
I
After changing the kernel, did you update the GRUB and LINUX_CMDLINE_DEFAULT?
I had not yet done that as it was further down in the instructions... Previously I had not modified that on the earlier generation and did not get the error above.
just did that now contains "intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 iommu=pt quiet"
root@pve-i9:~# nano /etc/default/grub root@pve-i9:~# update-grub Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.8.4-2-pve Found initrd image: /boot/initrd.img-6.8.4-2-pve Found linux image: /boot/vmlinuz-6.5.13-5-pve Found initrd image: /boot/initrd.img-6.5.13-5-pve Found linux image: /boot/vmlinuz-6.5.11-8-pve Found initrd image: /boot/initrd.img-6.5.11-8-pve Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi Adding boot menu entry for UEFI Firmware Settings ... done root@pve-i9:~# update-initramfs -u update-initramfs: Generating /boot/initrd.img-6.8.4-2-pve (Is this a concern? I did see that on previous gen also) Running hook script 'zz-proxmox-boot'.. Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace.. No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
currently rebooting the host again and will retry it.
no change after reboot and retry root@pve-i9:~# dkms install --force -m i915-sriov-dkms -v 6.5 Sign command: /lib/modules/6.5.13-5-pve/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub
Building module: Cleaning build area... make -j20 KERNELRELEASE=6.5.13-5-pve -j20 -C /lib/modules/6.5.13-5-pve/build M=/ var/lib/dkms/i915-sriov-dkms/6.5/build KVER=6.5.13-5-pve.......(bad exit status: 2) Error! Bad return status for module build on kernel: 6.5.13-5-pve (x86_64) Consult /var/lib/dkms/i915-sriov-dkms/6.5/build/make.log for more information.
update-initramfs: Generating /boot/initrd.img-6.8.4-2-pve (Is this a concern? I did see that on previous gen also) No, when updating
initramfs
it generates config for all kernels currently present on the system.
Can you confirm IOMMU is actually enabled in BIOS and working?
dmesg | grep -e DMAR -e IOMMU
sure , It appears to be but I am not an expert on this.
root@pve-i9:~# dmesg | grep -e DMAR -e IOMMU [ 0.019758] ACPI: DMAR 0x0000000042767000 000088 (v02 INTEL EDK2 0000000 2 01000013) [ 0.019786] ACPI: Reserving DMAR table memory at [mem 0x42767000-0x42767087] [ 0.084499] DMAR: IOMMU enabled [ 0.176020] DMAR: Host address width 39 [ 0.176021] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 0.176024] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 e cap 29a00f0505e [ 0.176026] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 0.176030] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ec ap f050da [ 0.176031] DMAR: RMRR base: 0x0000004c000000 end: 0x000000503fffff [ 0.176033] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1 [ 0.176034] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 [ 0.176034] DMAR-IR: Queued invalidation will be enabled to support x2apic an d Intr-remapping. [ 0.177559] DMAR-IR: Enabled IRQ remapping in x2apic mode [ 0.596428] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics [ 0.662992] DMAR: No ATSR found [ 0.662992] DMAR: No SATC found [ 0.662993] DMAR: IOMMU feature fl1gp_support inconsistent [ 0.662993] DMAR: IOMMU feature pgsel_inv inconsistent [ 0.662994] DMAR: IOMMU feature nwfs inconsistent [ 0.662994] DMAR: IOMMU feature dit inconsistent [ 0.662995] DMAR: IOMMU feature sc_support inconsistent [ 0.662995] DMAR: IOMMU feature dev_iotlb_support inconsistent [ 0.662996] DMAR: dmar0: Using Queued invalidation [ 0.662997] DMAR: dmar1: Using Queued invalidation [ 0.663491] DMAR: Intel(R) Virtualization Technology for Directed I/O
Before installing I confirmed that the two settings I know of were enabled in the uefi... Is there a possible problem with secure boot being enabled? I did notice that and don't remember if that is ok but the install went fine so assumed proxmox must support it.
It is my opinion to have it disabled for better compatibility with stuff. If this is a new install and you are comfortable with the risks involved of having it turned off like me, I would say just nuke the installation and start over after disabling secure boot.
See PR #164. This is potentially what's preventing the build. I can't say for sure.
After cloning the repo, try reset the HEAD
to d2b3b6e
see if it works. But even if it does, if you want to build the module in a Linux guest, some more tweaking might be needed.
I won't deny that most of that is over my head. While I have compiled stuff like this before it is usually following a tutorial like this and doing a ton of do overs after google searches on errors. I am not positive but I think I pulled this last night after those changes were posted. I feel like you are hinting that I should do something different based on that post above but it is beyond my comprehension as to if it is to pull the repo and try again or something more detailed that I can't build in my head with my lack of overall understanding. I do appreciate the effort to help!
sorry I missed this keep part... will see if I can figure out that part "After cloning the repo, try reset the HEAD to d2b3b6e see if it works"
sorry I missed this keep part... will see if I can figure out that part "After cloning the repo, try reset the HEAD to d2b3b6e see if it works"
https://github.com/strongtz/i915-sriov-dkms/issues/162#issuecomment-2090567795
Follow the steps (in your PVE main, not Linux guest - that's for the guy I was replying to) and change the commit number to d2b3b6e
Was about to fix the head and noticed the one just before it.... 19a8abe (HEAD -> master, origin/master, origin/HEAD) Merge pull request #164 from WR-Maox/fix_6.5.x e418a0f fix bug onkernel-6.5.x d2b3b6e Merge pull request #160 from michael-pptf/README-update
Should I still fix head to d2bb36e or go with e418a0f?
use #159 which I have not commited. You can also just clone my fork at https://github.com/michael-pptf/i915-sriov-dkms
got it.
this looks positive
root@pve-i9:~/intelforked# dkms install --force -m i915-sriov-dkms -v 6.5 Sign command: /lib/modules/6.5.13-5-pve/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub
Building module: Cleaning build area... make -j20 KERNELRELEASE=6.5.13-5-pve -j20 -C /lib/modules/6.5.13-5-pve/build M=/var/lib/dkms/i915-sriov-dkms/6.5/build KVER=6.5.13-5-pve........ Signing module /var/lib/dkms/i915-sriov-dkms/6.5/build/i915.ko Cleaning build area...
i915.ko: Running module version sanity check.
So after continuing on and rebooting it does not appear to be showing virtuals
lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
root@pve-i9:~# dmesg | grep i915 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-5-pve root=/dev/mapper/pve-root ro intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 iommu=pt quiet [ 0.084096] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-5-pve root=/dev/mapper/pve-root ro intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 iommu=pt quiet root@pve-i9:~#
I checked for errors in dmesg but not seeing any.
not sure why the line strikes happened there.
I believe I should see something like this
00:02.0 VGA compatible controller: Intel Corporation Device 4692 (rev 0c) 00:02.1 VGA compatible controller: Intel Corporation Device 4692 (rev 0c) 00:02.2 VGA compatible controller: Intel Corporation Device 4692 (rev 0c) 00:02.3 VGA compatible controller: Intel Corporation Device 4692 (rev 0c)
output of dkms status
?
Mine looks like this:
root@homelab:~/i915-sriov-dkms# dkms status
i915-sriov-dkms/6.1, 6.2.16-3-pve, x86_64: installed
i915-sriov-dkms/6.5, 6.5.13-5-pve, x86_64: installed
similar but only one line
root@pve-i9:~# dkms status i915-sriov-dkms/6.5, 6.5.13-5-pve, x86_64: installed
have you gone through the README.md from Step 9?
I will check again.
yes that is what I did
root@pve-i9:~# cat /etc/sysfs.conf devices/pci0000:00/0000:00:02.0/sriov_numvfs = 7 root@pve-i9:~#
I rebooted as requested after that.... I half expected the network to not come back up after that reboot as that is what happened on the J5005 cpu based system I was playing with before at that point but it did come back up so that is positive. Just need to figure out the virtuals issue.
Are you using the system with a screen attached? or just using it remotely?
SSH I pulled the hdmi before I started this. should I maybe power it off and them back on? Not sure I have done a full power off since pulling the hdmi.
Shouldn't need to be.
So when you do dmesg | grep i915
it basically came up empty?
I get this... not sure if you would call this empty
root@pve-i9:~# dmesg | grep i915 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-5-pve root=/dev/mapper/pve-root ro intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 iommu=pt quiet [ 0.084096] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-5-pve root=/dev/mapper/pve-root ro intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 iommu=pt quiet
should I have rebuilt it with out secure boot enabled? sorry i thought maybe that was negated by you second post above.
I get this... not sure if you would call this empty
root@pve-i9:~# dmesg | grep i915 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-5-pve root=/dev/mapper/pve-root ro intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 iommu=pt quiet [ 0.084096] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-5-pve root=/dev/mapper/pve-root ro intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 iommu=pt quiet
Yea that's empty. You are not even seeing the i915 DKMS being loaded. Well, it could be that SB is preventing it from being loaded, I can't say for sure.
Like I said, nuke the installation and start over with SB turned off. I thought you were doing it this way already. My bad.
No problem this is a new build and so no problem nuking it.
That must have been it. So you mentioned above "But even if it does, if you want to build the module in a Linux guest, some more tweaking might be needed." can you point me to somewhere that details what you are hinting at?
root@pve-i9:~# lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.1 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.2 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.3 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.4 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.5 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.6 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.7 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
I think I want to do a mix of lxc and possibly VM.s
https://github.com/strongtz/i915-sriov-dkms/issues/162#issuecomment-2090567795
Try this in Linux guest VM. You don't need this for LXC.
Try this in Linux guest VM. You don't need this for LXC.
Ok... so no need to load driver in LXC or just that I should do the same thing I did on the host?
Also are there any concerns of running either of these three in container or vm?
Ubuntu 22.04.4 LTS (Jammy Jellyfish) Ubuntu 23.10 (Mantic Minotaur) Ubuntu 24.04 LTS (Noble Numbat)
going back to start reading the readme again like I should first ;-)
Here's a quick run down: LXC - uses the host capabilities, no drivers needed, just passthrough the VF and set it correctly in the configuration file.
Windows VM - needs Windows drivers, only a bunch of specific version would work.
Linux VM - you need to build the same module as this one. Depending on the kernel used by the VM, recent PRs are potentially problematic so you'd need to reset the HEAD
to whenever before those commits are merged.
More often than not, you can take a look into the closed issues for solution.
so quick clarification... I assume I would pass the individual card and render and not the /dev/dri /dev/dri like I would when doing a container. When I do the dev/dri all the virtuals show up.... Also assuming I do not start with the card0 as I am assuming it is the same as doing the zero virtual below... Hash tag in front of both that I believe I am not supposed to use.
00:02.1 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.2 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.3 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.4 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.5 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.6 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 00:02.7 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
lxc.cgroup2.devices.allow: c 226:1 rwm lxc.cgroup2.devices.allow: c 226:129 rwm lxc.cgroup2.devices.allow: c 29:0 rwm lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
lxc.mount.entry: /dev/dri/renderD129 dev/dri/renderD129 none bind,optional,create=file lxc.mount.entry: /dev/card1 dev/card1 none bind,optional,create=file
thanks again for all the help here.
I'm confused...what's the solution here? I have secure boot, re-installed my system from scratch, and get the same errors in the logs.
I'm confused...what's the solution here? I have secure boot, re-installed my system from scratch, and get the same errors in the logs.
to get past the compile / install issues I used Michael's repo You can also just clone my fork at https://github.com/michael-pptf/i915-sriov-dkms
But after install secure boot was preventing the modules from loading so I rebuilt the system after turning off secure boot and did it all over again with success finally.
I'm confused...what's the solution here? I have secure boot, re-installed my system from scratch, and get the same errors in the logs.
For a guaranteed successful install, you would have to turn off Secure Boot and use a commit that is not affected by recent changes. Luckily, my fork https://github.com/michael-pptf/i915-sriov-dkms
is such one.
You can, of course, leave Secure Boot on, but you will be looking at a completely different process that it may or may not work (it certainly did not work for me): https://www.derekseaman.com/2023/11/proxmox-ve-8-1-windows-11-vgpu-vt-d-passthrough-with-intel-alder-lake.html
I finally got my tdarr lxc working but it is pitifully slow transcode speeds... Not sure why that would be as it is supposed to be pretty fast. I am getting like 29 fps. I have been following this tuturial which is from 2022 so maybe I should be using something more updated. https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/
when I try to run intel_gpu_top I get this error.
root@tdarr-i9:~# intel_gpu_top Failed to detect engines! (No such file or directory) (Kernel 4.16 or newer is required for i915 PMU support.)
both on proxmox and the LXC.
I finally got my tdarr lxc working but it is pitifully slow transcode speeds... Not sure why that would be as it is supposed to be pretty fast. I am getting like 29 fps. I have been following this tuturial which is from 2022 so maybe I should be using something more updated. https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/
https://www.michaelstinkerings.org/gpu-virtualization-with-intel-12th-gen-igpu-uhd-730/ I haven't got time to update it to the current repo but for the LXC part it is largely the same process.
when I try to run intel_gpu_top I get this error.
root@tdarr-i9:~# intel_gpu_top Failed to detect engines! (No such file or directory) (Kernel 4.16 or newer is required for i915 PMU support.)
both on proxmox and the LXC.
try this:
intel_gpu_top -d sriov
I'm confused...what's the solution here? I have secure boot, re-installed my system from scratch, and get the same errors in the logs.
to get past the compile / install issues I used Michael's repo You can also just clone my fork at https://github.com/michael-pptf/i915-sriov-dkms
But after install secure boot was preventing the modules from loading so I rebuilt the system after turning off secure boot and did it all over again with success finally.
I found that 6.5.13-3 (not -5) worked with secure boot on my second N305 server.
I finally got my tdarr lxc working but it is pitifully slow transcode speeds... Not sure why that would be as it is supposed to be pretty fast. I am getting like 29 fps. I have been following this tuturial which is from 2022 so maybe I should be using something more updated. https://geekistheway.com/2022/12/23/setting-up-intel-gpu-passthrough-on-proxmox-lxc-containers/
https://www.michaelstinkerings.org/gpu-virtualization-with-intel-12th-gen-igpu-uhd-730/ I haven't got time to update it to the current repo but for the LXC part it is largely the same process.
when I try to run intel_gpu_top I get this error. root@tdarr-i9:~# intel_gpu_top Failed to detect engines! (No such file or directory) (Kernel 4.16 or newer is required for i915 PMU support.) both on proxmox and the LXC.
try this:
intel_gpu_top -d sriov
Thanks that link helped greatly! Got it all working now in Tdarr lxc
scratch that it is working but every video is getting corrupted with green screen with artifacts. Could this be driver related? transcode was successful and it was hevc after complete with no errors.
scratch that it is working but every video is getting corrupted with green screen with artifacts. Could this be driver related? transcode was successful and it was hevc after complete with no errors.
Are you doing HDR tonemapping? That would not work and the symptom is the same as you described.
scratch that it is working but every video is getting corrupted with green screen with artifacts. Could this be driver related? transcode was successful and it was hevc after complete with no errors.
Are you doing HDR tonemapping? That would not work and the symptom is the same as you described.
Not sure I am just using a community plugin in Tdarr. Not sure if this would be in plugin setting or somewhere else in tdarr.
specifically this one Tdarr_Plugin_drdd_standardise_all_in_one DrDD H265 MKV AC3 audio subtitles [VAAPI & NVENC]
I wanted to use this one but had no luck..
Boosh-Transcode using QSV GPU & FFMPEG
==DETAILS== This is a QSV plugin. 8th+ gen INTEL QSV enabled CPUs are recommended. VAAPI is NOT used. ==OS SUPPORT== This plugin supports Linux & Windows using QSV. Mac is supported though cannot use QSV and relies on 'VideoToolBox' - Expect to see different encode speed & quality on Mac compared to other platforms. Ensure you set your node settings accordingly! ==LOGIC== Files will be transcoded into H265/HEVC using Quick Sync Video (QSV) via Intel GPU using ffmpeg. Settings are dependant on file bitrate working by the logic that H265 can support the same amount of data at half the bitrate of H264. This plugin will skip files already in HEVC, AV1 & VP9 unless "reconvert_hevc" is marked as true. If it is then these will be reconverted again if they exceed the bitrate specified in "hevc_max_bitrate". This plugin relies on understanding the accurate video bitrate of your files. It's highly recommended to remux into MKV & enable "Run mkvpropedit on files before running plugins" under Tdarr>Options.
I performed a new proxmox install from the ISO 8.1 I believe. Pinned the kernel - proxmox-boot-tool kernel pin 6.5.11-8-pve Used the post install helper script to config and upgrade PVE. Once it was upgraded I pinned the kernel from the one above to this kernel. proxmox-boot-tool kernel pin 6.5.13-5-pve 00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) I previously tried this on a mini computer with a J5005 I believe with out success because after the reboot my system would always loose its network when it came back up. However the dkms install always worked on that system while following the same steps. Got my memory for the MS1 and decided to try it against the newer I9-12900h to see if I had better results but no luck.
Proceeded to follow the steps here to install all required and the headers. Tried to install 6.5 version of the dkms and I get this error.
dkms install --force -m i915-sriov-dkms -v 6.5 Sign command: /lib/modules/6.5.13-5-pve/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub
Building module: Cleaning build area... make -j20 KERNELRELEASE=6.5.13-5-pve -j20 -C /lib/modules/6.5.13-5-pve/build M=/var/lib/dkms/i915-sriov-dkms/6.5/build KVER=6.5.13-5-pve.......(bad exit status: 2) Error! Bad return status for module build on kernel: 6.5.13-5-pve (x86_64) Consult /var/lib/dkms/i915-sriov-dkms/6.5/build/make.log for more information. root@pve-i9:~/i915-sriov-dkms# cat /var/lib/dkms/i915-sriov-dkms/6.5/build/make.log DKMS make.log for i915-sriov-dkms-6.5 for kernel 6.5.13-5-pve (x86_64) Sat May 4 08:02:37 AM PDT 2024 make: Entering directory '/usr/src/linux-headers-6.5.13-5-pve' CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_driver.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_drm_client.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_config.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_getparam.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_hwmon.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_ioctl.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_irq.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_mitigations.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_module.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_params.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_pci.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_scatterlist.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_suspend.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_switcheroo.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_sysfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_utils.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_device_info.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_memory_region.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_pcode.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_pm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_region_ttm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_runtime_pm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_sbi.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_step.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_uncore.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/intel_wakeref.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/vlv_sideband.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/vlv_suspend.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/soc/intel_dram.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/soc/intel_gmch.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/soc/intel_pch.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_memcpy.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_mm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_sw_fence.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_sw_fence_work.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_syncmap.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_user_extensions.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_ioc32.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_debugfs_params.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_display_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_pipe_crc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_pmu.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen2_engine_cs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen6_engine_cs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen6_ppgtt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen7_renderclear.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen8_engine_cs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen8_ppgtt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_breadcrumbs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_context.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_context_sseu.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_engine_cs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_engine_heartbeat.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_engine_pm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_engine_user.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_execlists_submission.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_ggtt.o /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen8_ppgtt.c:103:12: warning: ‘gen12_pte_encode_shim’ defined but not used [-Wunused-function] 103 | static u64 gen12_pte_encode_shim(dma_addr_t addr, | ^
~~~~CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_clock_utils.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_engines_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_irq.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_mcr.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_pm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_pm_irq.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_requests.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_sysfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gtt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_llc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_lrc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_migrate.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_mocs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_ppgtt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_rc6.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_region_lmem.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_renderstate.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_reset.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_ring.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_ring_submission.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_rps.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_sa_media.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_sseu.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_sseu_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_timeline.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_tlb.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_wopcm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_workarounds.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/shmem_utils.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/sysfs_engines.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_ggtt_gmch.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen6_renderstate.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen7_renderstate.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen8_renderstate.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/gen9_renderstate.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_busy.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_clflush.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_context.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_create.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_domain.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_internal.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_object.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_lmem.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_mman.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_pages.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_phys.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_pm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_region.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_shmem.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_shrinker.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_stolen.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_throttle.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_tiling.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_ttm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_userptr.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gem_wait.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_active.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_cmd_parser.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gem/i915_gemfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_deps.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_gem_evict.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_gem_gtt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_gem_ww.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_gem.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_query.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_request.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_scheduler.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_trace_points.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_ttm_buddy_manager.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_vma.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_vma_resource.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_ads.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_capture.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_ct.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_fw.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_log.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_rc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_huc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_huc_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_huc_fw.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_uc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gsc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_sriov.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_sriov_sysfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_debugfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_event.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_memirq.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_provisioning.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_query.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_relay.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_service.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_state.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/iov/intel_iov_sysfs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/hsw_ips.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_atomic.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_atomic_plane.o /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gsc.c: In function ‘gsc_destroy_one’: /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gsc.c:150:71: warning: passing argument 2 of ‘intel_huc_unregister_gsc_notifier’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | aux_dev->dev.bus); |~~^~ In file included from /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_uc.h:14, from /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gt_types.h:19, from /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_engine.h:18, from /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/i915_drv.h:46, from /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gsc.c:8: /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_huc.h:70:80: note: expected ‘struct bus_type ’ but argument is of type ‘const struct bus_type ’ 70 | void intel_huc_unregister_gsc_notifier(struct intel_huc huc, struct bus_type bus); |~~~^/var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gsc.c: In function ‘gsc_init_one’: /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gsc.c:264:61: warning: passing argument 2 of ‘intel_huc_register_gsc_notifier’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | aux_dev->dev.bus); |~~^~ /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_huc.h:69:78: note: expected ‘struct bus_type ’ but argument is of type ‘const struct bus_type ’ 69 | void intel_huc_register_gsc_notifier(struct intel_huc huc, struct bus_type bus); |~~~^/var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/intel_gsc.c:271:71: warning: passing argument 2 of ‘intel_huc_unregister_gsc_notifier’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | aux_dev->dev.bus); |~~^~ /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/gt/uc/intel_huc.h:70:80: note: expected ‘struct bus_type ’ but argument is of type ‘const struct bus_type ’ 70 | void intel_huc_unregister_gsc_notifier(struct intel_huc huc, struct bus_type bus); |~~~^CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_audio.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_bios.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_bw.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_cdclk.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_color.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_combo_phy.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_connector.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_crtc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_crtc_state_dump.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_cursor.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_display.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_display_power.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_display_power_map.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_display_power_well.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dmc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dpio_phy.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dpll.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dpll_mgr.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dpt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_drrs.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dsb.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_fb.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_fb_pin.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_fbc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_fdi.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_fifo_underrun.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_frontbuffer.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_global_state.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_hdcp.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_hotplug.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_hti.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_lpe_audio.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_modeset_verify.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_modeset_setup.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_overlay.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_pch_display.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_pch_refclk.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_plane_initial.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_psr.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_quirks.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_sprite.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_tc.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_vblank.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_vga.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/i9xx_plane.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/skl_scaler.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/skl_universal_plane.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/skl_watermark.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_acpi.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_opregion.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_fbdev.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/dvo_ch7017.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/dvo_ch7xxx.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/dvo_ivch.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/dvo_ns2501.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/dvo_sil164.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/dvo_tfp410.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/g4x_dp.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/g4x_hdmi.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/icl_dsi.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_backlight.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_crt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_cx0_phy.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_ddi.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dkl_phy.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_display_trace.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_aux.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_hdcp.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_link_training.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_mst.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dsi.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dsi_vbt.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dvo.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_gmbus.o CC [M] /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_hdmi.o /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_mst.c: In function ‘intel_dp_mst_find_vcpi_slots_for_bpp’: /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:86:43: error: too many arguments to function ‘drm_dp_calc_pbn_mode’ 86 | crtc_state->pbn = drm_dp_calc_pbn_mode(adjusted_mode->crtc_clock, | ^~~~~~~~ In file included from /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_display_types.h:36, from /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:40: ./include/drm/display/drm_dp_mst_helper.h:835:5: note: declared here 835 | int drm_dp_calc_pbn_mode(int clock, int bpp); | ^~~~~~~~ /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_mst.c: In function ‘intel_dp_mst_mode_valid_ctx’: /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_mst.c:906:17: error: too many arguments to function ‘drm_dp_calc_pbn_mode’ 906 | drm_dp_calc_pbn_mode(mode->clock, min_bpp, false) > port->full_pbn) { | ^~~~~~~~ ./include/drm/display/drm_dp_mst_helper.h:835:5: note: declared here 835 | int drm_dp_calc_pbn_mode(int clock, int bpp); | ^~~~~~~~ make[2]: [scripts/Makefile.build:251: /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_dp_mst.o] Error 1 make[2]: Waiting for unfinished jobs.... /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_hdmi.c: In function ‘intel_hdmi_handle_sink_scrambling’: /var/lib/dkms/i915-sriov-dkms/6.5/build/drivers/gpu/drm/i915/display/intel_hdmi.c:2682:29: warning: unused variable ‘adapter’ [-Wunused-variable] 2682 | struct i2c_adapter *adapter = | ^~~ make[1]: [/usr/src/linux-headers-6.5.13-5-pve/Makefile:2039: /var/lib/dkms/i915-sriov-dkms/6.5/build] Error 2 make: [Makefile:234: __sub-make] Error 2 make: Leaving directory '/usr/src/linux-headers-6.5.13-5-pve'