]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit40c23f598819a20909df4a6323f59e6831ef0450
tree6324aef8938cbed05acd8a371c9155c44c790fa0
parent222086f45fc7decd6cd9f9a707114ac8d42991bd
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]