summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include/atombios.h
diff options
context:
space:
mode:
authorEric Huang <JinHuiEric.Huang@amd.com>2017-11-17 19:17:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 21:44:03 +0300
commitee38fbf3bfb58c427dc3670a70cc6df4ebe1c785 (patch)
tree8f62bc7f7baea777911faa97f7e3e422a425921e /drivers/gpu/drm/amd/include/atombios.h
parentf4ad6fa99772969c16c3fc8877e450b48e93e102 (diff)
downloadlinux-ee38fbf3bfb58c427dc3670a70cc6df4ebe1c785.tar.xz
drm/amd: add a new struct in atombios.h
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/atombios.h')
-rw-r--r--drivers/gpu/drm/amd/include/atombios.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
index f696bbb643ef..7931502fa54f 100644
--- a/drivers/gpu/drm/amd/include/atombios.h
+++ b/drivers/gpu/drm/amd/include/atombios.h
@@ -632,6 +632,13 @@ typedef struct _COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_2
ULONG ulReserved;
}COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_2;
+typedef struct _COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_3
+{
+ COMPUTE_MEMORY_ENGINE_PLL_PARAMETERS_V4 ulClock;
+ USHORT usMclk_fcw_frac; //fractional divider of fcw = usSclk_fcw_frac/65536
+ USHORT usMclk_fcw_int; //integer divider of fcwc
+}COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_3;
+
//Input parameter of DynamicMemorySettingsTable
//when ATOM_COMPUTE_CLOCK_FREQ.ulComputeClockFlag = COMPUTE_MEMORY_PLL_PARAM
typedef struct _DYNAMICE_MEMORY_SETTINGS_PARAMETER