• Chris Park's avatar
    drm/amd/display: Force ODM combine on 5K+ 420 modes · f8b9f9a5
    Chris Park authored
    [Why]
    All YCbCr420 resolutions 5K and above have tiling and discoloration
    issues.  The issue can be remedied by forcing ODM combine from 5K to 8K.
    10K resolution requires ODM 4:1.  The mechanism of what the real problem
    is, that is inherent in ODM combine programming, doesn't seem to be
    pointed at singular register programming (CLK, MPC, DCSURF, etc.), and
    needs more in-depth programming sequence review for these new use case
    scenarios.  Until then, workaround to enable ODM combine is proposed.
    While it is not our policy, HW spreadsheet also recommends turning on
    ODM for these scenario to lower the voltage.
    
    [How]
    Make pixel encoding and resolution size specific workaround to enable
    ODM combine on YCbCr420 high resolution modes.
    Signed-off-by: default avatarChris Park <Chris.Park@amd.com>
    Reviewed-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
    Acked-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    f8b9f9a5
display_mode_vba_30.c 248 KB