Add DRM driver for Hisilicon hi1710

Submitted by lijianhua on Feb. 29, 2016, 12:58 a.m.

Details

Reviewer None
Submitted Feb. 29, 2016, 12:58 a.m.
Last Updated Feb. 29, 2016, 8:26 a.m.
Revision 1

Cover Letter(s)

Revision 1
      This patch set adds a new drm driver for Hisilicon hi1710.
hi1710 is an BMC controller, and now we use it in arm64 board.
In this patch set, we just support basic function for hi1710 display subsystem.
hi1710 display subsytem is connected to arm64 by PCIe as bellow:

+---------+        +-----------+
|         |  PCIe  |   hi1710  |
|  arm64  |<------>|  display  |
|         |        | subsystem |
+---------+        +-----------+

Hardware Detail for hi1710 display subsystem
--------
  The display sybsystem of hi1710 is show as bellow:
  +----+     +------+     +------+     +------------+
  |    |     |      |     |      |     |            |
  | FB |---->|  DE  |---->| VDAC |---->|  External  |
  |    |     |      |     |      |     |    VGA     |
  +----+     +------+     +------+     +------------+

 - DE(Display Engine) is the display controller.
 - VDAC(Video Digital-to-Analog Converter) converts the RGB digital data stream 
 from DE to VGA analog signals. 

lijianhua (7):
  drm/hisilicon:Add hisilicon hibmc master driver.
  drm/hisilicon:Add plane for DE
  drm/hisilicon:Add crtc for DE
  drm/hisilicon:Add encoder for VDAC
  drm/hisilicon:Add connector for VDAC
  drm/hisilicon:Add fbdev
  MAINTAINERS:Add maintainer for hibmc DRM driver

 MAINTAINERS                                       |   7 +
 drivers/gpu/drm/Kconfig                           |   2 +
 drivers/gpu/drm/Makefile                          |   1 +
 drivers/gpu/drm/hisilicon/Kconfig                 |   4 +
 drivers/gpu/drm/hisilicon/Makefile                |   4 +
 drivers/gpu/drm/hisilicon/hibmc/Kconfig           |  13 +
 drivers/gpu/drm/hisilicon/hibmc/Makefile          |   5 +
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c    | 437 +++++++++++++++++++
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.h    |  20 +
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c   | 374 +++++++++++++++++
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h   |  56 +++
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c | 290 +++++++++++++
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_hw.c    |  83 ++++
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_hw.h    | 484 ++++++++++++++++++++++
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c  | 162 ++++++++
 15 files changed, 1942 insertions(+)
 create mode 100644 drivers/gpu/drm/hisilicon/Kconfig
 create mode 100644 drivers/gpu/drm/hisilicon/Makefile
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/Kconfig
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/Makefile
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.h
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_hw.c
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_hw.h
 create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c
    

Revisions