]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: register gpu instance before fan boost feature enablment
authorEvan Quan <evan.quan@amd.com>
Tue, 5 Nov 2019 10:13:49 +0000 (18:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Nov 2019 21:27:47 +0000 (16:27 -0500)
commit883d1ac2bceeb21bba53d59a514bd7e93e7ae1cf
tree4b39913f8fd4ff77af1d4dbefeb6671194c224b7
parent395726829301ebd7af1b865fedea1f94605facd1
drm/amdgpu: register gpu instance before fan boost feature enablment

Otherwise, the feature enablement will be skipped due to wrong count.

Fixes: ab248e9b88a81df ("drm/amdgpu: fix a race in GPU reset with IB test (v2)")
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c