gpu: nvgpu: add capability for FECS tracing

FECS tracing is not supported yet on some platforms (e.g. GM20B),
so we need a flag to determine when to run automated tests.

Jira EVLR-992

Change-Id: I01a5b2f78612363de44c1f2c17cebaded696f423
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1293350
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2017-01-24 11:07:00 -08:00
committed by mobile promotions
parent cae5a0bc36
commit 771445abc8
2 changed files with 5 additions and 0 deletions

View File

@@ -518,6 +518,9 @@ int gk20a_ctxsw_trace_init(struct gk20a *g)
if (unlikely(err))
goto fail;
g->gpu_characteristics.flags |=
NVGPU_GPU_FLAGS_SUPPORT_FECS_CTXSW_TRACE;
return 0;
fail: