linux/drivers/gpu/drm/panel
Cong Yang d75f7c1bd8 drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP
[ Upstream commit cea7008190 ]

The refresh reported by modetest is 60.46Hz, and the actual measurement
is 60.01Hz, which is outside the expected tolerance. Adjust hporch and
pixel clock to fix it. After repair, modetest and actual measurement were
all 60.01Hz.

Modetest refresh = Pixel CLK/ htotal* vtotal, but measurement frame rate
is HS->LP cycle time(Vblanking). Measured frame rate is not only affecte
by Htotal/Vtotal/pixel clock, also affected by Lane-num/PixelBit/LineTime
/DSI CLK. Assume that the DSI controller could not make the mode that we
requested(presumably it's PLL couldn't generate the exact pixel clock?).
If you use a different DSI controller, you may need to readjust these
parameters. Now this panel looks like it's only used by me on the MTK
platform, so let's change this set of parameters.

Fixes: 1bc2ef065f ("drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel")
Signed-off-by: Cong Yang <yangcong5@huaqin.corp-partner.google.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231120020109.3216343-1-yangcong5@huaqin.corp-partner.google.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-12-03 07:33:04 +01:00
..
Kconfig drm/panel: Support for startek-kd070fhfid015 MIPI-DSI panel 2023-07-31 17:46:32 +02:00
Makefile drm/panel: Support for startek-kd070fhfid015 MIPI-DSI panel 2023-07-31 17:46:32 +02:00
panel-abt-y030xx067a.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-arm-versatile.c drm/panel: fix a possible null pointer dereference 2023-11-28 17:19:41 +00:00
panel-asus-z00t-tm5p5-n35596.c drm/panel-asus-z00t-tm5p5-n35596: Drop custom DSI write macros 2023-01-11 18:50:45 +01:00
panel-auo-a030jtn01.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-boe-bf060y8m-aj0.c drm/panel-boe-bf060y8m-aj0: Drop custom DSI write macro 2023-01-11 18:50:49 +01:00
panel-boe-himax8279d.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-boe-tv101wum-nl6.c drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP 2023-12-03 07:33:04 +01:00
panel-dsi-cm.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-ebbg-ft8719.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-edp.c drm/panel: Move AUX B116XW03 out of panel-edp back to panel-simple 2023-10-12 09:25:00 -07:00
panel-elida-kd35t133.c drm/panel-elida-kd35t133: Drop custom DSI write macro 2023-01-11 18:50:48 +01:00
panel-feixin-k101-im2ba02.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-feiyang-fy07024di26a30d.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-himax-hx8394.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-ilitek-ili9322.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-ilitek-ili9341.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-ilitek-ili9881c.c drm/panel: ilitek-ili9881c: Add TDO TL050HDV35 LCD panel 2023-07-31 14:59:09 +02:00
panel-innolux-ej030na.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-innolux-p079zca.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-jadard-jd9365da-h3.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-jdi-fhd-r63452.c drm/panel-jdi-fhd-r63452: Drop custom DSI write macros 2023-01-11 18:50:51 +01:00
panel-jdi-lt070me05000.c drm/panel: JDI LT070ME05000 simplify with dev_err_probe() 2023-08-14 14:48:49 +02:00
panel-khadas-ts050.c drm/panel: khadas-ts050: update timings to achieve 60Hz refresh rate 2023-06-01 16:10:25 +02:00
panel-kingdisplay-kd097d04.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-leadtek-ltk050h3146w.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-leadtek-ltk500hd1829.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-lg-lb035q02.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
panel-lg-lg4573.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
panel-lvds.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-magnachip-d53e6ea8966.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-mantix-mlaf057we51.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-nec-nl8048hl11.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
panel-newvision-nv3051d.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-newvision-nv3052c.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-novatek-nt35510.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-novatek-nt35560.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-novatek-nt35950.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-novatek-nt36523.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-novatek-nt36672a.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-novatek-nt39016.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-olimex-lcd-olinuxino.c drm: Switch i2c drivers back to use .probe() 2023-05-30 16:55:16 -07:00
panel-orisetech-ota5601a.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-orisetech-otm8009a.c drm/panel: otm8009a: Set backlight parent to panel device 2023-04-17 09:43:05 +02:00
panel-osd-osd101t2587-53ts.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-panasonic-vvx10f034n00.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-raspberrypi-touchscreen.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-raydium-rm67191.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-raydium-rm68200.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-ronbo-rb070d30.c drm/panel: Do not include <linux/fb.h> 2023-01-13 13:19:13 +01:00
panel-samsung-atna33xc20.c drm/panel-samsung-atna33xc20: Extend autosuspend delay 2022-11-29 14:25:19 -08:00
panel-samsung-db7430.c drm/panel: db7430: remove unused variables 2023-07-24 19:55:53 +02:00
panel-samsung-ld9040.c drm/panel: ld9040: Register a backlight device 2023-07-14 10:12:06 +02:00
panel-samsung-s6d7aa0.c Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
panel-samsung-s6d16d0.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-samsung-s6d27a1.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
panel-samsung-s6e3ha2.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-samsung-s6e8aa0.c drm: panel: Enable prepare_prev_first flag for samsung-s6e panels 2023-01-26 15:11:23 +09:00
panel-samsung-s6e63j0x03.c drm: panel: Enable prepare_prev_first flag for samsung-s6e panels 2023-01-26 15:11:23 +09:00
panel-samsung-s6e63m0-dsi.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-samsung-s6e63m0-spi.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
panel-samsung-s6e63m0.c drm/panel: s6e63m0: Make s6e63m0_remove() return void 2021-10-11 18:49:29 +02:00
panel-samsung-s6e63m0.h drm/panel: s6e63m0: Make s6e63m0_remove() return void 2021-10-11 18:49:29 +02:00
panel-samsung-s6e88a0-ams452ef01.c drm/panel-samsung-s6e88a0-ams452ef01: Drop custom DSI write macro 2023-01-11 18:50:52 +01:00
panel-samsung-sofef00.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-seiko-43wvf1g.c drm/panel: Convert to platform remove callback returning void 2023-06-08 09:04:11 -07:00
panel-sharp-lq101r1sx01.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-sharp-ls037v7dw01.c drm/panel: Convert to platform remove callback returning void 2023-06-08 09:04:11 -07:00
panel-sharp-ls043t1le01.c drm/panel: sharp-ls043t1le01: drop dummy functions and data fields 2023-05-11 10:45:51 +02:00
panel-sharp-ls060t1sx01.c drm/panel-sharp-ls060t1sx01: Drop custom DSI write macro 2023-01-11 18:50:54 +01:00
panel-simple.c drm/panel: simple: Fix Innolux G101ICE-L01 timings 2023-12-03 07:33:03 +01:00
panel-sitronix-st7701.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-sitronix-st7703.c drm/panel: st7703: Pick different reset sequence 2023-11-28 17:19:41 +00:00
panel-sitronix-st7789v.c drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support 2023-08-04 15:27:07 +02:00
panel-sony-acx565akm.c drm/panel: sony-acx565akm: Use backlight helpers 2022-06-24 21:38:04 +02:00
panel-sony-td4353-jdi.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-sony-tulip-truly-nt35521.c drm/panel-sony-tulip-truly-nt35521: Drop custom DSI write macro 2023-01-11 18:50:56 +01:00
panel-startek-kd070fhfid015.c drm/panel: Support for startek-kd070fhfid015 MIPI-DSI panel 2023-07-31 17:46:32 +02:00
panel-tdo-tl070wsh30.c drm/mipi-dsi: Make remove callback return void 2022-07-09 10:50:03 +02:00
panel-tpo-td028ttec1.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
panel-tpo-td043mtea1.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
panel-tpo-tpg110.c drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference 2023-11-28 17:19:41 +00:00
panel-truly-nt35597.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-visionox-r66451.c drm/panel: Add driver for Visionox r66451 panel 2023-06-08 17:58:57 +02:00
panel-visionox-rm69299.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
panel-visionox-vtdr6130.c drm/panel: vtdr6130: fix unused ret in visionox_vtdr6130_bl_update_status 2023-01-19 15:32:11 +01:00
panel-widechips-ws2401.c drm/panel: ws2401: Silent no spi_device_id warning 2022-10-03 21:50:53 +02:00
panel-xinpeng-xpp055c272.c drm/panel-xinpeng-xpp055c272: Drop custom DSI write macro 2023-01-11 18:50:57 +01:00