drm/amd/display: disable RCO for DCN314
commit 85e41f1ed5d94a26fe4e57003c399936d291ed70 upstream. [Why] RCO is causing error messages on some DCN314 systems [How] Force disable RCO for DCN314 Fixes: 17fbdbda9cc8 ("drm/amd/display: Enable dcn314 DPP RCO") Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Daniel Miess <daniel.miess@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b2f599c014
commit
d4008eadfc
@ -296,7 +296,7 @@ static void dccg314_dpp_root_clock_control(
|
|||||||
{
|
{
|
||||||
struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg);
|
struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg);
|
||||||
|
|
||||||
if (dccg->dpp_clock_gated[dpp_inst] == clock_on)
|
if (dccg->dpp_clock_gated[dpp_inst] != clock_on)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (clock_on) {
|
if (clock_on) {
|
||||||
|
@ -1933,6 +1933,10 @@ static bool dcn314_resource_construct(
|
|||||||
dc->debug = debug_defaults_drv;
|
dc->debug = debug_defaults_drv;
|
||||||
else
|
else
|
||||||
dc->debug = debug_defaults_diags;
|
dc->debug = debug_defaults_diags;
|
||||||
|
|
||||||
|
/* Disable root clock optimization */
|
||||||
|
dc->debug.root_clock_optimization.u32All = 0;
|
||||||
|
|
||||||
// Init the vm_helper
|
// Init the vm_helper
|
||||||
if (dc->vm_helper)
|
if (dc->vm_helper)
|
||||||
vm_helper_init(dc->vm_helper, 16);
|
vm_helper_init(dc->vm_helper, 16);
|
||||||
|
Loading…
Reference in New Issue
Block a user