Skip to content

Commit 133fe0d

Browse files
nsusantoalexdeucher
authored andcommitted
drm/amd/display: Enable 8k60hz mode on single display
[Why] 8k60hz compliace test failing because we restrict it single memory channels. Workaround by not restricting it on single displays. [How] Adding an additional check to DCN314 to restrict 8k60hz mode if it has more than 1 display connected. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by: Stylon Wang <stylon.wang@amd.com> Signed-off-by: Nicholas Susanto <nicholas.susanto@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 73d4509 commit 133fe0d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1689,7 +1689,9 @@ static bool filter_modes_for_single_channel_workaround(struct dc *dc,
16891689
struct dc_state *context)
16901690
{
16911691
// Filter 2K@240Hz+8K@24fps above combination timing if memory only has single dimm LPDDR
1692-
if (dc->clk_mgr->bw_params->vram_type == 34 && dc->clk_mgr->bw_params->num_channels < 2) {
1692+
if (dc->clk_mgr->bw_params->vram_type == 34 &&
1693+
dc->clk_mgr->bw_params->num_channels < 2 &&
1694+
context->stream_count > 1) {
16931695
int total_phy_pix_clk = 0;
16941696

16951697
for (int i = 0; i < context->stream_count; i++)

0 commit comments

Comments
 (0)