]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/tonga: don't call smu_init on resume
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Jun 2015 21:42:10 +0000 (17:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jun 2015 13:32:19 +0000 (09:32 -0400)
commitf9f02a73d350d3a2e1865d09e7f1ebdc0e4660bf
tree62375d41ef53766bc10333501beac7a6348f02af
parentc5451f40a3e8b38da7278dbadf42a743b625e71b
drm/amdgpu/tonga: 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/tonga_dpm.c