projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a278724
)
drm/vmwgfx: Reinstate the legacy display system dirty callback
author
Thomas Hellstrom
<thellstrom@vmware.com>
Mon, 29 Jun 2015 19:57:37 +0000
(12:57 -0700)
committer
Thomas Hellstrom
<thellstrom@vmware.com>
Wed, 5 Aug 2015 12:01:10 +0000
(14:01 +0200)
It somehow got lost in a rewrite.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
index 06ff7c87fe3b4640e51d1d153f4cf8a84dec857a..ae87e7ec06efb5af3fe52d8ac349e437bf35da92 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
@@
-632,10
+632,13
@@
static int vmw_framebuffer_dmabuf_dirty(struct drm_framebuffer *framebuffer,
true,
NULL);
break;
+ case vmw_du_legacy:
+ ret = vmw_kms_ldu_do_dmabuf_dirty(dev_priv, &vfbd->base, 0, 0,
+ clips, num_clips, increment);
+ break;
default:
- ret = -ENOSYS;
- WARN_ONCE(true,
- "Dirty called with invalid display system.\n");
+ ret = -EINVAL;
+ WARN_ONCE(true, "Dirty called with invalid display system.\n");
break;
}