Revert "staging: sm7xxfb: remove driver"
PATCH 1/1 Revert "staging: sm7xxfb: remove driver"
Someone reported a bug in the function graph tracer for MIPS. As I'm still waiting on my USB serial for my Imagination MIPS board, I decided to bring my Lemote Yeeloong laptop back up to the latest kernel. This is where I noticed that the screen no longer displays anything.
I ran a bisect, which came across a staging commit that removed the sm7xxfb driver. When I reverted it on a v3.18-rc5 kernel and booted it on my Lemote laptop, the display worked again.
I then did a search for this commit and found that Debian reverted it too. Seems that there's still some Debian users of this laptop. (RMS?)
What needs to be done to make this a "proper" driver? I can try to support it, although I have no idea how it works :-)
This reverts commit dc93c85235efa5201e9a3c116bc3fbd1afc1a182.
--- drivers/staging/Kconfig | 2 + drivers/staging/Makefile | 1 + drivers/staging/sm7xxfb/Kconfig | 13 + drivers/staging/sm7xxfb/Makefile | 1 + drivers/staging/sm7xxfb/TODO | 9 + drivers/staging/sm7xxfb/sm7xx.h | 779 ++++++++++++++++++++++++++++ drivers/staging/sm7xxfb/sm7xxfb.c | 1026 +++++++++++++++++++++++++++++++++++++ 7 files changed, 1831 insertions(+) create mode 100644 drivers/staging/sm7xxfb/Kconfig create mode 100644 drivers/staging/sm7xxfb/Makefile create mode 100644 drivers/staging/sm7xxfb/TODO create mode 100644 drivers/staging/sm7xxfb/sm7xx.h create mode 100644 drivers/staging/sm7xxfb/sm7xxfb.c
drivers/staging/Kconfig +2 -0
@@ -58,6 +58,8 @@ source "drivers/staging/vt6656/Kconfig" source "drivers/staging/iio/Kconfig" +source "drivers/staging/sm7xxfb/Kconfig" + source "drivers/staging/xgifb/Kconfig" source "drivers/staging/emxx_udc/Kconfig"
drivers/staging/Makefile +1 -0
@@ -23,6 +23,7 @@ obj-$(CONFIG_VT6655) += vt6655/ obj-$(CONFIG_VT6656) += vt6656/ obj-$(CONFIG_VME_BUS) += vme/ obj-$(CONFIG_IIO) += iio/ +obj-$(CONFIG_FB_SM7XX) += sm7xxfb/ obj-$(CONFIG_FB_XGI) += xgifb/ obj-$(CONFIG_USB_EMXX) += emxx_udc/ obj-$(CONFIG_BCM_WIMAX) += bcm/
drivers/staging/sm7xxfb/Kconfig new file +13 -0
@@ -0,0 +1,13 @@ +config FB_SM7XX + tristate "Silicon Motion SM7XX framebuffer support" + depends on FB && PCI + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + help + Frame buffer driver for the Silicon Motion SM710, SM712, SM721 + and SM722 chips. + + This driver is also available as a module. The module will be + called sm7xxfb. If you want to compile it as a module, say M + here and read <file:Documentation/kbuild/modules.txt>.
drivers/staging/sm7xxfb/Makefile new file +1 -0
@@ -0,0 +1 @@ +obj-$(CONFIG_FB_SM7XX) += sm7xxfb.o
drivers/staging/sm7xxfb/TODO new file +9 -0
@@ -0,0 +1,9 @@ +TODO: +- Dual head support +- 2D acceleration support +- use kernel coding style +- refine the code and remove unused code +- move it to drivers/video/sm7xxfb.c + +Please send any patches to Greg Kroah-Hartman <[email protected]> and +Teddy Wang <[email protected]>.
drivers/staging/sm7xxfb/sm7xx.h new file +779 -0
779 lines not on this page · raw message
drivers/staging/sm7xxfb/sm7xxfb.c new file +1026 -0
1,026 lines not on this page · raw message
Signature · 1 line
2.1.1
Greg Kroah-Hartman
maintainerQuoted 10 lines · Steven Rostedt
Someone reported a bug in the function graph tracer for MIPS. As I'm still waiting on my USB serial for my Imagination MIPS board, I decided to bring my Lemote Yeeloong laptop back up to the latest kernel. This is where I noticed that the screen no longer displays anything.
I ran a bisect, which came across a staging commit that removed the sm7xxfb driver. When I reverted it on a v3.18-rc5 kernel and booted it on my Lemote laptop, the display worked again.
Quoted 5 lines
I then did a search for this commit and found that Debian reverted it too. Seems that there's still some Debian users of this laptop. (RMS?)
What needs to be done to make this a "proper" driver? I can try to support it, although I have no idea how it works :-)
Have you read the TODO file in this patch? If you are willing to work on this, I'll be glad to apply it, but the reason I removed it was because no one had done anything with it for a very long time.
It needs a maintainer / developer, otherwise I can't take this.
thanks,
greg k-h
Quoted 14 lines · Greg Kroah-Hartman
Quoted 13 lines · Steven Rostedt
Someone reported a bug in the function graph tracer for MIPS. As I'm still waiting on my USB serial for my Imagination MIPS board, I decided to bring my Lemote Yeeloong laptop back up to the latest kernel. This is where I noticed that the screen no longer displays anything.
I ran a bisect, which came across a staging commit that removed the sm7xxfb driver. When I reverted it on a v3.18-rc5 kernel and booted it on my Lemote laptop, the display worked again.
I then did a search for this commit and found that Debian reverted it too. Seems that there's still some Debian users of this laptop. (RMS?)
Quoted 8 lines
Quoted 2 lines
What needs to be done to make this a "proper" driver? I can try to support it, although I have no idea how it works :-)
Have you read the TODO file in this patch? If you are willing to work on this, I'll be glad to apply it, but the reason I removed it was because no one had done anything with it for a very long time.
It needs a maintainer / developer, otherwise I can't take this.
i will like to help in this. Silicon Motion is still having SM712 in its product line and SM718 might also be a similar one.
now the problems (as i see) for me to help in the driver :
1) i am a newbie. though i have learnt a lot from the patches i sent , but still I am a newbie.
2) most important - I do not have the hardware. So from the TODO list dual head and 2D acceleration support will be tough without actually checking on the hardware.
thanks
sudip
Quoted 9 lines
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Greg Kroah-Hartman
maintainerQuoted 3 lines · Sudip Mukherjee
2) most important - I do not have the hardware. So from the TODO list dual head and 2D acceleration support will be tough without actually checking on the hardware.
For a driver like this, if you don't have the hardware, I wouldn't recommend taking on the task of trying to fix it up and become the maintainer, sorry.
greg k-h
Quoted 8 lines · Greg Kroah-Hartman
Quoted 3 lines · Sudip Mukherjee
2) most important - I do not have the hardware. So from the TODO list dual head and 2D acceleration support will be tough without actually checking on the hardware.
For a driver like this, if you don't have the hardware, I wouldn't recommend taking on the task of trying to fix it up and become the maintainer, sorry.
ofcourse. that is the reason i mentioned in my mail that i do not have the hardware. I am trying to get a SM712 based display card.if i manage to get one i will mail you again.
thanks
sudip
Quoted 2 lines
greg k-h
Quoted 6 lines · Sudip Mukherjee
Quoted 5 lines · Greg Kroah-Hartman
Quoted 3 lines · Sudip Mukherjee
2) most important - I do not have the hardware. So from the TODO list dual head and 2D acceleration support will be tough without actually checking on the hardware.
Quoted 8 lines
Quoted 3 lines
For a driver like this, if you don't have the hardware, I wouldn't recommend taking on the task of trying to fix it up and become the maintainer, sorry.
ofcourse. that is the reason i mentioned in my mail that i do not have the hardware. I am trying to get a SM712 based display card.if i manage to get one i will mail you again.
thanks
sudip
Hi Greg K-H,
I have spoken to Teddy Wang of Silicon Motion and he has agreed to give me a SM712 board. He will also be giving his guidance in the code. And we both will be the Maintainer of the code.
I will send you the patch to revert your commit after i have received the board from Teddy Wang and I have done my initial testing.
Just have a few questions, and I hope you can help me with them :-
1) do i need to have git server somewhere to send you pull request or i send you patches?
2) the tree on which i will be working that will be based on which tree : linux-next, staging-next or staging-testing?
I hope you will not mind if I ask for your suggestions whenever i get a doubt (which I will get many), after all i am still a newbie here.
thanks
sudip
Quoted 3 lines
Quoted 3 lines
greg k-h
Quoted 11 lines · Steven Rostedt
Someone reported a bug in the function graph tracer for MIPS. As I'm still waiting on my USB serial for my Imagination MIPS board, I decided to bring my Lemote Yeeloong laptop back up to the latest kernel. This is where I noticed that the screen no longer displays anything.
I ran a bisect, which came across a staging commit that removed the sm7xxfb driver. When I reverted it on a v3.18-rc5 kernel and booted it on my Lemote laptop, the display worked again.
I then did a search for this commit and found that Debian reverted it too. Seems that there's still some Debian users of this laptop. (RMS?)
[...]
I reverted the removal for our 3.16 branch only, as that's going into the Debian 8 'jessie' release. It's not included in our 3.17 packages and won't come back unless someone supports it upstream. That gives any interested developers another couple of years to rescue it if they want it in Debian 9 'stretch'.
Ben.
Signature · 2 lines
Ben Hutchings Man invented language to satisfy his deep need to complain. - Lily Tomlin