linux/drivers/gpu/drm/bochs
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
..
bochs_drv.c drm/bochs: new driver 2013-12-23 11:02:39 +10:00
bochs_fbdev.c drm/bochs: new driver 2013-12-23 11:02:39 +10:00
bochs_hw.c drm/bochs: new driver 2013-12-23 11:02:39 +10:00
bochs_kms.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
bochs_mm.c drm: init TTM dev_mapping in ttm_bo_device_init() 2014-03-16 12:23:42 +01:00
bochs.h drm/bochs: new driver 2013-12-23 11:02:39 +10:00
Kconfig drm: fix bochs kconfig dependencies 2014-03-07 09:05:10 +10:00
Makefile drm/bochs: new driver 2013-12-23 11:02:39 +10:00