diff options
| author | Noralf Trønnes <[email protected]> | 2016-04-28 17:18:35 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-05-02 16:25:08 +0200 |
| commit | 199c77179c879e6cbca178bf67e9153dc89fb3d1 (patch) | |
| tree | 79332b26817c6662ad54f9ee4555920001d70ed0 /tools/perf/scripts/python/netdev-times.py | |
| parent | ba0263340a2aeaf5f08e4f2b0f4c29e300828b06 (diff) | |
drm/fb-cma-helper: Add fb_deferred_io support
This adds fbdev deferred io support if CONFIG_FB_DEFERRED_IO is enabled.
The driver has to provide a (struct drm_framebuffer_funcs *)->dirty()
callback to get notification of fbdev framebuffer changes.
If the dirty() hook is set, then fb_deferred_io is set up automatically
by the helper.
Two functions have been added so that the driver can provide a dirty()
function:
- drm_fbdev_cma_init_with_funcs()
This makes it possible for the driver to provided a custom
(struct drm_fb_helper_funcs *)->fb_probe() function.
- drm_fbdev_cma_create_with_funcs()
This is used by the .fb_probe hook to set a driver provided
(struct drm_framebuffer_funcs *)->dirty() function.
Cc: [email protected]
Signed-off-by: Noralf Trønnes <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions