]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/swsmu: init the baco mutex in early_init
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 14:12:28 +0000 (10:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2020 19:26:32 +0000 (15:26 -0400)
commit8761058803219ce31740940430e4142ad771cc5c
tree368bfdfd4f58c6133f8324d30929854d61aa2d28
parent5c6dd343072c768b18263fb2cf07dc9eb59d19a4
drm/amdgpu/swsmu: init the baco mutex in early_init

GPU reset might get called during init time, before
sw_init has been called.

Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c