• Jun Lei's avatar
    drm/amd/display: Update DML logic for unbounded req handling · f4b4e41a
    Jun Lei authored
    [why]
    Unbounded request logic in resource/DML has some issues where unbounded
    request is being enabled incorrectly. SW today enables unbounded request
    unconditionally in hardware, on the assumption that HW can always
    support it in single pipe scenarios.
    
    This worked until now because the same assumption is made in DML. A new
    DML update is needed to fix a bug, where there are single pipe scenarios
    where unbounded cannot be enabled, and this change in DML needs to be
    ported in, and dcn32 resource logic fixed.
    
    [how]
    First, dcn32_resource should program unbounded req in HW according to
    unbounded req enablement output from DML, as opposed to DML input.
    
    Second, port in DML update which disables unbounded req in some
    scenarios to fix an issue with poor stutter performance
    Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
    Reviewed-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
    Signed-off-by: default avatarJun Lei <jun.lei@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    f4b4e41a
dcn32_resource.c 142 KB