Skip to content

Commit

Permalink
drm/vmwgfx: Make sure to update STDU when FB is updated
Browse files Browse the repository at this point in the history
When a new FB is bound, we have to send an update command otherwise
the new FB may not be shown

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
  • Loading branch information
Sinclair Yeh authored and Thomas Hellstrom committed Jun 7, 2017
1 parent 07678ec commit 8a309c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,11 @@ vmw_stdu_primary_plane_atomic_update(struct drm_plane *plane,
DRM_ERROR("Failed to bind surface to STDU.\n");
else
crtc->primary->fb = plane->state->fb;

ret = vmw_stdu_update_st(dev_priv, stdu);

if (ret)
DRM_ERROR("Failed to update STDU.\n");
}


Expand Down

0 comments on commit 8a309c8

Please sign in to comment.