mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-11 02:29:58 +00:00
570.124.04
This commit is contained in:
@@ -2339,6 +2339,13 @@ static void DestroySurface
|
||||
|
||||
paramsUnreg.request.deviceHandle = device->hKmsDevice;
|
||||
paramsUnreg.request.surfaceHandle = surface->hKmsHandle;
|
||||
/*
|
||||
* Since we are unregistering this surface from KAPI we know that this is
|
||||
* primarily happens from nv_drm_framebuffer_destroy and access to this
|
||||
* framebuffer has been externally synchronized, we are done with it.
|
||||
* Because of that we do not need to synchronize this unregister.
|
||||
*/
|
||||
paramsUnreg.request.skipSync = NV_TRUE;
|
||||
|
||||
status = nvkms_ioctl_from_kapi(device->pKmsOpen,
|
||||
NVKMS_IOCTL_UNREGISTER_SURFACE,
|
||||
|
||||
Reference in New Issue
Block a user