drm-backend: Remember to set the zpos for the scanout plane
We can clear this via drm_plane_state_put_back() at the end of drm_output_propose_state(). We need to set it back to the minimum zpos when rendering. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
ac04199db1
commit
58dde0e0c0
@ -408,6 +408,8 @@ drm_output_render(struct drm_output_state *state, pixman_region32_t *damage)
|
||||
scanout_state->dest_w = output->base.current_mode->width;
|
||||
scanout_state->dest_h = output->base.current_mode->height;
|
||||
|
||||
scanout_state->zpos = scanout_plane->zpos_min;
|
||||
|
||||
pixman_region32_subtract(&c->primary_plane.damage,
|
||||
&c->primary_plane.damage, damage);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user