mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: gk20a: enable syncpt free at channel_unbind()
Set syncpt_aggressive_destroy = true and enable gpu channels' syncpt free at channel_unbind() time. This is more agrressive level to free a syncpt. Bug 1305024 Change-Id: I20296590454fcbf6556c5bd08b7e47156f7a1e65 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/395154 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Dan Willemsen
parent
91724953fd
commit
0389835edb
@@ -356,6 +356,9 @@ gk20a_channel_syncpt_create(struct channel_gk20a *c)
|
|||||||
sp->ops.incr_user_fd = gk20a_channel_syncpt_incr_user_fd;
|
sp->ops.incr_user_fd = gk20a_channel_syncpt_incr_user_fd;
|
||||||
sp->ops.set_min_eq_max = gk20a_channel_syncpt_set_min_eq_max;
|
sp->ops.set_min_eq_max = gk20a_channel_syncpt_set_min_eq_max;
|
||||||
sp->ops.destroy = gk20a_channel_syncpt_destroy;
|
sp->ops.destroy = gk20a_channel_syncpt_destroy;
|
||||||
|
|
||||||
|
sp->ops.syncpt_aggressive_destroy = true;
|
||||||
|
|
||||||
return &sp->ops;
|
return &sp->ops;
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_TEGRA_GK20A */
|
#endif /* CONFIG_TEGRA_GK20A */
|
||||||
|
|||||||
Reference in New Issue
Block a user