OSDN Git Service

drm/amd/pm: drop unnecessary smu_baco->mutex lock protections(V2)
authorEvan Quan <evan.quan@amd.com>
Mon, 24 Aug 2020 07:18:00 +0000 (15:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Sep 2020 21:47:25 +0000 (17:47 -0400)
commit7ee98e1b3415963b7fc211743bee35554e2ec42b
treebe16fcab2c29ae643ee5abc5947b47e5bf3bdc35
parentb66effb18a55eaf81fcb9147b7454151b0655f23
drm/amd/pm: drop unnecessary smu_baco->mutex lock protections(V2)

As these operations are performed in hardware setup and there
is actually no race conditions during this period considering:
1. the hardware setup is serial and cannot be in parallel
2. all other operations can be performed only after hardware
   setup complete.

V2: rich the commit log description

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c