linux/drivers/gpu/drm/tegra
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
..
bus.c drm: provide device-refcount 2014-03-16 12:25:17 +01:00
dc.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
dc.h drm/tegra: Relocate some output-specific code 2013-12-20 15:56:07 +01:00
drm.c drm/tegra: fix typo 'CONFIG_TEGRA_DRM_FBDEV' 2014-02-12 07:50:37 +01:00
drm.h drm/tegra: Add Tegra124 DC support 2013-12-20 15:56:06 +01:00
dsi.c drm/tegra: Relocate some output-specific code 2013-12-20 15:56:07 +01:00
dsi.h drm/tegra: Add DSI support 2013-12-20 15:56:04 +01:00
fb.c drm/tegra: Fix small leak on error in tegra_fb_alloc() 2013-12-20 15:56:06 +01:00
gem.c drm/tegra: Add PRIME support 2013-12-20 15:56:07 +01:00
gem.h drm/tegra: Add PRIME support 2013-12-20 15:56:07 +01:00
gr2d.c drm/tegra: Reserve base for gr2d 2013-10-31 09:55:48 +01:00
gr2d.h drm/tegra: Use symbolic names for gr2d registers 2013-10-31 09:55:44 +01:00
gr3d.c ARM: tegra: pass reset to tegra_powergate_sequence_power_up() 2013-12-11 16:43:11 -07:00
gr3d.h drm/tegra: Add 3D support 2013-10-31 09:55:45 +01:00
hdmi.c drm/tegra: Don't check resource with devm_ioremap_resource() 2014-01-14 14:34:14 +01:00
hdmi.h drm/tegra: Add Tegra114 HDMI support 2013-10-31 09:55:42 +01:00
Kconfig drm/tegra: Make legacy fbdev support optional 2013-12-20 15:56:05 +01:00
Makefile drm/tegra: Add DSI support 2013-12-20 15:56:04 +01:00
mipi-phy.c drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG 2013-12-20 15:56:33 +01:00
mipi-phy.h drm/tegra: Add DSI support 2013-12-20 15:56:04 +01:00
output.c drm/tegra: Use proper data type 2014-01-14 14:39:38 +01:00
rgb.c drm/tegra: Add guard to avoid double disable/enable of RGB outputs 2014-02-12 07:50:38 +01:00