[GIT PULL] hisilicon hibmc DRM driver for 4.10

2016-11-17 Thread Rongrong Zou
6:27 +0800) hibmc drm driver for hisilicon. ---- Rongrong Zou (7): drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver drm/hisilicon/hibmc: Add video memory management

[GIT PULL] hisilicon hibmc DRM driver for 4.10

2016-11-17 Thread Rongrong Zou
6:27 +0800) hibmc drm driver for hisilicon. ---- Rongrong Zou (7): drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver drm/hisilicon/hibmc: Add video memory management

[PATCH v7 0/7] Add DRM driver for Hisilicon Hibmc

2016-11-17 Thread Rongrong Zou
在 2016/11/17 0:02, Sean Paul 写道: > On Wed, Nov 16, 2016 at 11:01 AM, Sean Paul wrote: >> On Wed, Nov 16, 2016 at 8:43 AM, Rongrong Zou >> wrote: >>> This patch set adds a new drm driver for Hisilicon Hibmc. Hibmc is a >>> BMC SoC with a display controlle

[PATCH v7 1/7] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-11-17 Thread Rongrong Zou
Hi Sean, Thanks for reviewing. 在 2016/11/16 23:42, Sean Paul 写道: > On Wed, Nov 16, 2016 at 8:43 AM, Rongrong Zou > wrote: >> Add DRM master driver for Hisilicon Hibmc SoC which used for >> Out-of-band management. Blow is the general hardware connection, >> both th

[PATCH v7 7/7] MAINTAINERS: Update HISILICON DRM entries

2016-11-16 Thread Rongrong Zou
Signed-off-by: Rongrong Zou --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2a58eea..84a7296 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4123,6 +4123,7 @@ F:drivers/gpu/drm/gma500/ DRM DRIVERS FOR HISILICON M: Xinliang Liu +M

[PATCH v7 6/7] drm/hisilicon/hibmc: Add support for vblank interrupt

2016-11-16 Thread Rongrong Zou
Add vblank interrupt. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 56 - drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 1 + 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc

[PATCH v7 5/7] drm/hisilicon/hibmc: Add support for VDAC

2016-11-16 Thread Rongrong Zou
VDAC(Video Digital-to-Analog converter) converts the RGB diaital data stream from DE to VGA analog signals. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 + drivers/gpu/drm/hisilicon/hibmc

[PATCH v7 4/7] drm/hisilicon/hibmc: Add support for display engine

2016-11-16 Thread Rongrong Zou
Add display engine function, crtc/plane is initialized here. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 477 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 69

[PATCH v7 3/7] drm/hisilicon/hibmc: Add support for frame buffer

2016-11-16 Thread Rongrong Zou
Add support for fbdev and kms fb management. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 7 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 24 ++ drivers/gpu/drm/hisilicon/hibmc

[PATCH v7 2/7] drm/hisilicon/hibmc: Add video memory management

2016-11-16 Thread Rongrong Zou
Hibmc have 32m video memory which can be accessed through PCIe by host, we use ttm to manage these memory. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 14 + drivers/gpu/drm/hisilicon/hibmc

[PATCH v7 1/7] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-11-16 Thread Rongrong Zou
64,x86)| |subsystem | +--+ +--+ Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/Kconfig| 1 + drivers/gpu/drm/hisilicon/Makefile | 1 + drivers/gpu/drm/hisilicon/hibmc/Kconfig | 9 + drivers/gpu/drm/hisilicon/hibmc/Ma

[PATCH v7 0/7] Add DRM driver for Hisilicon Hibmc

2016-11-16 Thread Rongrong Zou
hives/dri-devel/2016-May/108661.html Rongrong Zou (7): drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver drm/hisilicon/hibmc: Add video memory management drm/hisilicon/hibmc: Add support for frame buffer drm/hisilicon/hibmc: Add support for display engine drm/hisilicon/hibmc:

