]> Git Repo - linux.git/commitdiff
drm/amd/display: Block SubVP high refresh when VRR active fixed
authorAlvin Lee <[email protected]>
Thu, 27 Apr 2023 19:10:41 +0000 (15:10 -0400)
committerAlex Deucher <[email protected]>
Fri, 9 Jun 2023 13:35:07 +0000 (09:35 -0400)
[Description]
- SubVP high refresh is blocked when VRR is active variable, but
  we should also block it for when VRR is active fixed (video use
  case)

Reviewed-by: Nevenko Stupar <[email protected]>
Reviewed-by: Jun Lei <[email protected]>
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Acked-by: Alex Hung <[email protected]>
Signed-off-by: Alvin Lee <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c

index 46fd7b68857c9abd3985c9c0a3aa6a65e0824bab..cd28980b2b567c781b5e78e73076012e108c97cf 100644 (file)
@@ -2825,7 +2825,7 @@ bool dcn32_allow_subvp_high_refresh_rate(struct dc *dc, struct dc_state *context
        uint32_t i;
 
        if (!dc->debug.disable_subvp_high_refresh && pipe->stream &&
-                       pipe->plane_state && !pipe->stream->vrr_active_variable) {
+                       pipe->plane_state && !(pipe->stream->vrr_active_variable || pipe->stream->vrr_active_fixed)) {
                refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 +
                                                pipe->stream->timing.v_total * pipe->stream->timing.h_total - 1)
                                                / (double)(pipe->stream->timing.v_total * pipe->stream->timing.h_total);
This page took 0.065315 seconds and 4 git commands to generate.