diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2017-03-17 14:36:19 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-24 12:08:17 -0400 |
commit | fd02ab4d540ef473df1fe189653cc521876663d6 (patch) | |
tree | 1c61ea5b63900808cf79903e72a0bf462814b077 /drivers/gpu/nvgpu/pci.h | |
parent | a9fb2a4824a48f4ff193a1a54d1143ac0395aa95 (diff) |
gpu: nvgpu: vgpu: profiler reservation support
Support for hwpm reservations in the virtual case:
- Add session ops for checking and setting global and context reservations, and
releasing reservations
- in the native case, these just update reservation counts and flags
- in the vgpu case, when the reservation count is 0, check with the RM server
that a reservation is possible: for global reservations, no other guest
can have a reservation; for context reservations, no other guest can have
a global reservation
- in the vgpu case, when the reservation count is decremented to 0, notify
the RM server that the guest no longer has any reservations
Bug 1775465
JIRA VFND-3428
Change-Id: Idf115b730e465e35d0745c96a8f8ab6b645c7cae
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: http://git-master/r/1323375
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pci.h')
0 files changed, 0 insertions, 0 deletions