From b7ef1db416835a415b944207921871ef206abb2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 Jun 2019 14:57:42 +0100 Subject: x11-drivers/nvidia-drivers : version bump --- x11-drivers/nvidia-drivers/files/kernel-4.19.patch | 49 ---------------------- 1 file changed, 49 deletions(-) delete mode 100644 x11-drivers/nvidia-drivers/files/kernel-4.19.patch (limited to 'x11-drivers/nvidia-drivers/files/kernel-4.19.patch') diff --git a/x11-drivers/nvidia-drivers/files/kernel-4.19.patch b/x11-drivers/nvidia-drivers/files/kernel-4.19.patch deleted file mode 100644 index 4abcba4a..00000000 --- a/x11-drivers/nvidia-drivers/files/kernel-4.19.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -Naru a/kernel/nvidia-drm/nvidia-drm-connector.c b/kernel/nvidia-drm/nvidia-drm-connector.c ---- a/kernel/nvidia-drm/nvidia-drm-connector.c 2018-10-23 07:58:50.447742183 +0200 -+++ b/kernel/nvidia-drm/nvidia-drm-connector.c 2018-10-23 08:00:13.927741400 +0200 -@@ -35,6 +35,8 @@ - #include - #include - -+#include -+ - static void nv_drm_connector_destroy(struct drm_connector *connector) - { - struct nv_drm_connector *nv_connector = to_nv_connector(connector); -@@ -226,7 +228,11 @@ - - - if (nv_connector->edid != NULL) { -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) -+ drm_connector_update_edid_property( -+#else - drm_mode_connector_update_edid_property( -+#endif - connector, nv_connector->edid); - } - -diff -Naru kernel.orig/nvidia-drm/nvidia-drm-encoder.c kernel/nvidia-drm/nvidia-drm-encoder.c ---- a/kernel/nvidia-drm/nvidia-drm-encoder.c 2018-10-23 07:58:50.447742183 +0200 -+++ b/kernel/nvidia-drm/nvidia-drm-encoder.c 2018-10-23 08:01:21.587740766 +0200 -@@ -35,6 +35,8 @@ - #include - #include - -+#include -+ - static void nv_drm_encoder_destroy(struct drm_encoder *encoder) - { - struct nv_drm_encoder *nv_encoder = to_nv_encoder(encoder); -@@ -215,8 +217,11 @@ - } - - /* Attach encoder and connector */ -- -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) -+ ret = drm_connector_attach_encoder(connector, encoder); -+#else - ret = drm_mode_connector_attach_encoder(connector, encoder); -+#endif - - if (ret != 0) { - NV_DRM_DEV_LOG_ERR( -- cgit v1.2.3