* [PATCH V3 RESEND] staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1
@ 2015-05-08 9:04 Huacai Chen
2015-05-08 9:55 ` Sudip Mukherjee
2015-05-10 13:17 ` Greg Kroah-Hartman
0 siblings, 2 replies; 3+ messages in thread
From: Huacai Chen @ 2015-05-08 9:04 UTC (permalink / raw)
To: linux-fbdev
If image->depth != 1, lynxfb_ops_imageblit() should fallback to call
cfb_imageblit(), not return directly. Otherwise it can't display the
boot logo.
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
---
V2: Coding style ajustment.
V3: Add TODO comments.
drivers/staging/sm750fb/TODO | 1 +
drivers/staging/sm750fb/sm750.c | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/sm750fb/TODO b/drivers/staging/sm750fb/TODO
index bc16172..f8698498 100644
--- a/drivers/staging/sm750fb/TODO
+++ b/drivers/staging/sm750fb/TODO
@@ -2,6 +2,7 @@ TODO:
- lots of clechpatch cleanup
- use kernel coding style
- refine the code and remove unused code
+- Implement hardware acceleration for imageblit if image->depth > 1
- check on hardware effects of removal of USE_HW_I2C and USE_DVICHIP (these two
are supposed to be sample code which is given here if someone wants to
use those functionalities)
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 3c7ea95..6f78de3 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -279,7 +279,10 @@ static void lynxfb_ops_imageblit(struct fb_info *info,
}
goto _do_work;
}
+ /* TODO: Implement hardware acceleration for image->depth > 1 */
+ cfb_imageblit(info, image);
return;
+
_do_work:
/*
* If not use spin_lock, system will die if user load driver
--
1.7.7.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V3 RESEND] staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1
2015-05-08 9:04 [PATCH V3 RESEND] staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1 Huacai Chen
@ 2015-05-08 9:55 ` Sudip Mukherjee
2015-05-10 13:17 ` Greg Kroah-Hartman
1 sibling, 0 replies; 3+ messages in thread
From: Sudip Mukherjee @ 2015-05-08 9:55 UTC (permalink / raw)
To: linux-fbdev
On Fri, May 08, 2015 at 05:04:28PM +0800, Huacai Chen wrote:
> If image->depth != 1, lynxfb_ops_imageblit() should fallback to call
> cfb_imageblit(), not return directly. Otherwise it can't display the
> boot logo.
why resending?
regards
sudip
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH V3 RESEND] staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1
2015-05-08 9:04 [PATCH V3 RESEND] staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1 Huacai Chen
2015-05-08 9:55 ` Sudip Mukherjee
@ 2015-05-10 13:17 ` Greg Kroah-Hartman
1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2015-05-10 13:17 UTC (permalink / raw)
To: linux-fbdev
On Fri, May 08, 2015 at 05:04:28PM +0800, Huacai Chen wrote:
> If image->depth != 1, lynxfb_ops_imageblit() should fallback to call
> cfb_imageblit(), not return directly. Otherwise it can't display the
> boot logo.
>
> Cc: Teddy Wang <teddy.wang@siliconmotion.com>
> Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
> Signed-off-by: Huacai Chen <chenhc@lemote.com>
> ---
> V2: Coding style ajustment.
> V3: Add TODO comments.
>
> drivers/staging/sm750fb/TODO | 1 +
> drivers/staging/sm750fb/sm750.c | 3 +++
> 2 files changed, 4 insertions(+), 0 deletions(-)
Doesn't apply without fuzz, so something isn't synced up properly here.
Please refresh it against my tree and resend.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-10 13:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-08 9:04 [PATCH V3 RESEND] staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1 Huacai Chen
2015-05-08 9:55 ` Sudip Mukherjee
2015-05-10 13:17 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox