projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c1efd
)
drm/vmgfx: operation on ‘par->dirty.y1’ may be undefined
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sat, 24 Jul 2010 16:15:11 +0000
(17:15 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 2 Aug 2010 00:12:21 +0000
(10:12 +1000)
Trivial fix to set y1 = y2 = 0.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
index b0866f04ec7613133a6e4ebc7ab3546906af8258..870967a97c15d52eb3f380323e6038d32ed6e76f 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
@@
-528,7
+528,7
@@
int vmw_fb_init(struct vmw_private *vmw_priv)
* Dirty & Deferred IO
*/
par->dirty.x1 = par->dirty.x2 = 0;
- par->dirty.y1 = par->dirty.y
1
= 0;
+ par->dirty.y1 = par->dirty.y
2
= 0;
par->dirty.active = true;
spin_lock_init(&par->dirty.lock);
info->fbdefio = &vmw_defio;