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)
commit02a1bea65bb335ebfd3a4d191742de3b6f64a414
tree368bfdfd4f58c6133f8324d30929854d61aa2d28
parent44264591a8c4da7090a4bfd10e04f4cb8fe60afe
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