Tian Tao
552a77bab3
drm/hisilicon: Delete the entire file hibmc_ttm.c
...
Delete the entire file hibmc_ttm.c. drmm_vram_helper_init() can be
called directly from hibmc_load(). hibmc_dumb_create() and
hibmc_mode_funcs can go to hibmc_drm_drv.c
v2:
change Deletted to Delete
Signed-off-by: Tian Tao <tiantao6@hisilicon.com >
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de >
Link: https://patchwork.freedesktop.org/patch/msgid/1607044999-47666-13-git-send-email-tiantao6@hisilicon.com
2020-12-04 06:02:22 -05:00
Tian Tao
4eb4d99dfe
drm/hisilicon: Support i2c driver algorithms for bit-shift adapters
...
Adding driver implementation to support i2c driver algorithms for
bit-shift adapters, so hibmc will using the interface provided by
drm to read edid.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com >
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de >
Link: https://patchwork.freedesktop.org/patch/msgid/1600778670-60370-2-git-send-email-tiantao6@hisilicon.com
2020-09-24 20:30:05 -04:00
Thomas Zimmermann
a88248506a
drm/hisilicon/hibmc: Switch to generic fbdev emulation
...
There's nothing special about hibmc's fbdev emulation that is not
provided by the generic implementation. Switch over and remove the
driver's code.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de >
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Link: https://patchwork.freedesktop.org/patch/msgid/20191203083819.6643-2-tzimmermann@suse.de
2020-01-06 13:45:38 +01:00
Thomas Gleixner
ec8f24b7fa
treewide: Add SPDX license identifier - Makefile/Kconfig
...
Add SPDX license identifiers to all Make/Kconfig files which:
- Have no license information of any form
These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:
GPL-2.0-only
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-05-21 10:50:46 +02:00
Masahiro Yamada
385157d9fa
drm/hisilicon: fix include notation and remove -Iinclude/drm flag
...
Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-9-git-send-email-yamada.masahiro@socionext.com
2017-05-17 14:35:22 +02:00
Rongrong Zou
5294967f4a
drm/hisilicon/hibmc: Add support for VDAC
...
VDAC(Video Digital-to-Analog converter) converts the RGB diaital data
stream from DE to VGA analog signals.
Signed-off-by: Rongrong Zou <zourongrong@gmail.com >
Reviewed-by: Sean Paul <seanpaul@chromium.org >
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org >
Acked-by: Sean Paul <seanpaul@chromium.org >
2016-11-17 15:26:26 +08:00
Rongrong Zou
da52605eea
drm/hisilicon/hibmc: Add support for display engine
...
Add display engine function, crtc/plane is initialized here.
Signed-off-by: Rongrong Zou <zourongrong@gmail.com >
Reviewed-by: Sean Paul <seanpaul@chromium.org >
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org >
Acked-by: Sean Paul <seanpaul@chromium.org >
2016-11-17 15:26:25 +08:00
Rongrong Zou
d1667b8679
drm/hisilicon/hibmc: Add support for frame buffer
...
Add support for fbdev and kms fb management.
Signed-off-by: Rongrong Zou <zourongrong@gmail.com >
Reviewed-by: Sean Paul <seanpaul@chromium.org >
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org >
Acked-by: Sean Paul <seanpaul@chromium.org >
2016-11-17 15:26:25 +08:00
Rongrong Zou
e4daebc77e
drm/hisilicon/hibmc: Add video memory management
...
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 <zourongrong@gmail.com >
Reviewed-by: Sean Paul <seanpaul@chromium.org >
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org >
Acked-by: Sean Paul <seanpaul@chromium.org >
2016-11-17 15:26:24 +08:00
Rongrong Zou
5e0df3a08f
drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver
...
Add DRM master driver for Hisilicon Hibmc SoC which used for
Out-of-band management. Blow is the general hardware connection,
both the Hibmc and the host CPU are on the same mother board.
+----------+ +----------+
| | PCIe | Hibmc |
|host CPU( |<----->| display |
|arm64,x86)| |subsystem |
+----------+ +----------+
Signed-off-by: Rongrong Zou <zourongrong@gmail.com >
Reviewed-by: Sean Paul <seanpaul@chromium.org >
Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org >
Acked-by: Sean Paul <seanpaul@chromium.org >
2016-11-17 15:26:24 +08:00