linux_dsm_epyc7002/drivers/gpu/drm/mediatek
Daniel Vetter d268f42e68 drm/mediatek: don't open-code drm_gem_fb_create
Aside: There's a few other fb_create implementations which
simply check for valid buffer format (or an approximation thereof),
and then call drm_gem_fb_create. For atomic drivers at least we could
walk all planes and make sure the format/modifier combo is valid,
and remove even more code.

For non-atomic drivers that's not possible, since the format list for
the primary buffer might be garbage (and most likely it is).

Also delete mtk_drm_fb.[hc] since it would now only contain one
function.

Acked-by: CK Hu <ck.hu@mediatek.com>
Cc: CK Hu <ck.hu@mediatek.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20191115092120.4445-4-daniel.vetter@ffwll.ch
2019-11-22 18:09:18 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm/mediatek: add mipi_tx driver for mt8183 2019-10-07 12:29:37 +08:00
mtk_cec.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_cec.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_disp_color.c drm/mediatek: drop use of drmP.h 2019-07-17 12:52:55 +02:00
mtk_disp_ovl.c drm/mediatek: distinguish ovl and ovl_2l by layer_nr 2019-10-09 16:58:12 +08:00
mtk_disp_rdma.c drm/mediatek: drop use of drmP.h 2019-07-17 12:52:55 +02:00
mtk_dpi_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_dpi.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
mtk_drm_crtc.c drm/mediatek: add ovl0/ovl_2l0 usecase 2019-10-09 16:58:12 +08:00
mtk_drm_crtc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_drm_ddp_comp.c drm/mediatek: add component OVL_2L1 2019-10-09 16:58:11 +08:00
mtk_drm_ddp_comp.h drm/mediatek: add function to background color input select for ovl/ovl_2l direct link 2019-10-09 16:58:11 +08:00
mtk_drm_ddp.c drm/mediatek: add no_clk into ddp private data 2019-10-09 16:58:13 +08:00
mtk_drm_ddp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_drm_drv.c drm/mediatek: don't open-code drm_gem_fb_create 2019-11-22 18:09:18 +01:00
mtk_drm_drv.h drm/mediatek: set DMA max segment size 2019-08-15 07:43:46 +08:00
mtk_drm_gem.c drm/mediatek: remove cast to pointers passed to kfree 2019-10-24 14:12:21 +02:00
mtk_drm_gem.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_drm_plane.c drm/mediatek: don't open-code drm_gem_fb_create 2019-11-22 18:09:18 +01:00
mtk_drm_plane.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_dsi.c Mediatek DRM next for Linux 5.5 2019-10-22 15:03:11 +10:00
mtk_hdmi_ddc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_hdmi_phy.c drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy 2019-04-09 17:47:01 +08:00
mtk_hdmi_phy.h drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy 2019-04-09 17:47:01 +08:00
mtk_hdmi_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_hdmi.c drm/mediatek: Provide ddc symlink in hdmi connector sysfs directory 2019-11-08 09:35:59 +01:00
mtk_hdmi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mipi_tx.c drm/mediatek: add mipi_tx driver for mt8183 2019-10-07 12:29:37 +08:00
mtk_mipi_tx.h drm/mediatek: add mipi_tx driver for mt8183 2019-10-07 12:29:37 +08:00
mtk_mt2701_hdmi_phy.c drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy 2019-04-09 17:47:01 +08:00
mtk_mt8173_hdmi_phy.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mt8173_mipi_tx.c drm/mediatek: separate mipi_tx to different file 2019-10-07 12:29:37 +08:00
mtk_mt8183_mipi_tx.c drm/mediatek: add mipi_tx driver for mt8183 2019-10-07 12:29:37 +08:00