[PATCH] staging: fbtft: clarify TODO comment in fbtft-core
From: Sachin Kumar
Date: Thu Apr 16 2026 - 12:52:29 EST
Improve wording of a TODO comment to better describe the
intended optimization. The comment now clearly states that
only the changed display area should be updated instead of
refreshing the entire screen.
Signed-off-by: Sachin Kumar <sachinkumar905846@xxxxxxxxx>
---
drivers/staging/fbtft/fbtft-core.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c
index f427c0914..4984aad9c 100644
--- a/drivers/staging/fbtft/fbtft-core.c
+++ b/drivers/staging/fbtft/fbtft-core.c
@@ -414,7 +414,9 @@ static void fbtft_ops_damage_range(struct fb_info *info, off_t off, size_t len)
{
struct fbtft_par *par = info->par;
- /* TODO: only mark changed area update all for now */
+ /* TODO: Optimize to update only the changed area instead of
+ * refreshing the entire display
+ */
par->fbtftops.mkdirty(info, -1, 0);
}
--
2.43.0