drm/amd/display: Temporarily disable hostvm on DCN31
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Mon, 20 Jan 2025 20:27:23 +0000 (15:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:48:05 +0000 (10:48 +0200)
commit ba93dddfc92084a1e28ea447ec4f8315f3d8d3fd upstream.

With HostVM enabled, DCN31 fails to pass validation for 3x4k60. Some Linux
userspace does not downgrade one of the monitors to 4k30, and the result
is that the monitor does not light up. Disable it until the bandwidth
calculation failure is resolved.

Reviewed-by: Sun peng Li <sunpeng.li@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c

index 80386f698ae4dee5c25f66e63e5db9c72990893d..0ca6358a9782e25c278708330702f0b6c2780697 100644 (file)
@@ -891,7 +891,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        .disable_z10 = true,
        .enable_legacy_fast_update = true,
        .enable_z9_disable_interface = true, /* Allow support for the PMFW interface for disable Z9*/
-       .dml_hostvm_override = DML_HOSTVM_NO_OVERRIDE,
+       .dml_hostvm_override = DML_HOSTVM_OVERRIDE_FALSE,
        .using_dml2 = false,
 };