[PATCH v6 8/9] drm/hisilicon/hibmc: Add vblank interruput

2016-11-14 Thread Rongrong Zou
在 2016/11/11 9:49, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:28 AM, Rongrong Zou > wrote: >> Add vblank interrupt. >> >> Signed-off-by: Rongrong Zou >> --- >> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 56 >>

[PATCH v6 7/9] drm/hisilicon/hibmc: Add connector for VDAC

2016-11-14 Thread Rongrong Zou
在 2016/11/11 9:45, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:28 AM, Rongrong Zou > wrote: >> Add connector funcs and helper funcs for VDAC. >> >> Signed-off-by: Rongrong Zou >> --- >> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 8 +++

[PATCH v6 6/9] drm/hisilicon/hibmc: Add encoder for VDAC

2016-11-12 Thread Rongrong Zou
在 2016/11/11 6:20, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou > wrote: >> Add encoder funcs and helpers for VDAC. >> >> Signed-off-by: Rongrong Zou >> --- >> drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- >> drive

[PATCH v6 5/9] drm/hisilicon/hibmc: Add crtc for DE

2016-11-12 Thread Rongrong Zou
在 2016/11/11 6:14, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou > wrote: >> Add crtc funcs and helper funcs for DE. >> >> Signed-off-by: Rongrong Zou >> --- >> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 318 >> +++

[PATCH v6 4/9] drm/hisilicon/hibmc: Add plane for DE

2016-11-12 Thread Rongrong Zou
在 2016/11/11 5:53, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou > wrote: >> Add plane funcs and helper funcs for DE. >> >> Signed-off-by: Rongrong Zou >> --- >> drivers/gpu/drm/hisilicon/hibmc/Kconfig | 1 + >>

[PATCH v6 2/9] drm/hisilicon/hibmc: Add video memory management

2016-11-11 Thread Rongrong Zou
在 2016/11/11 21:25, Sean Paul 写道: > On Fri, Nov 11, 2016 at 6:16 AM, Rongrong Zou > wrote: >> 在 2016/11/11 1:35, Sean Paul 写道: >>> >>> On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou >>> wrote: >>>> >>>> Hibmc have 32m v

[PATCH v6 3/9] drm/hisilicon/hibmc: Add support for frame buffer

2016-11-11 Thread Rongrong Zou
在 2016/11/11 2:30, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou > wrote: >> Add support for fbdev and kms fb management. >> >> Signed-off-by: Rongrong Zou >> --- >> drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +-

[PATCH v6 2/9] drm/hisilicon/hibmc: Add video memory management

2016-11-11 Thread Rongrong Zou
在 2016/11/11 1:35, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou > wrote: >> Hibmc have 32m video memory which can be accessed through PCIe by host, >> we use ttm to manage these memory. >> >> Signed-off-by: Rongrong Zou >> --- >>

[PATCH v6 1/9] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-11-11 Thread Rongrong Zou
Hi Sean, Thanks for reviewing! All comments is helpful. 在 2016/11/11 1:35, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou > wrote: >> Add DRM master driver for Hisilicon Hibmc SoC which used for >> Out-of-band management. Blow is the general hardware c

[PATCH] drm: update the documentation of drm_framebuffer_unregister_private

2016-10-31 Thread Rongrong Zou
Add obvious description to drm_framebuffer_unregister_private() to explain it is deprecated. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/drm_framebuffer.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/drm_framebuffer.c b/drivers/gpu/drm/drm_framebuffer.c index

[PATCH v5 3/9] drm/hisilicon/hibmc: Add support for frame buffer

2016-10-27 Thread Rongrong Zou
在 2016/10/26 20:59, Daniel Vetter 写道: > On Wed, Oct 26, 2016 at 05:19:31PM +0800, Rongrong Zou wrote: >> Hi Daniel, >> >> Thansk for reviewing! >> >> 在 2016/10/26 13:56, Daniel Vetter 写道: >>> On Wed, Oct 26, 2016 at 10:37:00AM +0800, Rongrong

