mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 15:20:37 +07:00
31cd7afa30
Panels drivers store their timings in a device data structure field that is initialized at probe time, either from hardcoded values or from firmware-supplied values. Those timings are then reported through the .get_timings() operation to construct the panel display mode. The panel timings are further modified by the .set_timings() operation, which is called with the timings retrieved by .get_timings(), and mangled by .check_timings(). The latter potentially adjusts the pixel clock only. Conceptually, modifying the panel timings is wrong, as the timings are an intrinsic property of the panel and should thus be fixed. Furthermore, modifying them this way at runtime can result in display modes reported to userspace varying between calls, which is also wrong. There's no actual need to store the mangled pixel clock value in the timings. Don't modify the panel timings in the .set_timings() operation, just forward it to the previous device in the display pipeline. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> |
||
---|---|---|
.. | ||
connector-analog-tv.c | ||
connector-dvi.c | ||
connector-hdmi.c | ||
encoder-opa362.c | ||
encoder-tfp410.c | ||
encoder-tpd12s015.c | ||
Kconfig | ||
Makefile | ||
panel-dpi.c | ||
panel-dsi-cm.c | ||
panel-lgphilips-lb035q02.c | ||
panel-nec-nl8048hl11.c | ||
panel-sharp-ls037v7dw01.c | ||
panel-sony-acx565akm.c | ||
panel-tpo-td028ttec1.c | ||
panel-tpo-td043mtea1.c |