[PATCH]Siliconmotion initial patch

Aaron.Chen 陈俊杰 aaron.chen at siliconmotion.com
Mon Feb 4 19:11:25 PST 2013


This is an initial patch. We add SM712/502 support. Both Xrandr and none-Xrandr feature is supported in this source code. You can get two kinds of binary from different build procedure.

 

This is a completely new driver from the last one. So the patch is big. Is it OK for review?

 

Here is what we changed:

COPYING               |   20 +

Makefile.am           |    1 +

Release.txt           |    1 +

configure.ac          |   57 +-

man/Makefile.am       |   21 +-

src/Makefile.am       |   89 +-

src/ddk502_chip.c     |  324 +++

src/ddk502_chip.h     |  136 ++

src/ddk502_clock.c    |  615 +++++

src/ddk502_clock.h    |  132 ++

src/ddk502_ddkdebug.c |  253 +++

src/ddk502_ddkdebug.h |  166 ++

src/ddk502_display.c  |  426 ++++

src/ddk502_display.h  |  108 +

src/ddk502_hardware.c |  469 ++++

src/ddk502_hardware.h |  105 +

src/ddk502_help.c     |   69 +

src/ddk502_help.h     |   47 +

src/ddk502_linux.c    |  417 ++++

src/ddk502_mode.c     |  756 +++++++

src/ddk502_mode.h     |  169 ++

src/ddk502_os.c       |   40 +

src/ddk502_os.h       |  377 ++++

src/ddk502_power.c    |  434 ++++

src/ddk502_power.h    |  126 ++

src/ddk502_regdc.h    |  781 +++++++

src/ddk502_regdma.h   |   81 +

src/ddk502_reggpio.h  |  329 +++

src/ddk502_regsc.h    | 1245 +++++++++++

src/ddk502_regzv.h    |  287 +++

src/ddk502_swi2c.c    |  563 +++++

src/ddk502_swi2c.h    |   47 +

src/ddk502_voyager.h  |  106 +

src/ddk712.h          |   34 +

src/ddk712_chip.c     |  178 ++

src/ddk712_chip.h     |   76 +

src/ddk712_help.c     |   52 +

src/ddk712_help.h     |  123 +

src/ddk712_mode.c     |  283 +++

src/ddk712_mode.h     |   45 +

src/ddk712_reg.h      |   37 +

src/smi_502_crtc.c    |  721 ++++++

src/smi_502_driver.c  |  792 +++++++

src/smi_502_driver.h  |  345 +++

src/smi_502_hw.c      |  162 ++

src/smi_502_hw.h      |   52 +

src/smi_502_output.c  |  483 ++++

src/smi_712_crtc.c    | 1476 ++++++++++++

src/smi_712_driver.c  |  672 ++++++

src/smi_712_driver.h  |  123 +

src/smi_712_hw.c      |  582 +++++

src/smi_712_hw.h      |  167 ++

src/smi_712_output.c  |  700 ++++++

src/smi_accel.c       | 1404 +++++++++++-

src/smi_accel.h       |  237 ++

src/smi_common.c      |   33 +

src/smi_common.h      |  700 ++++++

src/smi_crtc.c        |  271 ++-

src/smi_crtc.h        |   37 +-

src/smi_dbg.h         |   52 +

src/smi_driver.c      | 4014 ++++++++++++++++-----------------

src/smi_driver.h      |   99 +

src/smi_output.c      |  180 +-

src/smi_output.h      |   45 +

src/smi_ver.h         |   43 +

src/smi_video.c       | 5939 ++++++++++++++++++++++++++++---------------------

src/smi_video.h       |  309 ++-

src/version.h         |   39 +

68 files changed, 24116 insertions(+), 5186 deletions(-)

mode change 100755 => 100644 autogen.sh

create mode 100644 src/ddk502_chip.c

create mode 100644 src/ddk502_chip.h

create mode 100644 src/ddk502_clock.c

create mode 100644 src/ddk502_clock.h

create mode 100644 src/ddk502_ddkdebug.c

create mode 100644 src/ddk502_ddkdebug.h

create mode 100644 src/ddk502_display.c

create mode 100644 src/ddk502_display.h

create mode 100644 src/ddk502_hardware.c

create mode 100644 src/ddk502_hardware.h

create mode 100644 src/ddk502_help.c

create mode 100644 src/ddk502_help.h

create mode 100644 src/ddk502_linux.c

create mode 100644 src/ddk502_mode.c

create mode 100644 src/ddk502_mode.h

create mode 100644 src/ddk502_os.c

create mode 100644 src/ddk502_os.h

create mode 100644 src/ddk502_power.c

create mode 100644 src/ddk502_power.h

create mode 100644 src/ddk502_regdc.h

create mode 100644 src/ddk502_regdma.h

create mode 100644 src/ddk502_reggpio.h

create mode 100644 src/ddk502_regsc.h

create mode 100644 src/ddk502_regzv.h

create mode 100644 src/ddk502_swi2c.c

create mode 100644 src/ddk502_swi2c.h

create mode 100644 src/ddk502_voyager.h

create mode 100644 src/ddk712.h

create mode 100644 src/ddk712_chip.c

create mode 100644 src/ddk712_chip.h

create mode 100644 src/ddk712_help.c

create mode 100644 src/ddk712_help.h

create mode 100644 src/ddk712_mode.c

create mode 100644 src/ddk712_mode.h

create mode 100644 src/ddk712_reg.h

create mode 100644 src/smi_502_crtc.c

create mode 100644 src/smi_502_driver.c

create mode 100644 src/smi_502_driver.h

create mode 100644 src/smi_502_hw.c

create mode 100644 src/smi_502_hw.h

create mode 100644 src/smi_502_output.c

create mode 100644 src/smi_712_crtc.c

create mode 100644 src/smi_712_driver.c

create mode 100644 src/smi_712_driver.h

create mode 100644 src/smi_712_hw.c

create mode 100644 src/smi_712_hw.h

create mode 100644 src/smi_712_output.c

create mode 100644 src/smi_accel.h

create mode 100644 src/smi_common.c

create mode 100644 src/smi_common.h

create mode 100644 src/smi_dbg.h

create mode 100644 src/smi_driver.h

create mode 100644 src/smi_output.h

create mode 100644 src/smi_ver.h

create mode 100644 src/version.h

 

diff --git a/COPYING b/COPYING

index 2101aa1..ada7a72 100644

--- a/COPYING

+++ b/COPYING

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130205/815b99ba/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Siliconmotion-initial-patch.patch
Type: application/octet-stream
Size: 1028611 bytes
Desc: 0001-Siliconmotion-initial-patch.patch
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130205/815b99ba/attachment-0003.obj>


More information about the xorg-devel mailing list