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:
Deepak Nibade
2014-04-11 15:28:01 +05:30
committed by Dan Willemsen
parent 91724953fd
commit 0389835edb

View File

@@ -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.set_min_eq_max = gk20a_channel_syncpt_set_min_eq_max;
sp->ops.destroy = gk20a_channel_syncpt_destroy;
sp->ops.syncpt_aggressive_destroy = true;
return &sp->ops;
}
#endif /* CONFIG_TEGRA_GK20A */