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

pve6.8.12-5-pve 错误 #232

Closed
lujp opened this issue Dec 16, 2024 · 2 comments
Closed

pve6.8.12-5-pve 错误 #232

lujp opened this issue Dec 16, 2024 · 2 comments

Comments

@lujp
Copy link

lujp commented Dec 16, 2024

CC [M] /var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_memory_region.o
CC [M] /var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_pcode.o
CC [M] /var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_pm.o
CC [M] /var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_region_ttm.o
CC [M] /var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_runtime_pm.o
/var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_runtime_pm.c: In function ‘__intel_runtime_pm_get_if_active’:
/var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_runtime_pm.c:246:21: error: too many arguments to function ‘pm_runtime_get_if_active’
246 | if (pm_runtime_get_if_active(rpm->kdev, ignore_usecount) <= 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_runtime_pm.c:29:
./include/linux/pm_runtime.h:75:12: note: declared here
75 | extern int pm_runtime_get_if_active(struct device *dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:243: /var/lib/dkms/i915-sriov-dkms/6.8.12-5/build/drivers/gpu/drm/i915/intel_runtime_pm.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.8.12-5-pve/Makefile:1925: /var/lib/dkms/i915-sriov-dkms/6.8.12-5/build] Error 2
make: *** [Makefile:240: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.8.12-5-pve'

@ifwwww
Copy link

ifwwww commented Dec 17, 2024

#227 (comment)

1 similar comment
@lujp
Copy link
Author

lujp commented Dec 18, 2024

#227 (comment)

@lujp lujp closed this as completed Dec 18, 2024
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

2 participants