summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSherry Wang <Yao.Wang1@amd.com>2022-09-06 19:12:44 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-03-20 20:38:12 +0300
commit3a13d1fddaf51b98cdba20b486cb8fd6080b71b7 (patch)
tree836bdd4267b29197a8e35ad8ac87a83bb170c51c
parent75e77fb7697f2ecb99861924a0b77a0303927ca2 (diff)
downloadlinux-3a13d1fddaf51b98cdba20b486cb8fd6080b71b7.tar.xz
drm/amd/display: correct hostvm flag
[Why] Hostvm should be enabled/disabled accordding to the status of riommu_active, but hostvm always be disabled on DCN31 which causes underflow [How] Set correct hostvm flag on DCN31 Acked-by: Wayne Lin <wayne.lin@amd.com> Signed-off-by: Sherry Wang <Yao.Wang1@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c
index 04d142f97474..2fb1d00ff965 100644
--- a/drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c
@@ -892,7 +892,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_OVERRIDE_FALSE,
+ .dml_hostvm_override = DML_HOSTVM_NO_OVERRIDE,
.using_dml2 = false,
};