• Joshua Aberback's avatar
    drm/amd/display: Blank HUBP during pixel data blank for DCN30 · 36f87850
    Joshua Aberback authored
    [Why]
    There are some timings for which we support p-state
    switching in active, but not in blank. There was a
    previous issue where a timing that had active-only
    support would hang a p-state request when we were in
    an extended blanking period. The workaround for that
    issue was to block active-only p-state switching,
    but that resulted in a lack of p-state support for
    some common timings such as 1440p60. We want to fix
    that issue properly by un-blocking p-state requests
    while the display is blanked, so that we can re-enable
    active-only p-state switching.
    
    [How]
     - new version of blank_pixel_data for DCN30
     - call hubp->set_blank from dcn30_blank_pixel_data
     - blank every hubp in the mpcc tree, and odm tree
     - on blank enable, wait until the next frame before blanking HUBP
    Signed-off-by: default avatarJoshua Aberback <joshua.aberback@amd.com>
    Reviewed-by: default avatarJun Lei <Jun.Lei@amd.com>
    Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    36f87850
dcn30_hwseq.c 28.7 KB