linux/drivers/gpu/drm/mediatek
yt.shen@mediatek.com 5ac5895a84 drm/mediatek: separate color module to fixup error memory reallocation
Previous patch (c5f228ef6c drm/mediatek: add *driver_data for different
hardware settings) calls devm_kfree() and then devm_kzalloc() to
reallocate color module data structure.  But this reallocation cannnot
guarantee the new address is unchanged, but the caller will use the
old address, which is wrong.

Fix it by separate color module from general components, this patch
separate color module to independent files, like mtk_disp_ovl.c and
mtk_disp_rdma.c do

Fixes: c5f228ef6c ("drm/mediatek: add *driver_data for different hardware settings")
Signed-off-by: YT Shen <yt.shen@mediatek.com>
Tested-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek>
2017-06-27 17:34:53 +08:00
..
Kconfig
Makefile drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_cec.c
mtk_cec.h
mtk_disp_color.c drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_disp_ovl.c drm/mediatek: Support UYVY and YUYV format for overlay 2017-06-27 17:34:52 +08:00
mtk_disp_rdma.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_dpi_regs.h
mtk_dpi.c drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00
mtk_drm_crtc.c drm/mediatek: check for memory allocation failure 2017-06-27 17:34:53 +08:00
mtk_drm_crtc.h drm: mediatek: use vblank hooks in struct drm_crtc_funcs 2017-02-21 11:17:54 -05:00
mtk_drm_ddp_comp.c drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_drm_ddp_comp.h drm/mediatek: add BLS component 2017-04-08 00:02:13 +08:00
mtk_drm_ddp.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_drm_ddp.h drm/mediatek: add shadow register support 2017-04-08 00:02:13 +08:00
mtk_drm_drv.c drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_drm_drv.h drm/mediatek: separate color module to fixup error memory reallocation 2017-06-27 17:34:53 +08:00
mtk_drm_fb.c drm: Pass 'dev' to drm_helper_mode_fill_fb_struct() 2016-12-15 14:03:30 +02:00
mtk_drm_fb.h
mtk_drm_gem.c
mtk_drm_gem.h
mtk_drm_plane.c drm/mediatek: Support UYVY and YUYV format for overlay 2017-06-27 17:34:52 +08:00
mtk_drm_plane.h
mtk_dsi.c drm/mediatek: re-phrase DRM_INFO error message 2017-06-27 17:34:53 +08:00
mtk_hdmi_ddc.c
mtk_hdmi_regs.h
mtk_hdmi.c drm/mediatek: use platform_register_drivers 2017-06-27 17:34:53 +08:00
mtk_hdmi.h
mtk_mipi_tx.c drm/mediatek: add support for Mediatek SoC MT2701 2017-04-08 00:02:17 +08:00
mtk_mt8173_hdmi_phy.c drm/mediatek: enhance the HDMI driving current 2016-10-19 09:06:53 +08:00