drm/amd/powerplay: add parameter of the mclk switch latency time
authorRex Zhu <Rex.Zhu@amd.com>
Sat, 17 Sep 2016 10:50:23 +0000 (18:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2016 17:22:09 +0000 (13:22 -0400)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h

index 18f39e8..f941acf 100644 (file)
@@ -260,6 +260,7 @@ enum amd_pp_clock_type {
 struct amd_pp_clocks {
        uint32_t count;
        uint32_t clock[MAX_NUM_CLOCKS];
+       uint32_t latency[MAX_NUM_CLOCKS];
 };