Advertisement
rotrevrep

nvidia_kernel_511_next.patch

Feb 20th, 2021
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. --- nvidia-drm-drv.c 2021-02-20 21:43:31.053536967 +0100
  2. +++ nvidia-drm-drv_new.c 2021-02-20 21:43:20.113185182 +0100
  3. @@ -798,6 +798,16 @@
  4. #endif
  5. };
  6.  
  7. +#if defined(DRM_GEM_DUMB_DESTROY)
  8. +
  9. +#else
  10. +static int drm_gem_dumb_destroy(struct drm_file *file,
  11. + struct drm_device *dev,
  12. + uint32_t handle)
  13. +{
  14. + return drm_gem_handle_delete(file, handle);
  15. +}
  16. +#endif
  17.  
  18. /*
  19. * Update the global nv_drm_driver for the intended features.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement