mirror of https://gitee.com/openkylin/linux.git
f4510a2752
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
shmob_drm_backlight.c | ||
shmob_drm_backlight.h | ||
shmob_drm_crtc.c | ||
shmob_drm_crtc.h | ||
shmob_drm_drv.c | ||
shmob_drm_drv.h | ||
shmob_drm_kms.c | ||
shmob_drm_kms.h | ||
shmob_drm_plane.c | ||
shmob_drm_plane.h | ||
shmob_drm_regs.h |