mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: add flag for over power monitoring
On PG418, we hard code SW threshold table for over power monitoring. On PG419, there is a dedicated INA for over power monitoring. It is programmed in VBIOS devinit. Added a platform flag to indicate if devinit has already taken care of programming. Jira DNVGPU-206 Change-Id: I28e70ac5621b692864a24e0eadb6d24b9957c0af Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1291813 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
95a3eb454c
commit
9132bb52a6
@@ -83,6 +83,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
|
||||
|
||||
.vidmem_is_vidmem = true,
|
||||
.vbios_min_version = 0x86063000,
|
||||
.hardcode_sw_threshold = true,
|
||||
},
|
||||
{ /* DEVICE=0x1c36 */
|
||||
/* ptimer src frequency in hz */
|
||||
@@ -116,6 +117,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
|
||||
|
||||
.vidmem_is_vidmem = true,
|
||||
.vbios_min_version = 0x86062d00,
|
||||
.hardcode_sw_threshold = true,
|
||||
},
|
||||
{ /* DEVICE=0x1c37 */
|
||||
/* ptimer src frequency in hz */
|
||||
@@ -149,6 +151,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
|
||||
|
||||
.vidmem_is_vidmem = true,
|
||||
.vbios_min_version = 0x86063000,
|
||||
.hardcode_sw_threshold = true,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user