* [PATCH] staging: fbtft: clarify TODO comment in fbtft-core
@ 2026-04-16 16:46 Sachin Kumar
2026-04-16 18:20 ` Andy Shevchenko
0 siblings, 1 reply; 6+ messages in thread
From: Sachin Kumar @ 2026-04-16 16:46 UTC (permalink / raw)
To: andy, gregkh
Cc: dri-devel, linux-fbdev, linux-staging, linux-kernel, Sachin Kumar
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@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] staging: fbtft: clarify TODO comment in fbtft-core
2026-04-16 16:46 [PATCH] staging: fbtft: clarify TODO comment in fbtft-core Sachin Kumar
@ 2026-04-16 18:20 ` Andy Shevchenko
2026-04-16 18:48 ` Sachin Kumar
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Andy Shevchenko @ 2026-04-16 18:20 UTC (permalink / raw)
To: Sachin Kumar
Cc: andy, gregkh, dri-devel, linux-fbdev, linux-staging, linux-kernel
On Thu, Apr 16, 2026 at 7:47 PM Sachin Kumar
<sachinkumar905846@gmail.com> wrote:
>
> 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.
...
> - /* TODO: only mark changed area update all for now */
> + /* TODO: Optimize to update only the changed area instead of
> + * refreshing the entire display
> + */
Wrong style.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] staging: fbtft: clarify TODO comment in fbtft-core
2026-04-16 18:20 ` Andy Shevchenko
@ 2026-04-16 18:48 ` Sachin Kumar
2026-04-16 18:54 ` [PATCH v2] " Sachin Kumar
2026-04-17 9:33 ` [PATCH v3] " Sachin Kumar
2 siblings, 0 replies; 6+ messages in thread
From: Sachin Kumar @ 2026-04-16 18:48 UTC (permalink / raw)
To: andy, gregkh
Cc: dri-devel, linux-fbdev, linux-staging, linux-kernel, Sachin Kumar
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@gmail.com>
---
drivers/staging/fbtft/fbtft-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c
index f427c0914..cff838955 100644
--- a/drivers/staging/fbtft/fbtft-core.c
+++ b/drivers/staging/fbtft/fbtft-core.c
@@ -414,7 +414,7 @@ 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: update only changed area, not entire display */
par->fbtftops.mkdirty(info, -1, 0);
}
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2] staging: fbtft: clarify TODO comment in fbtft-core
2026-04-16 18:20 ` Andy Shevchenko
2026-04-16 18:48 ` Sachin Kumar
@ 2026-04-16 18:54 ` Sachin Kumar
2026-04-17 6:24 ` Greg KH
2026-04-17 9:33 ` [PATCH v3] " Sachin Kumar
2 siblings, 1 reply; 6+ messages in thread
From: Sachin Kumar @ 2026-04-16 18:54 UTC (permalink / raw)
To: andy, gregkh
Cc: dri-devel, linux-fbdev, linux-staging, linux-kernel, Sachin Kumar
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@gmail.com>
---
drivers/staging/fbtft/fbtft-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c
index f427c0914..cff838955 100644
--- a/drivers/staging/fbtft/fbtft-core.c
+++ b/drivers/staging/fbtft/fbtft-core.c
@@ -414,7 +414,7 @@ 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: update only changed area, not entire display */
par->fbtftops.mkdirty(info, -1, 0);
}
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2] staging: fbtft: clarify TODO comment in fbtft-core
2026-04-16 18:54 ` [PATCH v2] " Sachin Kumar
@ 2026-04-17 6:24 ` Greg KH
0 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2026-04-17 6:24 UTC (permalink / raw)
To: Sachin Kumar; +Cc: andy, dri-devel, linux-fbdev, linux-staging, linux-kernel
On Fri, Apr 17, 2026 at 12:24:38AM +0530, Sachin Kumar wrote:
> 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@gmail.com>
> ---
> drivers/staging/fbtft/fbtft-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c
> index f427c0914..cff838955 100644
> --- a/drivers/staging/fbtft/fbtft-core.c
> +++ b/drivers/staging/fbtft/fbtft-core.c
> @@ -414,7 +414,7 @@ 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: update only changed area, not entire display */
> par->fbtftops.mkdirty(info, -1, 0);
> }
>
> --
> 2.43.0
>
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3] staging: fbtft: clarify TODO comment in fbtft-core
2026-04-16 18:20 ` Andy Shevchenko
2026-04-16 18:48 ` Sachin Kumar
2026-04-16 18:54 ` [PATCH v2] " Sachin Kumar
@ 2026-04-17 9:33 ` Sachin Kumar
2 siblings, 0 replies; 6+ messages in thread
From: Sachin Kumar @ 2026-04-17 9:33 UTC (permalink / raw)
To: andy, gregkh
Cc: dri-devel, linux-fbdev, linux-staging, linux-kernel, Sachin Kumar
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@gmail.com>
---
v3:
- add missing changelog for previous version
- simplify TODO comment to match kernel style
drivers/staging/fbtft/fbtft-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c
index f427c0914..cff838955 100644
--- a/drivers/staging/fbtft/fbtft-core.c
+++ b/drivers/staging/fbtft/fbtft-core.c
@@ -414,7 +414,7 @@ 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: update only changed area, not entire display */
par->fbtftops.mkdirty(info, -1, 0);
}
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-04-17 9:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-16 16:46 [PATCH] staging: fbtft: clarify TODO comment in fbtft-core Sachin Kumar
2026-04-16 18:20 ` Andy Shevchenko
2026-04-16 18:48 ` Sachin Kumar
2026-04-16 18:54 ` [PATCH v2] " Sachin Kumar
2026-04-17 6:24 ` Greg KH
2026-04-17 9:33 ` [PATCH v3] " Sachin Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox