]> git.baikalelectronics.ru Git - 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)
commit0fd5f3fb7b2a1183e8651dd18874555bfde47f57
tree819b4b9426b4b7e056848a285401923c11d92f69
parent31aa7cfa77851a898ec2e329c0a536e61246b35d
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