commit | 5c5b2ba00667edd6c5c0df9f97ba2b179d013e1d | [log] [tgz] |
---|---|---|
author | Evan Quan <evan.quan@amd.com> | Thu Oct 31 14:15:29 2019 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Nov 06 16:27:48 2019 -0500 |
tree | 56d4e43b3cbdfc030ccb18703301b155dc90b49b | |
parent | b0adca4d50169d9a05912e208a89cdd615da40d4 [diff] |
drm/amdgpu: fix possible pstate switch race condition Added lock protection so that the p-state switch will be guarded to be sequential. Also update the hive pstate only all device from the hive are in the same state. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>