1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/msm/mdp/mdp5
Matt Roper f4510a2752 drm: Replace crtc fb with primary plane fb (v3)
Now that CRTC's have a primary plane, there's no need to track the
framebuffer in the CRTC.  Replace all references to the CRTC fb with the
primary plane's fb.

This patch was generated by the Coccinelle semantic patching tool using
the following rules:

        @@ struct drm_crtc C; @@
        -   (C).fb
        +   C.primary->fb

        @@ struct drm_crtc *C; @@
        -   (C)->fb
        +   C->primary->fb

v3: Generate patch via coccinelle.  Actual removal of crtc->fb has been
    moved to a subsequent patch.

v2: Fixup several lingering crtc->fb instances that were missed in the
    first patch iteration.  [Rob Clark]

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
2014-04-01 20:18:28 -04:00
..
mdp5.xml.h drm/msm: resync generated headers 2014-01-09 14:38:59 -05:00
mdp5_crtc.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
mdp5_encoder.c drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00
mdp5_irq.c drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00
mdp5_kms.c drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00
mdp5_kms.h drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00
mdp5_plane.c drm/msm: Switch to universal plane API's 2014-04-01 20:18:27 -04:00
mdp5_smp.c drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00
mdp5_smp.h drm/msm: add mdp5/apq8x74 2014-01-09 14:44:06 -05:00