summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorJun Lei <jun.lei@amd.com>2020-06-25 13:24:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-07-30 14:12:57 -0400
commit9b6ca29e093660241002c91e2c8abf771c726921 (patch)
tree603894791b4e7bcb43a8dc8d503be822d456671c /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parent473e2d16777030ca9b3a0178b179efdb2548b415 (diff)
downloadlinux-9b6ca29e093660241002c91e2c8abf771c726921.tar.bz2
drm/amd/display: Disable idle optimizations before programming DCN
[Why] Programming DCN is explicitly forbidden during idle optimzations allowed state. Existing implemenation relies on OS/DM, which is not robust. Instead DC should sequence this. Note that DC will not re-enter idle optimized state on its own, it is only responsible for catching out of sequence calls. It is still DM responsibility to sequence appropriate for optimized power, but this change removes the requirement for DM to cover the .1% case. [How] - elevate updates during idle optimized state to full updates - disable idle power optimizations prior to programming Signed-off-by: Jun Lei <jun.lei@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Eryk Brol <eryk.brol@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions