[PATCH 1/2] drm/amd/powerplay: update swSMU VCN/JPEG PG logics

2020-08-05 Thread Evan Quan
Add lock protections and avoid unnecessary actions if the PG state is already the same as required. Change-Id: I01400b84151d3ac6e3c8b0d7e264f9a68a9c2092 Signed-off-by: Evan Quan Tested-by: Matt Coffin Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c| 57

[PATCH 1/2] drm/amd/powerplay: update swSMU VCN/JPEG PG logics

2020-08-02 Thread Evan Quan
Add lock protections and avoid unnecessary actions if the PG state is already the same as required. Change-Id: I01400b84151d3ac6e3c8b0d7e264f9a68a9c2092 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c| 57 ++-