mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
xf86-video-nvidia-legacy: update to xf86-video-nvidia-legacy-340.106
This commit is contained in:
parent
883f1ba311
commit
999118ef4a
@ -17,8 +17,8 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="xf86-video-nvidia-legacy"
|
PKG_NAME="xf86-video-nvidia-legacy"
|
||||||
PKG_VERSION="340.104"
|
PKG_VERSION="340.106"
|
||||||
PKG_SHA256="ed112523ae424aea46904d2dcfc769b0263cf552f5bfec0e30601f6f0f95eada"
|
PKG_SHA256="c0d5dacd7be6c096400b9a5fd54676af36210ab480f2498335a612cfd1814467"
|
||||||
PKG_ARCH="x86_64"
|
PKG_ARCH="x86_64"
|
||||||
PKG_LICENSE="nonfree"
|
PKG_LICENSE="nonfree"
|
||||||
PKG_SITE="http://www.nvidia.com/"
|
PKG_SITE="http://www.nvidia.com/"
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
From 5c9e8a994fe8529388ab159e0aa371c75bc3d17b Mon Sep 17 00:00:00 2001
|
|
||||||
From: MilhouseVH <milhouseVH.github@nmacleod.com>
|
|
||||||
Date: Thu, 21 Sep 2017 04:22:12 +0100
|
|
||||||
Subject: [PATCH] drm/pci: drm_pci_init/exit now deprecated
|
|
||||||
|
|
||||||
As per: https://github.com/torvalds/linux/commit/10631d724deff712343d96dd3017cd323349f761
|
|
||||||
|
|
||||||
Use legacy variant, as pci_[un]register_driver currently fails.
|
|
||||||
---
|
|
||||||
kernel/nv-drm.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/kernel/nv-drm.c b/kernel/nv-drm.c
|
|
||||||
index 2aa7cc8..23df996 100644
|
|
||||||
--- a/kernel/nv-drm.c
|
|
||||||
+++ b/kernel/nv-drm.c
|
|
||||||
@@ -173,7 +173,7 @@ int __init nv_drm_init(
|
|
||||||
{
|
|
||||||
int ret = 0;
|
|
||||||
#if defined(NV_DRM_AVAILABLE)
|
|
||||||
- ret = drm_pci_init(&nv_drm_driver, pci_driver);
|
|
||||||
+ ret = drm_legacy_pci_init(&nv_drm_driver, pci_driver);
|
|
||||||
#endif
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
@@ -183,7 +183,7 @@ void nv_drm_exit(
|
|
||||||
)
|
|
||||||
{
|
|
||||||
#if defined(NV_DRM_AVAILABLE)
|
|
||||||
- drm_pci_exit(&nv_drm_driver, pci_driver);
|
|
||||||
+ drm_legacy_pci_exit(&nv_drm_driver, pci_driver);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user