mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 09:36:51 +07:00
a3f913ca98
Pass the drm_device to drm_helper_mode_fill_fb_struct() so that we can populate fb->dev early. Will make it easier to use the fb before we register it. @@ identifier fb, mode_cmd; @@ void drm_helper_mode_fill_fb_struct( + struct drm_device *dev, struct drm_framebuffer *fb, const struct drm_mode_fb_cmd2 *mode_cmd ); @@ identifier fb, mode_cmd; @@ void drm_helper_mode_fill_fb_struct( + struct drm_device *dev, struct drm_framebuffer *fb, const struct drm_mode_fb_cmd2 *mode_cmd ) { ... } @@ function func; identifier dev; expression E1, E2; @@ func(struct drm_device *dev, ...) { ... drm_helper_mode_fill_fb_struct( + dev, E1, E2); ... } @@ expression E1, E2; @@ drm_helper_mode_fill_fb_struct( + dev, E1, E2); v2: Rerun spatch due to code changes Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Link: http://patchwork.freedesktop.org/patch/msgid/1481748539-18283-1-git-send-email-ville.syrjala@linux.intel.com |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtk_cec.c | ||
mtk_cec.h | ||
mtk_disp_ovl.c | ||
mtk_disp_rdma.c | ||
mtk_dpi_regs.h | ||
mtk_dpi.c | ||
mtk_drm_crtc.c | ||
mtk_drm_crtc.h | ||
mtk_drm_ddp_comp.c | ||
mtk_drm_ddp_comp.h | ||
mtk_drm_ddp.c | ||
mtk_drm_ddp.h | ||
mtk_drm_drv.c | ||
mtk_drm_drv.h | ||
mtk_drm_fb.c | ||
mtk_drm_fb.h | ||
mtk_drm_gem.c | ||
mtk_drm_gem.h | ||
mtk_drm_plane.c | ||
mtk_drm_plane.h | ||
mtk_dsi.c | ||
mtk_hdmi_ddc.c | ||
mtk_hdmi_regs.h | ||
mtk_hdmi.c | ||
mtk_hdmi.h | ||
mtk_mipi_tx.c | ||
mtk_mt8173_hdmi_phy.c |