]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/vmwgfx: Fix fence event code
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 2 Dec 2014 11:36:57 +0000 (03:36 -0800)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:39:22 +0000 (14:39 +0100)
commitfc350ec820fa6851839f38d8a7de310ef7f5146f
treeeb208cc83049e2a3c3a18d1ce96b60ea979298b6
parentb743bb06c114ab8964e2f2313163b7ab10468743
drm/vmwgfx: Fix fence event code

commit 89669e7a7f96be3ee8d9a22a071d7c0d3b4428fc upstream.

The commit "vmwgfx: Rework fence event action" introduced a number of bugs
that are fixed with this commit:

a) A forgotten return stateemnt.
b) An if statement with identical branches.

Reported-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c