summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-01-04 18:23:01 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-11 15:44:20 -0500
commit09dba979a85855d4bdfafbb4bf18eefab3d71099 (patch)
tree2aecb3248182e13844cbf79c55d5f0cb90e30d07 /drivers/gpu/nvgpu/gk20a/tsg_gk20a.c
parent78ad8a23ea896abde95f76b2ced0fe353cb4cb60 (diff)
gpu: nvgpu: Update patch count after adding
When kernel adds patches to a context, kernel needs to update the patch count in order for FECS to pick up the new patches. Previously patching was done only at the context creation time. Now patching is used also when changing preemption mode, but the patches did not take effect due to not updating count. Update patch count every time we end patching of a context. Bug 1852094 Change-Id: Ic2150741609d1d1956769e439ce1c5f2edcacb84 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1280424 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.c')
0 files changed, 0 insertions, 0 deletions