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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd: Add debug option to disable subvp

Some monitors flicker when subvp is enabled which maybe related to
an uncommon timing they use. To isolate such issues, add a debug
option to help isolate this the issue for debugging.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Aurabindo Pillai and committed by
Alex Deucher
9d63fbf7 36a21f26

+8
+3
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
··· 2034 2034 if (amdgpu_dc_debug_mask & DC_FORCE_SUBVP_MCLK_SWITCH) 2035 2035 adev->dm.dc->debug.force_subvp_mclk_switch = true; 2036 2036 2037 + if (amdgpu_dc_debug_mask & DC_DISABLE_SUBVP) 2038 + adev->dm.dc->debug.force_disable_subvp = true; 2039 + 2037 2040 if (amdgpu_dc_debug_mask & DC_ENABLE_DML2) { 2038 2041 adev->dm.dc->debug.using_dml2 = true; 2039 2042 adev->dm.dc->debug.using_dml21 = true;
+5
drivers/gpu/drm/amd/include/amd_shared.h
··· 349 349 * @DC_DISABLE_HDMI_CEC: If set, disable HDMI-CEC feature in amdgpu driver. 350 350 */ 351 351 DC_DISABLE_HDMI_CEC = 0x10000, 352 + 353 + /* 354 + * @DC_DISABLE_SUBVP: If set, disable DCN Sub-Viewport feature in amdgpu driver. 355 + */ 356 + DC_DISABLE_SUBVP = 0x20000, 352 357 }; 353 358 354 359 enum amd_dpm_forced_level;