Skip to content

Commit

Permalink
Revert "drm/amd/display: Only use ODM2:1 policy for high pixel rate d…
Browse files Browse the repository at this point in the history
…isplays"

This reverts commit 8df9afa.

Reviwed-by: Feifei Xu <feifxu@amd.com>
Signed-off-by: Hongkun Zhang <hongkun.zhang@amd.com>
  • Loading branch information
Hongkun Zhang authored and Hongkun Zhang committed Nov 29, 2022
1 parent 7e51ca8 commit 76c0ce8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,6 @@ int dcn32_populate_dml_pipes_from_context(
context->stream_status[0].plane_count <= 1 &&
!dc_is_hdmi_signal(res_ctx->pipe_ctx[i].stream->signal) &&
is_h_timing_divisible_by_2(res_ctx->pipe_ctx[i].stream) &&
pipe->stream->timing.pix_clk_100hz * 100 > DCN3_2_VMIN_DISPCLK_HZ &&
dc->debug.enable_single_display_2to1_odm_policy) {
pipes[pipe_cnt].pipe.dest.odm_combine_policy = dm_odm_combine_policy_2to1;
}
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#define DCN3_2_MBLK_WIDTH 128
#define DCN3_2_MBLK_HEIGHT_4BPE 128
#define DCN3_2_MBLK_HEIGHT_8BPE 64
#define DCN3_2_VMIN_DISPCLK_HZ 717000000

#define TO_DCN32_RES_POOL(pool)\
container_of(pool, struct dcn32_resource_pool, base)
Expand Down

0 comments on commit 76c0ce8

Please sign in to comment.