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:13:34 +0000 (15:13 -0400)
commitcde3359acb42074b090971e287449cb9e7467cdc
treef19dc7b743393c10ad961cfbc3b771a0b2fbd2af
parent71c0fd9221a4f79e018ffb82f9e5707d8f49a71d
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