diff options
author | Andrew Jiang <Andrew.Jiang@amd.com> | 2017-11-16 15:51:21 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-14 10:52:45 -0500 |
commit | 82c026d14fd2b8b0a56168227c81386a3bc0e3e1 (patch) | |
tree | 0e95d36fd15e11611304919d636e789bd44321f8 /drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | |
parent | 4010472575f48787085aa66279275255e7919078 (diff) |
drm/amd/display: Change optimized_required logic
Rather than setting it every time there's a full update with surface
count > 0, set it when we need to do plane_atomic_disconnect. Also make
sure that we unset the flag in plane_atomic_disable, so that in the
event we run through a sequence where we do disconnect followed by an
immediate disable, we do not do unnecessarily request a passive flip to
do the optimization.
Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h')
0 files changed, 0 insertions, 0 deletions