OSDN Git Service

drm/sprd: add Unisoc's drm kms master
authorKevin Tang <kevin3.tang@gmail.com>
Tue, 7 Dec 2021 14:27:13 +0000 (22:27 +0800)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 10 Dec 2021 11:36:52 +0000 (12:36 +0100)
commit43531edd53f07cbe977a0b33dea6dd6c29b21fea
tree6324aef8938cbed05acd8a371c9155c44c790fa0
parent35400e5ad48d8d5f6862a375aafb6bf56ad95533
drm/sprd: add Unisoc's drm kms master

Adds drm support for the Unisoc's display subsystem.

This is drm kms driver, this driver provides support for the
application framework in Android, Yocto and more.

Application framework can access Unisoc's display internal
peripherals through libdrm or libkms, it's test ok by modetest
(DRM/KMS test tool) and Android HWComposer.

v4:
  - Move the devm_drm_dev_alloc to master_ops->bind function.
  - The managed drmm_mode_config_init() it is no longer necessary for drivers to explicitly call drm_mode_config_cleanup, so delete it.

v5:
  - Remove subdir-ccflgas-y for Makefile.
  - Keep the selects sorted by alphabet for Kconfig.

Cc: Orson Zhai <orsonzhai@gmail.com>
Cc: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Kevin Tang <kevin.tang@unisoc.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211207142717.30296-3-kevin3.tang@gmail.com
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/sprd/Kconfig [new file with mode: 0644]
drivers/gpu/drm/sprd/Makefile [new file with mode: 0644]
drivers/gpu/drm/sprd/sprd_drm.c [new file with mode: 0644]
drivers/gpu/drm/sprd/sprd_drm.h [new file with mode: 0644]