call drmModeDirtyFB in SyncUpdate

This commit is contained in:
Vincent Wei
2020-03-22 20:00:24 +08:00
parent 43c387d0a0
commit 9f244a1093
+8
View File
@@ -3290,6 +3290,14 @@ static BOOL DRM_SyncUpdate (_THIS)
this->hidden->driver_ops->flush_driver(this->hidden->driver);
}
{
drmModeClip clip = { bound.left, bound.top,
bound.right, bound.bottom };
drmModeDirtyFB(this->hidden->dev_fd,
this->hidden->scanout_buff_id, &clip, 1);
}
SetRectEmpty (dirty_rc);
ret:
return retval;