diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2017-01-24 11:39:54 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-31 19:23:23 -0500 |
commit | cae5a0bc3607cf453dc3cffff7f405b2111f4299 (patch) | |
tree | e844b857fad4aea9a5ec2313a14e84228c2f668e /drivers/gpu/nvgpu/pstate/pstate.c | |
parent | d2de17bfb0eb24ac020e2dfa3ce0dd4f9d0332f9 (diff) |
gpu: nvgpu: empty FECS buffer on trace enable
Currently, when reading from ctxsw device node, we are collecting
traces that occurred before enabling tracing. This is not wanted,
and makes testing unpredicatable.
This change drops existing data in FECS ring buffer when enabling
traces, as currently done on vm-server side.
Jira EVLR-991
Change-Id: Idd2544d4667396f90778b7be82bdf73d1f8b8dc8
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1293303
Reviewed-by: Vishnu Reddy Mandalapu <vmandalapu@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pstate/pstate.c')
0 files changed, 0 insertions, 0 deletions