Skip to content

Commit 1792cfc

Browse files
wangkaiyuanopsiff
authored andcommitted
drm: Add inspur drm driver
Add Inspur DRM driver for Inspur BMC SoC. Link: https://gitee.com/anolis/cloud-kernel/pulls/3046 Signed-off-by: wangkaiyuan <wangkaiyuan@inspur.com> [ WangYuli: Edit the commit msg. ] Signed-off-by: WangYuli <wangyuli@uniontech.com>
1 parent 928d59e commit 1792cfc

12 files changed

Lines changed: 1330 additions & 0 deletions

File tree

drivers/gpu/drm/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ source "drivers/gpu/drm/phytium/Kconfig"
394394

395395
source "drivers/gpu/drm/arise/Kconfig"
396396

397+
source "drivers/gpu/drm/inspur/Kconfig"
398+
397399
config DRM_HYPERV
398400
tristate "DRM Support for Hyper-V synthetic video device"
399401
depends on DRM && PCI && MMU && HYPERV

drivers/gpu/drm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,4 @@ obj-y += loongson/
202202
obj-$(CONFIG_DRM_PHYTIUM) += phytium/
203203
obj-$(CONFIG_DRM_CIX) += cix/
204204
obj-$(CONFIG_DRM_ARISE) += arise/
205+
obj-$(CONFIG_DRM_INSPUR) += inspur/

drivers/gpu/drm/inspur/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# License: GPL-2.0
2+
#
3+
# inspur drm device configuration.
4+
5+
source "drivers/gpu/drm/inspur/inspur-drm/Kconfig"

drivers/gpu/drm/inspur/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#
2+
# Makefile for inspur drm drivers.
3+
4+
obj-$(CONFIG_DRM_INSPUR) += inspur-drm/
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config DRM_INSPUR
2+
tristate "DRM Support for Inspur BMC"
3+
depends on DRM && PCI && MMU
4+
select DRM_KMS_HELPER
5+
select DRM_VRAM_HELPER
6+
help
7+
Choose this option if you have a Inspur soc chipset.If M is selected the
8+
module will be called inspur - drm.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
inspur-drm-y := inspur_drm_drv.o inspur_drm_de.o inspur_drm_vdac.o inspur_ttm.o
2+
3+
obj-$(CONFIG_DRM_INSPUR) += inspur-drm.o

0 commit comments

Comments
 (0)