]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amd/powerplay: Adjust the position of data size initial
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Fri, 2 Dec 2016 03:21:28 +0000 (11:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2016 23:08:36 +0000 (18:08 -0500)
commitc7fac7dc1d5d1f0cee346952628d53422c0bc3b7
tree819b4b9426b4b7e056848a285401923c11d92f69
parente224e4f17dc89b2c9d12ad146083653142209f8e
drm/amd/powerplay: Adjust the position of data size initial

Put the initial part close to memory allocate, it will make code
more clear.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c