[PATCH v5 3/9] drm/hisilicon/hibmc: Add support for frame buffer

2016-10-26 Thread Rongrong Zou
Hi Daniel, Thansk for reviewing! 在 2016/10/26 13:56, Daniel Vetter 写道: > On Wed, Oct 26, 2016 at 10:37:00AM +0800, Rongrong Zou wrote: >> Add support for fbdev and kms fb management. >> >> Signed-off-by: Rongrong Zou > > Small drive-by comment below. > &

[PATCH v5 9/9] MAINTAINERS: Update HISILICON DRM entries

2016-10-26 Thread Rongrong Zou
Signed-off-by: Rongrong Zou --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c447953..cc5ee3a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4117,6 +4117,7 @@ F:drivers/gpu/drm/gma500/ DRM DRIVERS FOR HISILICON M: Xinliang Liu +M

[PATCH v5 8/9] drm/hisilicon/hibmc: Add vblank interruput

2016-10-26 Thread Rongrong Zou
Add vblank interrupt. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 47 - 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

[PATCH v5 7/9] drm/hisilicon/hibmc: Add connector for VDAC

2016-10-26 Thread Rongrong Zou
Add connector funcs and helper funcs for VDAC. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 8 +++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 76 3 files changed, 86

[PATCH v5 6/9] drm/hisilicon/hibmc: Add encoder for VDAC

2016-10-26 Thread Rongrong Zou
Add encoder funcs and helpers for VDAC. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c

[PATCH v5 5/9] drm/hisilicon/hibmc: Add crtc for DE

2016-10-26 Thread Rongrong Zou
Add crtc funcs and helper funcs for DE. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 318 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + 3 files changed, 326

[PATCH v5 4/9] drm/hisilicon/hibmc: Add plane for DE

2016-10-26 Thread Rongrong Zou
Add plane funcs and helper funcs for DE. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Kconfig | 1 + drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 170 drivers/gpu/drm/hisilicon

[PATCH v5 3/9] drm/hisilicon/hibmc: Add support for frame buffer

2016-10-26 Thread Rongrong Zou
Add support for fbdev and kms fb management. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 17 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 25 +++ drivers/gpu/drm/hisilicon/hibmc

[PATCH v5 2/9] drm/hisilicon/hibmc: Add video memory management

2016-10-26 Thread Rongrong Zou
Hibmc have 32m video memory which can be accessed through PCIe by host, we use ttm to manage these memory. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Kconfig | 1 + drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc

[PATCH v5 1/9] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-10-26 Thread Rongrong Zou
64,x86)| |subsystem | +--+ +--+ Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/Kconfig | 1 + drivers/gpu/drm/hisilicon/Makefile| 1 + drivers/gpu/drm/hisilicon/hibmc/Kconfig | 7 + drivers/gpu/drm/hisilicon

[PATCH v5 0/9] Add DRM driver for Hisilicon Hibmc

2016-10-26 Thread Rongrong Zou
-Replace those deprecated functions with new version of them. -use drm_connector_register_all() to register connector after drm_dev_register(). The patch v2 is at https://lists.freedesktop.org/archives/dri-devel/2016-May/108661.html Rongrong Zou (9): drm/hisilicon/hibmc: Add hisilicon hibmc dr

[PATCH v4 3/9] drm/hisilicon/hibmc: Add support for frame buffer

2016-10-18 Thread Rongrong Zou
Hi Daniel, Thanks for your review! 在 2016/10/18 15:49, Daniel Vetter 写道: > On Tue, Oct 18, 2016 at 12:01:18PM +0800, Rongrong Zou wrote: >> Add support for fbdev and framebuffer. >> >> Signed-off-by: Rongrong Zou >> --- >> drivers/gpu/drm/hisili

[PATCH v4 9/9] MAINTAINERS: Update HISILICON DRM entries

