commit | 2c34c960cee0dfdfe33ddf1b3835c250a9503ef6 | [log] [tgz] |
---|---|---|
author | Evan Quan <evan.quan@amd.com> | Mon Aug 03 11:15:14 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Aug 07 17:48:57 2020 -0400 |
tree | bce9994590b7b70d0dfe98669bfd182a378b24d9 | |
parent | f2e2573c0823c07dc8aac4a8e0947881af2340bd [diff] |
drm/amd/powerplay: update swSMU VCN/JPEG PG logics Add lock protections and avoid unnecessary actions if the PG state is already the same as required. Signed-off-by: Evan Quan <evan.quan@amd.com> Tested-by: Matt Coffin <mcoffin13@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>