From: jsg Date: Mon, 25 Sep 2023 03:06:20 +0000 (+0000) Subject: drm/amd/display: Use DTBCLK as refclk instead of DPREFCLK X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=98787e2f690a6eb107deb239d37f8078efca577e;p=openbsd drm/amd/display: Use DTBCLK as refclk instead of DPREFCLK From Austin Zheng 506d2ee72af2ffc4173537eb001d7d4d57781ec7 in linux-6.1.y/6.1.55 4a30cc2bd281fa176a68b5305cd3695d636152ad in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_dccg.c b/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_dccg.c index ffbb739d85b..8496ff4a25e 100644 --- a/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_dccg.c +++ b/sys/dev/pci/drm/amd/display/dc/dcn32/dcn32_dccg.c @@ -290,7 +290,8 @@ static void dccg32_set_dpstreamclk( struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg); /* set the dtbclk_p source */ - dccg32_set_dtbclk_p_src(dccg, src, otg_inst); + /* always program refclk as DTBCLK. No use-case expected to require DPREFCLK as refclk */ + dccg32_set_dtbclk_p_src(dccg, DTBCLK0, otg_inst); /* enabled to select one of the DTBCLKs for pipe */ switch (dp_hpo_inst) {