2016-10-18 Thread Rongrong Zou
Signed-off-by: Rongrong Zou --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1cd38a7..c063c9b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4117,6 +4117,7 @@ F:drivers/gpu/drm/gma500/ DRM DRIVERS FOR HISILICON M: Xinliang Liu +M

[PATCH v4 8/9] drm/hisilicon/hibmc: Add vblank interruput

2016-10-18 Thread Rongrong Zou
Add vblank interrupt. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 47 - 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

[PATCH v4 7/9] drm/hisilicon/hibmc: Add connector for VDAC

2016-10-18 Thread Rongrong Zou
Add connector funcs and helper funcs for VDAC. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 8 +++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 76 3 files changed, 86

[PATCH v4 6/9] drm/hisilicon/hibmc: Add encoder for VDAC

2016-10-18 Thread Rongrong Zou
Add encoder funcs and helpers for VDAC. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c

[PATCH v4 5/9] drm/hisilicon/hibmc: Add crtc for DE

2016-10-18 Thread Rongrong Zou
Add crtc funcs and helper funcs for DE. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 318 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + 3 files changed, 326

[PATCH v4 4/9] drm/hisilicon/hibmc: Add plane for DE

2016-10-18 Thread Rongrong Zou
Add plane funcs and helper funcs for DE. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Kconfig | 1 + drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 171 drivers/gpu/drm/hisilicon

[PATCH v4 3/9] drm/hisilicon/hibmc: Add support for frame buffer

2016-10-18 Thread Rongrong Zou
Add support for fbdev and framebuffer. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 25 +++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 25 +++ drivers/gpu/drm/hisilicon/hibmc

[PATCH v4 2/9] drm/hisilicon/hibmc: Add video memory management

2016-10-18 Thread Rongrong Zou
Hibmc have 32m video memory which can be accessed through PCIe by host, we use ttm to manage these memory. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Kconfig | 1 + drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc

[PATCH v4 1/9] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-10-18 Thread Rongrong Zou
64,x86)| |subsystem | +--+ +--+ Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/Kconfig | 1 + drivers/gpu/drm/hisilicon/Makefile| 1 + drivers/gpu/drm/hisilicon/hibmc/Kconfig | 7 + drivers/gpu/drm/hisilicon

[PATCH v4 0/9] Add DRM driver for Hisilicon Hibmc

2016-10-18 Thread Rongrong Zou
freedesktop.org/archives/dri-devel/2016-May/108661.html Rongrong Zou (9): drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver drm/hisilicon/hibmc: Add video memory management drm/hisilicon/hibmc: Add support for frame buffer drm/hisilicon/hibmc: Add plane for DE drm/hisilicon/hibmc:

[PATCH v3 1/9] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-10-14 Thread Rongrong Zou
e TTM. > > 2016-10-14 16:44 GMT+02:00 Rongrong Zou : >> Hi Benjamin, >> >> Thanks for reviewing! >> >> Benjamin Gaignard 於 2016/10/14 16:29 寫道: >>> >>> [snip] >>> >>>> --- /dev/null >>>> +++ b/drivers/gpu/d

