[PATCH 2/3]siliconmotion new driver initial patch 2

Aaron.Chen 陈俊杰 aaron.chen at siliconmotion.com
Mon Aug 6 02:49:02 PDT 2012


The structures of the driver has been changed.
It will be much different from old driver.
It can support all of the siliconmotion graphics chips.
There are 3 different types of ddk for 6 graphics chips.
The driver includes both RandR and no-RandR mode and supports multi-card.

Signed-off-by: Aaron Chen <aaron.chen at siliconmotion.com>
---
src/Makefile.am                 |   91 +-
 src/ddk502/502ddk_module.c      |   64 +
 src/ddk502/Makefile.am          |   56 +
 src/ddk502/ddk502_chip.c        |  358 ++
 src/ddk502/ddk502_chip.h        |  138 +
 src/ddk502/ddk502_clock.c       |  614 ++++
 src/ddk502/ddk502_clock.h       |  131 +
 src/ddk502/ddk502_ddkdebug.c    |  252 ++
 src/ddk502/ddk502_ddkdebug.h    |  165 +
 src/ddk502/ddk502_display.c     |  425 +++
 src/ddk502/ddk502_display.h     |  107 +
 src/ddk502/ddk502_hardware.c    |  468 +++
 src/ddk502/ddk502_hardware.h    |  104 +
 src/ddk502/ddk502_help.c        |   68 +
 src/ddk502/ddk502_help.h        |   50 +
 src/ddk502/ddk502_linux.c       |  416 +++
 src/ddk502/ddk502_mode.c        |  757 +++++
 src/ddk502/ddk502_mode.h        |  168 +
 src/ddk502/ddk502_os.c          |   39 +
 src/ddk502/ddk502_os.h          |  376 +++
 src/ddk502/ddk502_power.c       |  498 +++
 src/ddk502/ddk502_power.h       |  137 +
 src/ddk502/ddk502_regdc.h       |  780 +++++
 src/ddk502/ddk502_regdma.h      |   80 +
 src/ddk502/ddk502_reggpio.h     |  328 ++
 src/ddk502/ddk502_regsc.h       | 1244 +++++++
 src/ddk502/ddk502_regzv.h       |  286 ++
 src/ddk502/ddk502_swi2c.c       |  562 ++++
 src/ddk502/ddk502_swi2c.h       |   50 +
 src/ddk502/ddk502_voyager.h     |  105 +
 src/ddk502/version.h            |   36 +
 src/ddk712/712ddk_module.c      |   65 +
 src/ddk712/Makefile.am          |   37 +
 src/ddk712/ddk712.h             |   33 +
 src/ddk712/ddk712_chip.c        |  185 ++
 src/ddk712/ddk712_chip.h        |   75 +
 src/ddk712/ddk712_help.c        |   51 +
 src/ddk712/ddk712_help.h        |  122 +
 src/ddk712/ddk712_mode.c        |  282 ++
 src/ddk712/ddk712_mode.h        |   44 +
 src/ddk712/ddk712_reg.h         |   36 +
 src/ddk712/version.h            |   36 +
 src/ddk750/750ddk_module.c      |   64 +
 src/ddk750/Makefile.am          |   50 +
 src/ddk750/ddk750.h             |   46 +
 src/ddk750/ddk750_chip.c        |  679 ++++
 src/ddk750/ddk750_chip.h        |  106 +
 src/ddk750/ddk750_display.c     |  372 +++
 src/ddk750/ddk750_display.h     |  199 ++
 src/ddk750/ddk750_dvi.c         |  120 +
 src/ddk750/ddk750_dvi.h         |   88 +
 src/ddk750/ddk750_edid.c        | 1950 +++++++++++
 src/ddk750/ddk750_edid.h        | 1088 +++++++
 src/ddk750/ddk750_help.c        |   72 +
 src/ddk750/ddk750_help.h        |   50 +
 src/ddk750/ddk750_hwi2c.c       |  306 ++
 src/ddk750/ddk750_hwi2c.h       |   38 +
 src/ddk750/ddk750_mode.c        |  240 ++
 src/ddk750/ddk750_mode.h        |   64 +
 src/ddk750/ddk750_power.c       |  261 ++
 src/ddk750/ddk750_power.h       |   93 +
 src/ddk750/ddk750_reg.h         | 2618 +++++++++++++++
 src/ddk750/ddk750_sii164.c      |  444 +++
 src/ddk750/ddk750_sii164.h      |  191 ++
 src/ddk750/ddk750_swi2c.c       |  601 ++++
 src/ddk750/ddk750_swi2c.h       |  107 +
 src/ddk750/version.h            |   36 +
 src/drv502/smi_502_crtc.c       |  741 +++++
 src/drv502/smi_502_driver.c     |  795 +++++
 src/drv502/smi_502_driver.h     |  344 ++
 src/drv502/smi_502_hw.c         |  161 +
 src/drv502/smi_502_hw.h         |   51 +
 src/drv502/smi_502_output.c     |  508 +++
 src/drv712/smi_712_crtc.c       | 1563 +++++++++
 src/drv712/smi_712_driver.c     |  672 ++++
 src/drv712/smi_712_driver.h     |  122 +
 src/drv712/smi_712_hw.c         |  602 ++++
 src/drv712/smi_712_hw.h         |  166 +
 src/drv712/smi_712_output.c     |  720 +++++
 src/drv750/smi_750_crtc.c       |  692 ++++
 src/drv750/smi_750_driver.c     |  661 ++++
 src/drv750/smi_750_driver.h     |   85 +
 src/drv750/smi_750_hw.c         |  255 ++
 src/drv750/smi_750_hw.h         |   75 +
 src/drv750/smi_750_output.c     |  385 +++
 src/drv750le/smi_750le_crtc.c   |  324 ++
 src/drv750le/smi_750le_driver.c |  685 ++++
 src/drv750le/smi_750le_driver.h |  774 +++++
 src/drv750le/smi_750le_hw.c     |  172 +
 src/drv750le/smi_750le_hw.h     |   71 +
 src/drv750le/smi_750le_output.c |  234 ++
 src/smi_accel.c                 | 1559 +++++++++-
 src/smi_accel.h                 |  195 ++
 src/smi_common.c                |   32 +
 src/smi_common.h                |  740 +++++
 src/smi_crtc.c                  |  290 ++-
 src/smi_crtc.h                  |   55 +-
 src/smi_dbg.h                   |   51 +
 src/smi_driver.c                | 4098 +++++++++++------------
 src/smi_driver.h                |   98 +
 src/smi_output.c                |  218 +-
 src/smi_output.h                |   45 +
 src/smi_ver.h                   |   42 +
 src/smi_video.c                 | 6828 ++++++++++++++++++++++++---------------
 src/smi_video.h                 |  328 ++-
 src/version.h                   |   38 +
 106 files changed, 40135 insertions(+), 5142 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-siliconmotion-new-driver-initial-patch-2.patch
Type: application/octet-stream
Size: 1652889 bytes
Desc: 0002-siliconmotion-new-driver-initial-patch-2.patch
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120806/464d4355/attachment-0001.obj>


More information about the xorg-devel mailing list