alistair23-linux/drivers/gpu/drm/shmobile
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
..
Kconfig drm: shmobile: Add dependency on BACKLIGHT_CLASS_DEVICE 2013-11-06 12:00:08 +10:00
Makefile drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_backlight.c drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_backlight.h drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_crtc.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
shmob_drm_crtc.h drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_drv.c drm/shmob: call drm_put_dev directly from ->remove hook 2013-12-18 11:05:46 +10:00
shmob_drm_drv.h drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_kms.c drm/shmobile: Minor typo fix in debug message 2013-06-20 10:07:14 +02:00
shmob_drm_kms.h drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_plane.c drm/shmobile: Use devm_* managed functions 2013-06-20 10:07:14 +02:00
shmob_drm_plane.h drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00
shmob_drm_regs.h drm: Renesas SH Mobile DRM driver 2012-09-18 12:28:22 +02:00