Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
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>

authored by

Sherry Wang and committed by
Alex Deucher
796d6a37 e7f2f4cd

+1 -1
+1 -1
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
··· 890 890 .disable_z10 = true, 891 891 .optimize_edp_link_rate = true, 892 892 .enable_z9_disable_interface = true, /* Allow support for the PMFW interface for disable Z9*/ 893 - .dml_hostvm_override = DML_HOSTVM_OVERRIDE_FALSE, 893 + .dml_hostvm_override = DML_HOSTVM_NO_OVERRIDE, 894 894 }; 895 895 896 896 static const struct dc_debug_options debug_defaults_diags = {