drm/amd/display: correct hostvm flag
authorSherry Wang <Yao.Wang1@amd.com>
Tue, 6 Sep 2022 16:12:44 +0000 (00:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Mar 2024 17:38:12 +0000 (13:38 -0400)
commit3a13d1fddaf51b98cdba20b486cb8fd6080b71b7
tree836bdd4267b29197a8e35ad8ac87a83bb170c51c
parent75e77fb7697f2ecb99861924a0b77a0303927ca2
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>
drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c