]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: drop unnecessary feature->mutex lock protections(V2)
authorEvan Quan <evan.quan@amd.com>
Mon, 24 Aug 2020 07:11:47 +0000 (15:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Sep 2020 21:47:09 +0000 (17:47 -0400)
commitf2e82317e4cf5b17ec7b31f10cc58beb5b1c3db8
tree3be803538f896e94d87bcf7a8ece779b165b2b63
parent7de575883a51ce2197b4d55adbce08891394cd97
drm/amd/pm: drop unnecessary feature->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/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c