提交 e778915c 编写于 作者: C Charlene Liu 提交者: Alex Deucher

drm/amd/display: temp disable DCC on high res.

Signed-off-by: NCharlene Liu <charlene.liu@amd.com>
Reviewed-by: NYongqiang Sun <yongqiang.sun@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 54427651
......@@ -1133,20 +1133,27 @@ static bool get_dcc_compression_cap(const struct dc *dc,
output->grph.rgb.max_uncompressed_blk_size = 256;
output->grph.rgb.max_compressed_blk_size = 256;
output->grph.rgb.independent_64b_blks = false;
output->capable = true;
output->const_color_support = false;
break;
case dcc_control__128_128_xxx:
output->grph.rgb.max_uncompressed_blk_size = 128;
output->grph.rgb.max_compressed_blk_size = 128;
output->grph.rgb.independent_64b_blks = false;
/*temp: not allow dcc on high res*/
output->capable = false;
output->const_color_support = false;
break;
case dcc_control__256_64_64:
output->grph.rgb.max_uncompressed_blk_size = 256;
output->grph.rgb.max_compressed_blk_size = 64;
output->grph.rgb.independent_64b_blks = true;
/*temp: not allow dcc on high res*/
output->capable = false;
output->const_color_support = false;
break;
}
output->capable = true;
output->const_color_support = false;
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册