diff options
author | Martin Radev <mradev@nvidia.com> | 2018-03-15 13:36:59 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-26 12:13:05 -0400 |
commit | c392a7270fd13fa0eb1e26ef0ef9f8f4479630a1 (patch) | |
tree | ab4713d743a277cc098ca017c603a5416a5cacd2 /include/uapi/linux/nvgpu.h | |
parent | b1ac66d41855a9fa6bc6a29ff2259c93cae36532 (diff) |
gpu: nvgpu: Reset streaming on perfbuf_enable and perfbuf_disable
Similarly to css_hw_(enable|disable)_snapshot the HWPM
state should be reset on perfbuf_enable and perfbuf_disable
to avoid leaking snapshot data into a freshly mapped buffer.
Bug 1960846
Change-Id: I94826b209ef4b8cb6ad44d3b8667745270c6a7e1
Signed-off-by: Martin Radev <mradev@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1676009
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu.h')
0 files changed, 0 insertions, 0 deletions