diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-12-09 00:35:08 +0300 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2009-01-29 01:46:20 +0000 |
commit | f186c8103c9195eb53238c928fe03f7af1d43479 (patch) | |
tree | 1be5cb46bf7e480bfac63231c94534910eb34a89 /packages/kexecboot/linux-kexecboot-2.6.24/tosa/tmiofb-fix-unaccel.patch | |
parent | a1514b599c421d2816e25aabab8578b30303c4ab (diff) |
linux-kexecboot: support tosa
port patches from linux-rp-2.6.24 to linux-kexecboot to enable booting
on tosa.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Diffstat (limited to 'packages/kexecboot/linux-kexecboot-2.6.24/tosa/tmiofb-fix-unaccel.patch')
-rw-r--r-- | packages/kexecboot/linux-kexecboot-2.6.24/tosa/tmiofb-fix-unaccel.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/kexecboot/linux-kexecboot-2.6.24/tosa/tmiofb-fix-unaccel.patch b/packages/kexecboot/linux-kexecboot-2.6.24/tosa/tmiofb-fix-unaccel.patch new file mode 100644 index 0000000000..d611342170 --- /dev/null +++ b/packages/kexecboot/linux-kexecboot-2.6.24/tosa/tmiofb-fix-unaccel.patch @@ -0,0 +1,33 @@ +Index: linux-2.6.24/drivers/video/tmiofb.c +=================================================================== +--- linux-2.6.24.orig/drivers/video/tmiofb.c 2008-12-07 22:30:26.600128369 +0300 ++++ linux-2.6.24/drivers/video/tmiofb.c 2008-12-07 22:31:42.537112538 +0300 +@@ -689,14 +689,14 @@ static irqreturn_t tmiofb_irq(int irq, v + unsigned int bbisc = ioread16(&lcr->bbisc); + + ++ iowrite16(bbisc, &lcr->bbisc); ++ ++#ifdef CONFIG_FB_TMIO_ACCELL + if (unlikely(par->use_polling && irq != -1)) { + printk(KERN_INFO "tmiofb: switching to waitq\n"); + par->use_polling = false; + } + +- iowrite16(bbisc, &lcr->bbisc); +- +-#ifdef CONFIG_FB_TMIO_ACCELL + if (bbisc & 1) + wake_up(&par->wait_acc); + #endif +@@ -972,8 +972,10 @@ static int tmiofb_suspend(struct platfor + info->fbops->fb_sync(info); + + ++#ifdef CONFIG_FB_TMIO_ACCELL + printk(KERN_INFO "tmiofb: switching to polling\n"); + par->use_polling = true; ++#endif + tmiofb_hw_stop(dev); + + if (cell->suspend) |