]> Git Repo - linux.git/commit
drm/fb-helper: add DRM_FB_HELPER_DEFAULT_OPS for fb_ops
authorStefan Christ <[email protected]>
Thu, 29 Sep 2016 20:48:37 +0000 (22:48 +0200)
committerDaniel Vetter <[email protected]>
Tue, 4 Oct 2016 06:23:16 +0000 (08:23 +0200)
commit74064893901ac5103cf101ecef5946e82b6ce9c6
tree7001b17f1318ab877a73b3bf69c79eb1f5affd1c
parent61802130d85fdaf9646340bf1cc64b3e06d0b19c
drm/fb-helper: add DRM_FB_HELPER_DEFAULT_OPS for fb_ops

The define DRM_FB_HELPER_DEFAULT_OPS provides the drm_fb_helper default
implementations for functions in struct fb_ops. A drm driver can use it
like:

    static struct fb_ops drm_fbdev_cma_ops = {
        .owner          = THIS_MODULE,
        DRM_FB_HELPER_DEFAULT_OPS,
        /* driver specific implementations */
    };

Suggested-by: Daniel Vetter <[email protected]>
Signed-off-by: Stefan Christ <[email protected]>
Reviewed-by: Gustavo Padovan <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
include/drm/drm_fb_helper.h
This page took 0.052194 seconds and 4 git commands to generate.