Skip to content

Commit

Permalink
drm/sprd: add Unisoc's drm display controller driver
Browse files Browse the repository at this point in the history
Adds DPU(Display Processor Unit) support for the Unisoc's display subsystem.
It's support multi planes, scaler, rotation, PQ(Picture Quality) and more.

RFC v7:
  - Remove plane_update stuff, dpu handles all the HW update in crtc->atomic_flush

RFC v6:
  - Access registers via readl/writel
  - Checking for unsupported KMS properties (format, rotation, blend_mode, etc) on plane_check ops
  - Remove always true checks for dpu core ops

Cc: Orson Zhai <orsonzhai@gmail.com>
Cc: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Kevin Tang <kevin.tang@unisoc.com>
  • Loading branch information
Kevin Tang authored and intel-lab-lkp committed Sep 28, 2020
1 parent 7ef0ab8 commit 3f94336
Show file tree
Hide file tree
Showing 7 changed files with 1,337 additions and 2 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/sprd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ config DRM_SPRD
depends on ARCH_SPRD || COMPILE_TEST
depends on DRM && OF
select DRM_KMS_HELPER
select VIDEOMODE_HELPERS
select DRM_GEM_CMA_HELPER
select DRM_KMS_CMA_HELPER
select DRM_MIPI_DSI
Expand Down
6 changes: 4 additions & 2 deletions drivers/gpu/drm/sprd/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: GPL-2.0

subdir-ccflags-y += -I$(srctree)/$(src)
obj-y := sprd_drm.o \
sprd_dpu.o

obj-y += dpu_r2p0.o

obj-y := sprd_drm.o
Loading

0 comments on commit 3f94336

Please sign in to comment.