All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/6] drm: lcdif: improve burst size configuration comment
@ 2023-09-21 20:03 ` Lucas Stach
  0 siblings, 0 replies; 19+ messages in thread
From: Lucas Stach @ 2023-09-21 20:03 UTC (permalink / raw)
  To: Marek Vasut, Liu Ying
  Cc: Pengutronix Kernel Team, NXP Linux Team, dri-devel,
	linux-arm-kernel, patchwork-lst

The comment regarding AXI bust size configuration is a bit hard
to read. Improve the wording somewhat.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Marek Vasut <marex@denx.de>
---
v2: Some more rewording.
---
 drivers/gpu/drm/mxsfb/lcdif_kms.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/mxsfb/lcdif_kms.c b/drivers/gpu/drm/mxsfb/lcdif_kms.c
index 2541d2de4e45..07e343e01f3e 100644
--- a/drivers/gpu/drm/mxsfb/lcdif_kms.c
+++ b/drivers/gpu/drm/mxsfb/lcdif_kms.c
@@ -329,12 +329,12 @@ static void lcdif_set_mode(struct lcdif_drm_private *lcdif, u32 bus_flags)
 	       lcdif->base + LCDC_V8_CTRLDESCL0_1);
 
 	/*
-	 * Undocumented P_SIZE and T_SIZE register but those written in the
-	 * downstream kernel those registers control the AXI burst size. As of
-	 * now there are two known values:
+	 * The P_SIZE and T_SIZE bitfields are only documented in the
+	 * downstream driver. Those bitfields control the AXI burst size.
+	 * As of now there are two known values:
 	 *  1 - 128Byte
 	 *  2 - 256Byte
-	 * Downstream set it to 256B burst size to improve the memory
+	 * Downstream sets this to 256B burst size to improve the memory access
 	 * efficiency so set it here too.
 	 */
 	ctrl = CTRLDESCL0_3_P_SIZE(2) | CTRLDESCL0_3_T_SIZE(2) |
-- 
2.39.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-09-22 14:34 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21 20:03 [PATCH v2 1/6] drm: lcdif: improve burst size configuration comment Lucas Stach
2023-09-21 20:03 ` Lucas Stach
2023-09-21 20:03 ` [PATCH v2 2/6] drm: lcdif: don't clear unrelated bits in CTRLDESCL0_5 when setting up format Lucas Stach
2023-09-21 20:03   ` Lucas Stach
2023-09-21 20:03 ` [PATCH v2 3/6] drm: lcdif: rework runtime PM handling in the atomic commit Lucas Stach
2023-09-21 20:03   ` Lucas Stach
2023-09-21 21:32   ` kernel test robot
2023-09-21 21:32     ` kernel test robot
2023-09-21 21:32     ` kernel test robot
2023-09-22  9:51   ` Ying Liu
2023-09-22  9:51     ` Ying Liu
2023-09-22 14:33     ` Lucas Stach
2023-09-22 14:33       ` Lucas Stach
2023-09-21 20:03 ` [PATCH v2 4/6] drm: lcdif: remove superfluous setup of framebuffer DMA address Lucas Stach
2023-09-21 20:03   ` Lucas Stach
2023-09-21 20:03 ` [PATCH v2 5/6] drm: lcdif: move pitch setup to plane atomic update Lucas Stach
2023-09-21 20:03   ` Lucas Stach
2023-09-21 20:03 ` [PATCH v2 6/6] drm: lcdif: force modeset when FB format changes Lucas Stach
2023-09-21 20:03   ` Lucas Stach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.