1
0
Fork 0

drm/amd/display: Trigger full update on plane change

With the optimized DCN10 frontend programming code, things are
programmed only when requested. For now, trigger a full update on all
plane changes.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@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>
hifive-unleashed-5.1
Leo (Sunpeng) Li 2017-11-09 15:33:43 -05:00 committed by Alex Deucher
parent 69cff5a4e3
commit 000b59ea9f
1 changed files with 5 additions and 0 deletions

View File

@ -4703,6 +4703,11 @@ static int dm_update_planes_state(struct dc *dc,
return ret;
}
/* Tell DC to do a full surface update every time there
* is a plane change. Inefficient, but works for now.
*/
dm_new_plane_state->dc_state->update_flags.bits.full_update = 1;
*lock_and_validation_needed = true;
}
}