linux_dsm_epyc7002/drivers/gpu/drm/mediatek
Jitao Shi 7a5bc4e22e drm/mediatek: change the dsi phytiming calculate method
Change the method of frame rate calc which can get more accurate
frame rate.

data rate = pixel_clock * bit_per_pixel / lanes
Adjust hfp_wc to adapt the additional phy_data

if MIPI_DSI_MODE_VIDEO_BURST
	hfp_wc = hfp * bpp - data_phy_cycles * lanes - 12 - 6;
else
	hfp_wc = hfp * bpp - data_phy_cycles * lanes - 12;

Note:
//(2: 1 for sync, 1 for phy idle)
data_phy_cycles = T_hs_exit + T_lpx + T_hs_prepare + T_hs_zero + 2;

bpp: bit per pixel

Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Tested-by: Ryan Case <ryandcase@chromium.org>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
2019-10-07 12:29:38 +08: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: drop use of drmP.h 2019-07-17 12:52:55 +02: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/mediatek: drop use of drmP.h 2019-07-17 12:52:55 +02:00
mtk_drm_crtc.c drm/mediatek: drop use of drmP.h 2019-07-17 12:52:55 +02: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: drop use of drmP.h 2019-07-17 12:52:55 +02:00
mtk_drm_ddp_comp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_drm_ddp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07: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 main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
mtk_drm_drv.h drm/mediatek: set DMA max segment size 2019-08-15 07:43:46 +08:00
mtk_drm_fb.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
mtk_drm_fb.h drm/mediatek: Use drm_atomic_helper_wait_for_fences 2019-06-25 18:12:57 +02:00
mtk_drm_gem.c drm/mediatek: direct include of drm.h in mtk_drm_gem.c 2019-07-19 23:24:17 +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: drop use of drmP.h 2019-07-17 12:52:55 +02: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 drm/mediatek: change the dsi phytiming calculate method 2019-10-07 12:29:38 +08: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: drop use of drmP.h 2019-07-17 12:52:55 +02: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