]> Git Repo - linux.git/commitdiff
drm/amd/display: Enable DML2 debug flags
authorAurabindo Pillai <[email protected]>
Mon, 11 Dec 2023 04:52:25 +0000 (23:52 -0500)
committerAlex Deucher <[email protected]>
Wed, 20 Mar 2024 17:12:57 +0000 (13:12 -0400)
[WHY & HOW]
Enable DML2 related debug config options in DM for testing purposes.

Reviewed-by: Chaitanya Dhere <[email protected]>
Acked-by: Alex Hung <[email protected]>
Signed-off-by: Aurabindo Pillai <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index b2013f2b57c07d0797c0a89c41d066fe3a1ce927..2851719d7121612b64842f3da8e84cf82d073454 100644 (file)
@@ -1767,6 +1767,9 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
        if (amdgpu_dc_debug_mask & DC_FORCE_SUBVP_MCLK_SWITCH)
                adev->dm.dc->debug.force_subvp_mclk_switch = true;
 
+       if (amdgpu_dc_debug_mask & DC_ENABLE_DML2)
+               adev->dm.dc->debug.using_dml2 = true;
+
        adev->dm.dc->debug.visual_confirm = amdgpu_dc_visual_confirm;
 
        /* TODO: Remove after DP2 receiver gets proper support of Cable ID feature */
This page took 0.074451 seconds and 4 git commands to generate.