[PATCH v3 1/9] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-10-14 Thread Rongrong Zou
mode 100644 >> index 000..52c9353 >> --- /dev/null >> +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c >> @@ -0,0 +1,288 @@ >> +/* Hisilicon Hibmc SoC drm driver >> + * >> + * Based on the bochs drm driver. >> + * >> + * Copyright (c) 2016

[PATCH v3 9/9] MAINTAINERS: Update HISILICON DRM entries

2016-10-13 Thread Rongrong Zou
Signed-off-by: Rongrong Zou --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4347bce..16f4569 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4117,6 +4117,7 @@ F:drivers/gpu/drm/gma500/ DRM DRIVERS FOR HISILICON M: Xinliang Liu +M

[PATCH v3 8/9] drm/hisilicon/hibmc: Add vblank interruput

2016-10-13 Thread Rongrong Zou
Add vblank interrupt. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 47 - 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

[PATCH v3 7/9] drm/hisilicon/hibmc: Add connector for VDAC

2016-10-13 Thread Rongrong Zou
Add connector funcs and helper funcs for VDAC. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 8 +++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 82 3 files changed, 92

[PATCH v3 6/9] drm/hisilicon/hibmc: Add encoder for VDAC

2016-10-13 Thread Rongrong Zou
Add encoder funcs and helpers for VDAC. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c

[PATCH v3 5/9] drm/hisilicon/hibmc: Add crtc for DE

2016-10-13 Thread Rongrong Zou
Add crtc funcs and helper funcs for DE. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 318 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + 3 files changed, 326

[PATCH v3 4/9] drm/hisilicon/hibmc: Add plane for DE

2016-10-13 Thread Rongrong Zou
Add plane funcs and helper funcs for DE. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 188 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.h | 29 drivers/gpu/drm

[PATCH v3 3/9] drm/hisilicon/hibmc: Add support for frame buffer

2016-10-13 Thread Rongrong Zou
Add support for fbdev and kms fb management. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 18 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 24 ++ drivers/gpu/drm/hisilicon/hibmc

[PATCH v3 2/9] drm/hisilicon/hibmc: Add video memory management

2016-10-13 Thread Rongrong Zou
Hibmc have 32m video memory which can be accessed through PCIe by host, we use ttm to manage these memory. Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 12 +- drivers/gpu/drm/hisilicon/hibmc

[PATCH v3 1/9] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-10-13 Thread Rongrong Zou
64,x86)| |subsystem | +--+ +--+ Signed-off-by: Rongrong Zou --- drivers/gpu/drm/hisilicon/Kconfig | 1 + drivers/gpu/drm/hisilicon/Makefile| 1 + drivers/gpu/drm/hisilicon/hibmc/Kconfig | 15 ++ drivers/gpu/drm/hisilicon

[PATCH v3 0/9] Add DRM driver for Hisilicon Hibmc

2016-10-13 Thread Rongrong Zou
connector after drm_dev_register(). The patch v2 is at https://lists.freedesktop.org/archives/dri-devel/2016-May/108661.html There are too many modifications, sorry for sending v3 sevaral months later. Rongrong Zou (9): drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver drm/hisilicon/hibmc: A

[question]Implemention of drm_driver.dumb_create

2016-09-06 Thread Rongrong Zou
Hi, all I want to implement memory management for my new drm driver, it is for a display controller attached to PCIe bus of our SOC, however, I found two kind of implementions in existing kernel drivers: one is implemented with gem + ttm, such as bochs/cirrus/amdgpu, the other is implemented

[path v2 1/7] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-05-30 Thread Rongrong Zou
Sorry, forgot to add daniel at ffwll.ch to sendto list. 在 2016/5/30 20:09, Rongrong Zou 写道: > Hi Daniel, > Thanks for reveiwing! > > 在 2016/5/30 17:03, Daniel Vetter 写道: >> On Sun, May 29, 2016 at 05:40:49PM +0800, Rongrong Zou wrote: >>> Add DRM master dri

[path v2 1/7] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-05-30 Thread Rongrong Zou
Hi Daniel, Thanks for reveiwing! 在 2016/5/30 17:03, Daniel Vetter 写道: > On Sun, May 29, 2016 at 05:40:49PM +0800, Rongrong Zou wrote: >> Add DRM master driver for Hisilicon Hibmc SoC which used for >> Out-of-band management. Blow is the general hardware connection, >> b

[path v2 7/7] drm/hisilicon/hibmc: Add maintainer for Hibmc DRM

2016-05-30 Thread Rongrong Zou
Hi Xinliang, 在 2016/5/30 10:31, Xinliang Liu 写道: > On 29 May 2016 at 17:40, Rongrong Zou wrote: >> Signed-off-by: Rongrong Zou >> Signed-off-by: Jianhua Li >> --- >> MAINTAINERS | 7 +++ >> 1 file changed, 7 insertions(+) >> >> di

[path v2 0/7] Add DRM driver for Hisilicon Hibmc

2016-05-30 Thread Rongrong Zou
-strict yourpatches I run checkpatch.pl without "--strict", and i'll check again with this parameter, thanks! > > Thanks, > -xinliang > > On 29 May 2016 at 17:40, Rongrong Zou wrote: >> This patch set adds a new drm driver for Hisilicon Hibmc. Hibmc is a >> base

[path v2 7/7] drm/hisilicon/hibmc: Add maintainer for Hibmc DRM

2016-05-29 Thread Rongrong Zou
Signed-off-by: Rongrong Zou Signed-off-by: Jianhua Li --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f466673..a8a62e0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3957,6 +3957,13 @@ T: git git://github.com/patjak/drm-gma500 S

[path v2 6/7] drm/hisilicon/hibmc: Add support for frame buffer

2016-05-29 Thread Rongrong Zou
Add support for fbdev. Signed-off-by: Rongrong Zou Signed-off-by: Jianhua Li --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 20 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 17 ++ drivers/gpu/drm/hisilicon/hibmc

[path v2 5/7] drm/hisilicon/hibmc: Add connector for VDAC

2016-05-29 Thread Rongrong Zou
Add connector funcs and helper funcs for VDAC. Signed-off-by: Rongrong Zou Signed-off-by: Jianhua Li --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 21 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 3 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 89

[path v2 4/7] drm/hisilicon/hibmc: Add encoder for VDAC

2016-05-29 Thread Rongrong Zou
Add encoder funcs and helpers for VDAC. Signed-off-by: Rongrong Zou Signed-off-by: Jianhua Li --- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 ++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + drivers/gpu/drm

[path v2 3/7] drm/hisilicon/hibmc: Add crtc for DE

2016-05-29 Thread Rongrong Zou
Add crtc funcs and helper funcs for DE. Signed-off-by: Rongrong Zou Signed-off-by: Jianhua Li --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 307 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.h | 29 +++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6

[path v2 2/7] drm/hisilicon/hibmc: Add plane for DE

2016-05-29 Thread Rongrong Zou
Add plane funcs and helper funcs for DE. Signed-off-by: Rongrong Zou Signed-off-by: Jianhua Li --- drivers/gpu/drm/hisilicon/hibmc/Makefile| 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 170 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 41

[path v2 1/7] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-05-29 Thread Rongrong Zou
64,x86)| |subsystem | +--+ +--+ Signed-off-by: Rongrong Zou Signed-off-by: Jianhua Li --- drivers/gpu/drm/hisilicon/Kconfig | 1 + drivers/gpu/drm/hisilicon/Makefile| 3 +- drivers/gpu/drm/hisilicon/hibmc/Kconfig | 13 + d

[path v2 0/7] Add DRM driver for Hisilicon Hibmc

2016-05-29 Thread Rongrong Zou
of them. -use drm_connector_register_all() to register connector after drm_dev_register(). The patch v1 is at https://lists.freedesktop.org/archives/dri-devel/2016-February/101921.html Sorry for too late sending. Rongrong Zou (7): idrm/hisilicon/hibmc: Add hisilicon hibmc drm master driver drm/hisilicon/h

[PATCH 1/7] drm/hisilicon:Add hisilicon hibmc master driver.

2016-03-01 Thread Rongrong Zou
Hi, Emil Thanks for reviewing this path. 在 2016/2/29 17:40, Emil Velikov 写道: > On 29 February 2016 at 00:58, lijianhua wrote: >> Add hibmc DRM master driver for hi1710 which used in arm64 board. >> > Would be nice to give examples of what "arm64 board" this hardware is > presently available