# Re: \[RFC PATCH\] video: Use fb\_sys\_write rather than open-coding in drivers

- From: Tomi Valkeinen \<hidden\>
- Date: 2014-02-11 14:06:23 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2014/02/4196970
- Thread: https://ratatoskr.run/linux-fbdev/2013/09/4119614/t.md

```text
On 20/09/13 10:06, Ryan Mallon wrote:
> Several video drivers open code the fb_write write function with code
> which is very similar to fb_sys_write. Replace the open code versions
> with calls to fb_sys_write. An fb_sync callback is added to each of
> the drivers.
>     
> Signed-off-by: Ryan Mallon <redacted>
> ---

Doesn't this change the behavior so that fb_write does no longer update
the display, but fb_sync does? I don't think fb_sync is even meant to
update the display, it's meant to wait for an update to finish. Then
again, I'm not sure about that, all I see in fb.h is "wait for blit
idle, optional"

 Tomi


```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2014/02/4196970/attachment/0) (application/pgp-signature, 901 bytes)
