mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
xf86-video-nvidia-legacy: fix build with linux 6.6
refer: -71e801b9b4
-6b85aa68d9
-71a7974ac7
This commit is contained in:
parent
95befb8bd2
commit
9c9429e6f8
@ -0,0 +1,12 @@
|
||||
--- a/kernel/nv-drm.c 2023-10-22 05:50:14.478811549 +0000
|
||||
+++ b/kernel/nv-drm.c 2023-10-22 06:00:35.172438953 +0000
|
||||
@@ -509,7 +509,9 @@
|
||||
.gem_free_object_unlocked = nv_gem_free,
|
||||
#endif
|
||||
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
|
||||
.prime_handle_to_fd = drm_gem_prime_handle_to_fd,
|
||||
+#endif
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(5, 10, 0)
|
||||
.gem_prime_export = drm_gem_prime_export,
|
||||
.gem_prime_get_sg_table = nv_gem_prime_get_sg_table,
|
Loading…
x
Reference in New Issue
Block a user