linux_dsm_epyc7002/drivers/gpu/drm/nouveau/dispnv04
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
..
arb.c drm: Remove pci_vendor and pci_device from struct drm_device 2013-10-09 15:55:33 +10:00
crtc.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
cursor.c drm/nv04/disp: hide all the cruft away in its own little hole 2013-04-26 15:37:51 +10:00
dac.c drm/nv04/disp: hide all the cruft away in its own little hole 2013-04-26 15:37:51 +10:00
dfp.c drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
disp.c drm/nouveau: create base display from common code 2014-01-23 13:39:18 +10:00
disp.h drm/nouveau: create base display from common code 2014-01-23 13:39:18 +10:00
hw.c drm/nv10/kms: add plane support for nv10-nv40 2013-11-08 15:37:40 +10:00
hw.h drm/nv04/disp: hide all the cruft away in its own little hole 2013-04-26 15:37:51 +10:00
Makefile drm/nv10/kms: add plane support for nv10-nv40 2013-11-08 15:37:40 +10:00
nvreg.h drm/nv04/disp: hide all the cruft away in its own little hole 2013-04-26 15:37:51 +10:00
overlay.c drm/nv04/plane: add support for nv04/nv05 video overlay 2014-01-23 13:38:28 +10:00
tvmodesnv17.c drm/nv04/disp: hide all the cruft away in its own little hole 2013-04-26 15:37:51 +10:00
tvnv04.c drm/nouveau: fix null ptr dereferences on some boards 2014-01-15 14:24:05 +10:00
tvnv17.c drm/nv04/disp: hide all the cruft away in its own little hole 2013-04-26 15:37:51 +10:00
tvnv17.h drm/nv04/disp: hide all the cruft away in its own little hole 2013-04-26 15:37:51 +10:00