]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/iceland: don't call smu_init on resume
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Jun 2015 21:46:30 +0000 (17:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jun 2015 13:32:25 +0000 (09:32 -0400)
commitffc65d40a59c0ae5c78488d6120e7331241e9993
tree104b846562aa9f11cbd108620104d83a84841a66
parentf9f02a73d350d3a2e1865d09e7f1ebdc0e4660bf
drm/amdgpu/iceland: don't call smu_init on resume

smu_init allocates buffers and initializes them.  It does not
touch the hw.  There is no need to do it again on resume.  It
should really be part of sw_init (and smu_fini should be part
of sw_fini), but we need the firmware sizes from the other IPs
for firmware loading so we have to wait until sw init is done
for all other IPs.

Reviewed-by: Sonny Jiang <Sonny.Jiang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/iceland_dpm.c