]> git.karo-electronics.de Git - linux-beck.git/commit
drm/amdgpu/cz: don't call smu_init on resume
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Jun 2015 21:32:53 +0000 (17:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jun 2015 13:31:26 +0000 (09:31 -0400)
commit05188312e2ea8991c75bc4ae947d4dc1e7a3bb17
tree01d8870ed33afc85c28fb65e193a94fe7c89c57f
parent6a00a09e49965d7414bacfe24adfc3f59c7d2647
drm/amdgpu/cz: 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/cz_dpm.c