|
@@ -39,7 +39,7 @@ static void cirrus_dirty_update(struct cirrus_fbdev *afbdev,
|
|
* then the BO is being moved and we should
|
|
* then the BO is being moved and we should
|
|
* store up the damage until later.
|
|
* store up the damage until later.
|
|
*/
|
|
*/
|
|
- if (!drm_can_sleep())
|
|
|
|
|
|
+ if (drm_can_sleep())
|
|
ret = cirrus_bo_reserve(bo, true);
|
|
ret = cirrus_bo_reserve(bo, true);
|
|
if (ret) {
|
|
if (ret) {
|
|
if (ret != -EBUSY)
|
|
if (ret != -EBUSY)
|