diff options
author | Huacai Chen <chenhc@lemote.com> | 2015-05-11 06:08:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 23:34:49 +0300 |
commit | 288ef567ab7b43f19838afbe12b471f1ff5fdfa3 (patch) | |
tree | 6465648eb4cd2d752f99e5ad302690bd8ac71c99 /drivers/staging/sm750fb/sm750.c | |
parent | 2e043a923eb25c2ebeb33c1053357cc69ce2494e (diff) | |
download | linux-288ef567ab7b43f19838afbe12b471f1ff5fdfa3.tar.xz |
staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750.c')
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 97fe04a9451f..69b18f399b90 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -274,7 +274,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 |