From: Alex Deucher <alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>,
Evan Quan <evan.quan-5C7GfCeVMHo@public.gmane.org>
Subject: [PATCH 34/42] drm/amd/powerplay: update atomfirmware.h (v2)
Date: Wed, 21 Mar 2018 08:46:31 -0500 [thread overview]
Message-ID: <20180321134639.18782-34-alexander.deucher@amd.com> (raw)
In-Reply-To: <20180321134639.18782-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
From: Evan Quan <evan.quan@amd.com>
Add new smu_info table.
v2: update table format.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/include/atomfirmware.h | 82 +++++++++++++++++++++++++++++-
1 file changed, 81 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
index 7c92f4707085..3ae3da4e7c14 100644
--- a/drivers/gpu/drm/amd/include/atomfirmware.h
+++ b/drivers/gpu/drm/amd/include/atomfirmware.h
@@ -381,7 +381,7 @@ struct atom_rom_hw_function_header
struct atom_master_list_of_data_tables_v2_1{
uint16_t utilitypipeline; /* Offest for the utility to get parser info,Don't change this position!*/
uint16_t multimedia_info;
- uint16_t sw_datatable2;
+ uint16_t smc_dpm_info;
uint16_t sw_datatable3;
uint16_t firmwareinfo; /* Shared by various SW components */
uint16_t sw_datatable5;
@@ -1198,6 +1198,86 @@ struct atom_smu_info_v3_1
uint8_t fw_ctf_polarity; // GPIO polarity for CTF
};
+/*
+ ***************************************************************************
+ Data Table smc_dpm_info structure
+ ***************************************************************************
+ */
+struct atom_smc_dpm_info_v4_1
+{
+ struct atom_common_table_header table_header;
+ uint8_t liquid1_i2c_address;
+ uint8_t liquid2_i2c_address;
+ uint8_t vr_i2c_address;
+ uint8_t plx_i2c_address;
+
+ uint8_t liquid_i2c_linescl;
+ uint8_t liquid_i2c_linesda;
+ uint8_t vr_i2c_linescl;
+ uint8_t vr_i2c_linesda;
+
+ uint8_t plx_i2c_linescl;
+ uint8_t plx_i2c_linesda;
+ uint8_t vrsensorpresent;
+ uint8_t liquidsensorpresent;
+
+ uint16_t maxvoltagestepgfx;
+ uint16_t maxvoltagestepsoc;
+
+ uint8_t vddgfxvrmapping;
+ uint8_t vddsocvrmapping;
+ uint8_t vddmem0vrmapping;
+ uint8_t vddmem1vrmapping;
+
+ uint8_t gfxulvphasesheddingmask;
+ uint8_t soculvphasesheddingmask;
+ uint8_t padding8_v[2];
+
+ uint16_t gfxmaxcurrent;
+ uint8_t gfxoffset;
+ uint8_t padding_telemetrygfx;
+
+ uint16_t socmaxcurrent;
+ uint8_t socoffset;
+ uint8_t padding_telemetrysoc;
+
+ uint16_t mem0maxcurrent;
+ uint8_t mem0offset;
+ uint8_t padding_telemetrymem0;
+
+ uint16_t mem1maxcurrent;
+ uint8_t mem1offset;
+ uint8_t padding_telemetrymem1;
+
+ uint8_t acdcgpio;
+ uint8_t acdcpolarity;
+ uint8_t vr0hotgpio;
+ uint8_t vr0hotpolarity;
+
+ uint8_t vr1hotgpio;
+ uint8_t vr1hotpolarity;
+ uint8_t padding1;
+ uint8_t padding2;
+
+ uint8_t ledpin0;
+ uint8_t ledpin1;
+ uint8_t ledpin2;
+ uint8_t padding8_4;
+
+ uint8_t gfxclkspreadenabled;
+ uint8_t gfxclkspreadpercent;
+ uint16_t gfxclkspreadfreq;
+
+ uint8_t uclkspreadenabled;
+ uint8_t uclkspreadpercent;
+ uint16_t uclkspreadfreq;
+
+ uint8_t socclkspreadenabled;
+ uint8_t socclkspreadpercent;
+ uint16_t socclkspreadfreq;
+
+ uint32_t boardreserved[3];
+};
/*
--
2.13.6
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2018-03-21 13:46 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-21 13:45 [PATCH 00/42] Add vega12 support Alex Deucher
[not found] ` <20180321134639.18782-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-03-21 13:45 ` [PATCH 02/42] drm/amdgpu: add vega12 to asic_type enum Alex Deucher
2018-03-21 13:46 ` [PATCH 03/42] drm/amdgpu: add gpu_info firmware for vega12 Alex Deucher
2018-03-21 13:46 ` [PATCH 04/42] drm/amdgpu: set asic family and ip blocks " Alex Deucher
2018-03-21 13:46 ` [PATCH 05/42] drm/amdgpu: vega12 to smu firmware Alex Deucher
2018-03-21 13:46 ` [PATCH 06/42] drm/amdgpu/psp: initial vega12 support Alex Deucher
2018-03-21 13:46 ` [PATCH 07/42] drm/amdgpu: initilize vega12 psp firmwares Alex Deucher
2018-03-21 13:46 ` [PATCH 08/42] drm/amdgpu: add vega12 ucode loading method Alex Deucher
2018-03-21 13:46 ` [PATCH 09/42] drm/amdgpu: specify vega12 uvd firmware Alex Deucher
2018-03-21 13:46 ` [PATCH 10/42] drm/amdgpu: specify vega12 vce firmware Alex Deucher
2018-03-21 13:46 ` [PATCH 11/42] drm/amdgpu/virtual_dce: add vega12 support Alex Deucher
2018-03-21 13:46 ` [PATCH 12/42] drm/amd/display/dm: " Alex Deucher
2018-03-21 13:46 ` [PATCH 13/42] drm/amd/display: Add bios firmware info version for VG12 Alex Deucher
[not found] ` <20180321134639.18782-13-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-03-22 14:14 ` Harry Wentland
2018-03-21 13:46 ` [PATCH 14/42] drm/amdgpu: add vega12 to dc support check Alex Deucher
2018-03-21 13:46 ` [PATCH 15/42] drm/amdgpu/gmc9: add vega12 support Alex Deucher
2018-03-21 13:46 ` [PATCH 16/42] drm/amdgpu/gmc9: fix vega12's athub&mmhub golden setting Alex Deucher
[not found] ` <20180321134639.18782-16-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-03-21 14:19 ` Christian König
[not found] ` <10d031de-ed8a-2091-bedd-b7a540c118f7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-03-21 14:44 ` Alex Deucher
2018-03-21 13:46 ` [PATCH 17/42] drm/amdgpu/mmhub: add clockgating support for vega12 Alex Deucher
2018-03-21 13:46 ` [PATCH 18/42] drm/amdgpu/sdma4: specify vega12 firmware Alex Deucher
2018-03-21 13:46 ` [PATCH 19/42] drm/amdgpu/sdma4: Add placeholder for vega12 golden settings Alex Deucher
2018-03-21 13:46 ` [PATCH 20/42] drm/amdgpu/sdma4: add clockgating support for vega12 Alex Deucher
2018-03-21 13:46 ` [PATCH 21/42] drm/amdgpu/sdma4: add sdma4_0_1 support for vega12 (v3) Alex Deucher
2018-03-21 13:46 ` [PATCH 22/42] drm/amdgpu/sdma4: Update vega12 sdma golden setting Alex Deucher
2018-03-21 13:46 ` [PATCH 23/42] drm/amdgpu/gfx9: add support for vega12 firmware Alex Deucher
2018-03-21 13:46 ` [PATCH 24/42] drm/amdgpu/gfx9: Add placeholder for vega12 golden settings Alex Deucher
2018-03-21 13:46 ` [PATCH 25/42] drm/amdgpu/gfx9: add gfx config for vega12 Alex Deucher
2018-03-21 13:46 ` [PATCH 26/42] drm/amdgpu/gfx9: add support " Alex Deucher
2018-03-21 13:46 ` [PATCH 27/42] drm/amdgpu/gfx9: add clockgating " Alex Deucher
2018-03-21 13:46 ` [PATCH 28/42] drm/amdgpu/gfx9: add golden setting for vega12 (v3) Alex Deucher
2018-03-21 13:46 ` [PATCH 29/42] drm/amdgpu/soc15: add support for vega12 Alex Deucher
2018-03-21 13:46 ` [PATCH 30/42] drm/amdgpu/soc15: update vega12 cg_flags Alex Deucher
2018-03-21 13:46 ` [PATCH 31/42] drm/amd/soc15: Add external_rev_id for vega12 Alex Deucher
2018-03-21 13:46 ` [PATCH 32/42] drm/amdgpu/soc15: initialize reg base " Alex Deucher
2018-03-21 13:46 ` [PATCH 33/42] drm/amd/powerplay: add vega12_inc.h Alex Deucher
2018-03-21 13:46 ` Alex Deucher [this message]
2018-03-21 13:46 ` [PATCH 35/42] drm/amd/powerplay: add new smu9_driver_if.h for vega12 (v2) Alex Deucher
2018-03-21 13:46 ` [PATCH 36/42] drm/amd/powerplay: add vega12_ppsmc.h Alex Deucher
2018-03-21 13:46 ` [PATCH 37/42] drm/amd/powerplay: add vega12_pptable.h Alex Deucher
2018-03-21 13:46 ` [PATCH 38/42] drm/amd/powerplay: update ppatomfwctl (v2) Alex Deucher
2018-03-21 13:46 ` [PATCH 39/42] drm/amd/powerplay: add new pp_psm infrastructure for vega12 (v2) Alex Deucher
2018-03-21 13:46 ` [PATCH 40/42] drm/amd/powerplay: add the smu manager for vega12 (v4) Alex Deucher
2018-03-21 13:46 ` [PATCH 41/42] drm/amd/powerplay: add the hw " Alex Deucher
2018-03-21 13:46 ` [PATCH 42/42] drm/amdgpu: add vega12 pci ids (v2) Alex Deucher
2018-03-21 14:24 ` [PATCH 00/42] Add vega12 support Christian König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180321134639.18782-34-alexander.deucher@amd.com \
--to=alexdeucher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=evan.quan-5C7GfCeVMHo@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.