]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amd/display: Remove redundant check in DCN35 hwseq
authorNicholas Susanto <Nicholas.Susanto@amd.com>
Thu, 15 Aug 2024 22:45:16 +0000 (18:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 02:14:13 +0000 (22:14 -0400)
Removing redundant condition.

Reviewed-by: Hansen Dsouza <Hansen.Dsouza@amd.com>
Signed-off-by: Nicholas Susanto <Nicholas.Susanto@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c

index 899e239352aa041b827700eda8f990c5c005ac91..fbbb20b9dbee734825ea68b0961ff3faf792323e 100644 (file)
@@ -1024,9 +1024,6 @@ void dcn35_calc_blocks_to_gate(struct dc *dc, struct dc_state *context,
        if (!hpo_frl_stream_enc_acquired && !hpo_dp_stream_enc_acquired)
                update_state->pg_res_update[PG_HPO] = true;
 
-       if (hpo_frl_stream_enc_acquired)
-               update_state->pg_pipe_res_update[PG_HDMISTREAM][0] = true;
-
        update_state->pg_res_update[PG_DWB] = true;
 
        for (i = 0; i < dc->res_pool->pipe_count; i++) {