drm/amd/powerplay: calculate flexible array member's address.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 7 Sep 2016 07:06:58 +0000 (15:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:28 +0000 (15:10 -0400)
commit519df8a6f21d4f7a86f137dd65f75ebf66663f7d
tree20b204c26aac2eac934dfe98d5384d5703313df6
parente7b54945f5eb3394ec630e350b5faa686c6a0eb6
drm/amd/powerplay: calculate flexible array member's address.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_pptable.h
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c
drivers/gpu/drm/amd/powerplay/inc/pp_debug.h