]> 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)
commit4dbb30f5bcaeb01658fb03e822a68b2d8715fc3b
tree819b4b9426b4b7e056848a285401923c11d92f69
parenteaa5df9349b730f36dfbe5644254a9c8aee205e5
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