summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_plane.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_plane.c b/src/lib/ecore_drm2/ecore_drm2_plane.c
index b9601cc347..6dfa0bcb85 100644
--- a/src/lib/ecore_drm2/ecore_drm2_plane.c
+++ b/src/lib/ecore_drm2/ecore_drm2_plane.c
@@ -181,6 +181,13 @@ ecore_drm2_plane_fb_set(Ecore_Drm2_Plane *plane, Ecore_Drm2_Fb *fb)
181 181
182 fallback_id = plane->state->fid.value; 182 fallback_id = plane->state->fid.value;
183 plane->state->fid.value = fb->id; 183 plane->state->fid.value = fb->id;
184
185 /* Update plane state based on fb */
186 plane->state->sw.value = fb->w << 16;
187 plane->state->sh.value = fb->h << 16;
188 plane->state->cw.value = fb->w;
189 plane->state->ch.value = fb->h;
190
184 if (_fb_atomic_flip_test(plane->output)) 191 if (_fb_atomic_flip_test(plane->output))
185 { 192 {
186 _ecore_drm2_fb_ref(fb); 193 _ecore_drm2_fb_ref(fb);