Skip to contentSkip to conversation

drm/amd/display: Temporarily disable hostvm on DCN31

PATCH In review Alex Deucher 3 participants 4 messages Apr 7, 2025 – Apr 11, 2025

Subsystems (4)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amd/display: Temporarily disable hostvm on DCN31

From: Aurabindo Pillai <[email protected]>

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.

(cherry picked from commit ba93dddfc92084a1e28ea447ec4f8315f3d8d3fd)
---
 drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c +1 -1
index 911bd60d4fbc..3c42ba8566cf 100644
@@ -890,7 +890,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,
 };
 
Signature · 1 line
2.49.0
maintainer Tested-by Daniel Wheeler on v1 1/1
#1 lore raw

[ Sasha's backport helper bot ]

Hi,

Summary of potential issues:
⚠️ Found matching upstream commit but patch is missing proper reference to it

Found matching upstream commit: ba93dddfc92084a1e28ea447ec4f8315f3d8d3fd

WARNING: Author mismatch between patch and found commit:
Backport author: Alex Deucher<[email protected]> Commit author: Aurabindo Pillai<[email protected]>

Note: The patch differs from the upstream commit:
---
1: ba93dddfc9208 ! 1: 5e9fb61f1028c drm/amd/display: Temporarily disable hostvm on DCN31
@@ Commit message

+ (cherry picked from commit ba93dddfc92084a1e28ea447ec4f8315f3d8d3fd)
+ Cc: [email protected]

## drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c ##
@@ drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c: static const struct dc_debug_options debug_defaults_drv = {
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.14.y       |  Success    |  Success   |
| stable/linux-6.13.y       |  Success    |  Success   |
| stable/linux-6.12.y       |  Success    |  Success   |
| stable/linux-6.6.y        |  Success    |  Success   |
| stable/linux-6.1.y        |  Success    |  Success   |
| stable/linux-5.15.y       |  Success    |  Success   |
| stable/linux-5.10.y       |  Success    |  Success   |
| stable/linux-5.4.y        |  Success    |  Success   |
maintainer
#2 lore raw
In reply to Alex Deucher
Quoted 14 lines · Alex Deucher

From: Aurabindo Pillai <[email protected]>

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.

(cherry picked from commit ba93dddfc92084a1e28ea447ec4f8315f3d8d3fd)
Quoted 3 lines
---
 drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

What tree(s) is this for?

author maintainer
#3 lore raw

[Public]

Quoted 29 lines

-----Original Message-----
From: Greg KH <[email protected]>
Sent: Tuesday, April 8, 2025 2:45 AM
To: Deucher, Alexander <[email protected]>
Cc: [email protected]; [email protected]; Pillai, Aurabindo <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Mohamed, Zaeem <[email protected]>; Wheeler, Daniel <[email protected]>
Subject: Re: [PATCH] drm/amd/display: Temporarily disable hostvm on DCN31

Quoted 12 lines · Alex Deucher

From: Aurabindo Pillai <[email protected]>

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.

Quoted 5 lines

from commit ba93dddfc92084a1e28ea447ec4f8315f3d8d3fd)
Cc: [email protected]

---
 drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 1 line

What tree(s) is this for?

6.10 and newer.

Thanks,

Alex