Summary:
When we are trying to set an FB onto a plane, we need to update the
plane state values to reflect any changes in the FB. Failure to do
this will result in Atomic Commit failures as the plane state values
will not match what the FB is.
ref T7690
@fix
Depends on D8110
Reviewers: raster, cedric, zmike
Reviewed By: cedric
Subscribers: cedric
Tags: #efl, #do_not_merge
Maniphest Tasks: T7690
Differential Revision: https://phab.enlightenment.org/D8111
fallback_id = plane->state->fid.value;
plane->state->fid.value = fb->id;
+
+ /* Update plane state based on fb */
+ plane->state->sw.value = fb->w << 16;
+ plane->state->sh.value = fb->h << 16;
+ plane->state->cw.value = fb->w;
+ plane->state->ch.value = fb->h;
+
if (_fb_atomic_flip_test(plane->output))
{
_ecore_drm2_fb_ref(fb);