drm/amd/display: If P-State is supported try SubVP for smaller vlevel
authorAlvin Lee <alvin.lee2@amd.com>
Thu, 9 Nov 2023 23:08:17 +0000 (18:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 21:49:00 +0000 (16:49 -0500)
commitf4233efedf75572e49efd08202b1a07196949b4a
tree4d532b272ed37f1a60f03edf6177fed7eb144dda
parent0e6a12884ca72520b195d95f1fa1bf790678cd6c
drm/amd/display: If P-State is supported try SubVP for smaller vlevel

[Description]
- To reduce vlevel further, we can try to apply subvp on
  configs that already support p-state since the natural
  p-state support may not allow for DPM0.
- Add code to try subvp to reduce UCLK DPM level further
  if already supported, but don't use subvp if it does not
  optimize the DPM level even lower

Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c