linux/drivers/gpu/drm/amd/display
Aurabindo Pillai 63a412dbb5 drm/amd/display: disable SubVP + DRR to prevent underflow
[ Upstream commit 80c6d6804f ]

[Why&How]
Temporarily disable SubVP+DRR since Xorg has an architectural limitation
where freesync will not work in a multi monitor configuration. SubVP+DRR
requires that freesync be working.

Whether OS has variable refresh setting enabled or not, the state on
the crtc remains same unless an application requests VRR. Due to this,
there is no way to know whether freesync will actually work or not
while we are on the desktop from the kernel's perspective.

If userspace does not have a limitation with multi-display freesync (for
example wayland), then this feature can be enabled by adding a
dcfeaturemask option to amdgpu on the kernel cmdline like:

amdgpu.dcfeaturemask=0x200

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-03-10 09:29:20 +01:00
..
amdgpu_dm drm/amd/display: disable SubVP + DRR to prevent underflow 2023-03-10 09:29:20 +01:00
dc drm/amd/display: disable SubVP + DRR to prevent underflow 2023-03-10 09:29:20 +01:00
dmub drm/amd/display: Move DCN314 DOMAIN power control to DMCUB 2023-03-03 11:56:16 +01:00
include drm/amd/display: Refactor LTTPR mode selection 2022-09-29 09:41:46 -04:00
modules drm/amd/display: new ABM config 2 2022-11-23 09:47:13 -05:00
Kconfig drm for 6.2: 2022-12-13 11:59:58 -08:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00