]> git.baikalelectronics.ru Git - kernel.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)
commitc5451f40a3e8b38da7278dbadf42a743b625e71b
tree01d8870ed33afc85c28fb65e193a94fe7c89c57f
parent5102303d3f1e797453b991b104d5f8aafaf8a8bd
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