projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07678ec
)
drm/vmwgfx: Make sure to update STDU when FB is updated
author
Sinclair Yeh
<syeh@vmware.com>
Fri, 2 Jun 2017 05:53:27 +0000
(07:53 +0200)
committer
Thomas Hellstrom
<thellstrom@vmware.com>
Wed, 7 Jun 2017 10:07:35 +0000
(12:07 +0200)
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>
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
index bad31bdf09b6c1d8bd31663c7973e1ebb912f340..60ace30246cf91617cbefca190747f05c51f235a 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
@@
-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");
}