diff options
author | Dave Airlie <airlied@redhat.com> | 2014-02-05 14:47:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-02-06 11:39:03 +1000 |
commit | 8b7ad1bb3d440da888f2a939dc870eba429b9192 (patch) | |
tree | 20f57727fe6a071847ada03c5bacbecf52970e26 /drivers/gpu/drm/ast | |
parent | ec22b4aa993abbd18f5bbbcb20a1c56be3b1d38b (diff) | |
download | linux-next-8b7ad1bb3d440da888f2a939dc870eba429b9192.tar.gz |
drm/mgag200,ast,cirrus: fix regression with drm_can_sleep conversion
I totally sign inverted my way out of this one.
Cc: stable@vger.kernel.org
Reported-by: "Sabrina Dubroca" <sd@queasysnail.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ast')
-rw-r--r-- | drivers/gpu/drm/ast/ast_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.c index 3f65dd6676b2..a28640f47c27 100644 --- a/drivers/gpu/drm/ast/ast_fb.c +++ b/drivers/gpu/drm/ast/ast_fb.c @@ -65,7 +65,7 @@ static void ast_dirty_update(struct ast_fbdev *afbdev, * then the BO is being moved and we should * store up the damage until later. */ - if (!drm_can_sleep()) + if (drm_can_sleep()) ret = ast_bo_reserve(bo, true); if (ret) { if (ret != -EBUSY) |