commit | ad1cac262ed2c344ec93e145c5307480cecfbc2f | [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:29:45 2020 -0400 |
tree | df51ad0589114661a995a324d4208b386b3c58b0 | |
parent | ca6fd7a66843b6ef64179d0a4ce943affbb6c057 [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>