]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 19 Sep 2022 19:13:46 +0000 (15:13 -0400)
commit28581da81ad7c7dc23facf924e0d54f0736344d7
tree1dce3df3315f3f861029adfef3092259074f3956
parent0ce089eafb2f02965c783fa9ee60556b60a44b01
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>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c