Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434814 Details for
Bug 583588
x11-drivers/nvidia-drivers-364.19 fails to compile with sys-kernel/gentoo-sources-4.6.0: error: initialization from incompatible pointer type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nvidia drivers patch for 460
nvidia-460.patch (text/plain), 1.51 KB, created by
Harris Landgarten
on 2016-05-20 22:26:15 UTC
(
hide
)
Description:
nvidia drivers patch for 460
Filename:
MIME Type:
Creator:
Harris Landgarten
Created:
2016-05-20 22:26:15 UTC
Size:
1.51 KB
patch
obsolete
>--- a/kernel/nvidia-drm/nvidia-drm-fb.c >+++ b/kernel/nvidia-drm/nvidia-drm-fb.c >@@ -77,7 +77,7 @@ > static struct drm_framebuffer *internal_framebuffer_create > ( > struct drm_device *dev, >- struct drm_file *file, struct drm_mode_fb_cmd2 *cmd, >+ struct drm_file *file, const struct drm_mode_fb_cmd2 *cmd, > uint64_t nvkms_params_ptr, > uint64_t nvkms_params_size > ) >@@ -199,7 +199,7 @@ > struct drm_framebuffer *nvidia_drm_framebuffer_create > ( > struct drm_device *dev, >- struct drm_file *file, struct drm_mode_fb_cmd2 *cmd >+ struct drm_file *file, const struct drm_mode_fb_cmd2 *cmd > ) > { > return internal_framebuffer_create(dev, file, cmd, 0, 0); >--- a/kernel/nvidia-drm/nvidia-drm-fb.h >+++ b/kernel/nvidia-drm/nvidia-drm-fb.h >@@ -45,7 +45,7 @@ > struct drm_framebuffer *nvidia_drm_framebuffer_create > ( > struct drm_device *dev, >- struct drm_file *file, struct drm_mode_fb_cmd2 *cmd >+ struct drm_file *file, const struct drm_mode_fb_cmd2 *cmd > ); > > int nvidia_drm_add_nvkms_fb( >--- a/kernel/nvidia-drm/nvidia-drm-linux.c >+++ b/kernel/nvidia-drm/nvidia-drm-linux.c >@@ -31,6 +31,7 @@ > > #if defined(NV_DRM_AVAILABLE) > >+#include "nv-mm.h" > #include "nv-pgprot.h" > > MODULE_PARM_DESC( >@@ -121,8 +122,7 @@ > > down_read(&mm->mmap_sem); > >- pages_pinned = get_user_pages(current, mm, >- address, pages_count, write, force, >+ pages_pinned = NV_GET_USER_PAGES(address, pages_count, write, force, > user_pages, NULL); > up_read(&mm->mmap_sem);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 583588
:
434790
| 434814