diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-09-08 15:13:39 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-18 15:24:25 -0400 |
commit | cd452a6ed4cad388909b0372f04a0482609acb90 (patch) | |
tree | d1bcc16124454ca8d05192f17425d448cf61812e /drivers/gpu/nvgpu/gm206/bios_gm206.c | |
parent | c284516ead33708e135eeaa53672d835849f25fb (diff) |
gpu: nvgpu: implement PCIe Gen2 frequency swap
Implement the ability to swap between different PCIe bus speeds. This
code is called during init in case the GPU is not running at the max
supported PCIe bus speed.
JIRA DNVGPU-89
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1218178
(cherry picked from commit 8dcd3e10f46f524c9bac9fd5dae0f0a899123c23)
Change-Id: I21f96110578a68d5c5e30ae21776cff69aefba5d
Reviewed-on: http://git-master/r/1227922
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/bios_gm206.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm206/bios_gm206.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm206/bios_gm206.c b/drivers/gpu/nvgpu/gm206/bios_gm206.c index 7b6a50d0..8693912e 100644 --- a/drivers/gpu/nvgpu/gm206/bios_gm206.c +++ b/drivers/gpu/nvgpu/gm206/bios_gm206.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #define BIT_HEADER_ID 0xb8ff | 29 | #define BIT_HEADER_ID 0xb8ff |
30 | #define BIT_HEADER_SIGNATURE 0x00544942 | 30 | #define BIT_HEADER_SIGNATURE 0x00544942 |
31 | #define BIOS_SIZE 0x40000 | 31 | #define BIOS_SIZE 0x40000 |
32 | #define NV_PCFG 0x88000 | ||
33 | #define PCI_EXP_ROM_SIG 0xaa55 | 32 | #define PCI_EXP_ROM_SIG 0xaa55 |
34 | #define PCI_EXP_ROM_SIG_NV 0x4e56 | 33 | #define PCI_EXP_ROM_SIG_NV 0x4e56 |
35 | #define ROM_FILE_PAYLOAD_OFFSET 0xa00 | 34 | #define ROM_FILE_PAYLOAD_OFFSET 0xa00 |