• Aurabindo Pillai's avatar
    drm/amd/display: disable SubVP + DRR to prevent underflow · 80c6d680
    Aurabindo Pillai authored
    [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: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
    Reviewed-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    80c6d680
dc.h 47.8 KB