mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: remove aggressive_sync_destroy_thresh check for user syncpoint
VGPU has set aggressive_sync_destroy_thresh even for GV11B, and that breaks allocation of user managed syncpoint on VGPU Remove this check for now until some solution is finalized Bug 200397265 Bug 200326065 Change-Id: Idd765cfdd40b9055d9e083d59c85c84d8b213ee9 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1675678 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
This commit is contained in:
committed by
Mikko Perttunen
parent
dbdf57fb3c
commit
fb40f2a807
@@ -977,11 +977,6 @@ static int nvgpu_ioctl_channel_get_user_syncpoint(struct channel_gk20a *ch,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (g->aggressive_sync_destroy_thresh) {
|
||||
nvgpu_err(g, "sufficient syncpoints not available");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
nvgpu_mutex_acquire(&ch->sync_lock);
|
||||
if (ch->user_sync) {
|
||||
nvgpu_mutex_release(&ch->sync_lock);
|
||||
|
||||
Reference in New Issue
Block a user