aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2015-06-26 02:03:53 -0700
committerThomas Hellstrom <thellstrom@vmware.com>2015-08-05 14:01:08 +0200
commit1a4b172ac96edd7f571772e83c09c5a18718a4fa (patch)
tree9df78f20167a9d71299b367c71438e6f24cb1fe7 /drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
parent459d0fa7359654e5e076e84fc58512f00f70fee9 (diff)
downloadlinux-1a4b172ac96edd7f571772e83c09c5a18718a4fa.tar.gz
drm/vmwgfx: Add kms helpers for dirty- and readback functions
We need to make the dirty- and readback functions callable without a struct drm_file pointer. We also need to unify the handling of dirty- and readback cliprects that are now implemented in various places across the kms system, som add helpers to facilitate this. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
index ef99df7463f3..becf9650c228 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
@@ -91,7 +91,7 @@ static void vmw_stdu_destroy(struct vmw_screen_target_display_unit *stdu);
*/
static int vmw_stdu_pin_display(struct vmw_screen_target_display_unit *stdu)
{
- return vmw_resource_pin(&stdu->display_srf->res);
+ return vmw_resource_pin(&stdu->display_srf->res, false);
}