diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-01-19 19:04:50 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-08 14:32:24 -0500 |
commit | 73243017514ac509c3a91224286f2bcf9f5a95bd (patch) | |
tree | 637443ce8387c18d1c9c27d09e1c7f7b982f79fb /drivers/gpu/nvgpu/include | |
parent | 27dd1ce475183d00686ffa62d4cffee4786ab66d (diff) |
gpu: nvgpu: enable PCI MSI interrupts
Use MSI interrupts instead of legacy on PCIe
dGPUs to reduce latency and contention with other
PCIe devices
JIRA EVLR-986
Change-Id: I6cecc7e62e5797860d42a5bee21e8f4f664e1b18
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1291758
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h index bfcb4883..c6e9a654 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp106/hw_xve_gp106.h | |||
@@ -194,4 +194,9 @@ static inline u32 xve_reset_clock_counter_val_v(u32 r) | |||
194 | { | 194 | { |
195 | return (r >> 17) & 0x7ff; | 195 | return (r >> 17) & 0x7ff; |
196 | } | 196 | } |
197 | static inline u32 xve_cya_2_r(void) | ||
198 | { | ||
199 | return 0x00000704; | ||
200 | } | ||
201 | |||
197 | #endif | 202 | #endif |