-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add temporary fix for Vulkan+PRIME on Wayland
It should be removed for driver v550 and later! For more details, see NVIDIA/egl-wayland#72 (comment) Signed-off-by: Pavel Artsishevsky <[email protected]>
- Loading branch information
1 parent
82c7c7d
commit fde0a26
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/./kernel/nvidia-drm/nvidia-drm-drv.c b/./kernel-open/nvidia-drm/nvidia-drm-drv.c | ||
index e0ddb6c..42d24f8 100644 | ||
--- a/./kernel/nvidia-drm/nvidia-drm-drv.c | ||
+++ b/./kernel-open/nvidia-drm/nvidia-drm-drv.c | ||
@@ -747,7 +747,7 @@ static int nv_drm_get_dev_info_ioctl(struct drm_device *dev, | ||
|
||
if (nv_dev->semsurf_stride != 0) { | ||
params->supports_semsurf = true; | ||
-#if defined(NV_SYNC_FILE_GET_FENCE_PRESENT) | ||
+#if 0 | ||
params->supports_sync_fd = true; | ||
#endif /* defined(NV_SYNC_FILE_GET_FENCE_PRESENT) */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters