]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb97aab014c6ba6133df1e26bd20c1ad7f50a5bff
tree104b846562aa9f11cbd108620104d83a84841a66
parentaaf4ee3c0233893ac9586ede9cdcaa4a77ccb475
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