drm/amd/powerplay: added grbm_idx_mutex lock/unlock to cgs v2
authorEvan Quan <evan.quan@amd.com>
Tue, 4 Jul 2017 07:37:09 +0000 (15:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:25 +0000 (11:06 -0400)
commit209ee27e9ba35c53e18284c7bb5ac2ba6a2fcd22
tree54e36db0bff8f22b415df719d07110088653fb1b
parentc62a59d0c8117f709f1e7a9fc8ccc1aae1db3f2c
drm/amd/powerplay: added grbm_idx_mutex lock/unlock to cgs v2

  - v2: rename param 'en' as 'lock'

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/include/cgs_common.h