drm/amd/display: correct dml2 input and dlg_refclk
authorCharlene Liu <charlene.liu@amd.com>
Wed, 30 Aug 2023 01:08:38 +0000 (21:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2023 20:51:06 +0000 (16:51 -0400)
commit0e56de91edd0b81e2c8df98413e68bed4ef13706
treeca6040ebd4325ca638254d2efed5e8169f5ce957
parent969fe903ee2ea8e6a7781608ca2ee72d9b748c00
drm/amd/display: correct dml2 input and dlg_refclk

dc->dml2_options.use_native_pstate_optimization flag will make driver
use dcn32 legacy_svp_drr related tuning. Set this to false fixed the
stutter underflow issue also based on HW suggest disable ODM by default
and let DML choose it.

Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Qingqing Zhuo <Qingqing.Zhuo@amd.com>
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c