Skip to content

Commit

Permalink
drm/tinydrm: Add helper functions
Browse files Browse the repository at this point in the history
Add common functionality needed by many tinydrm drivers.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Noralf Trønnes committed Feb 18, 2017
1 parent fa201ac commit 9f69eb5
Show file tree
Hide file tree
Showing 5 changed files with 572 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Documentation/gpu/tinydrm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,12 @@ Core functionality

.. kernel-doc:: drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
:export:

Additional helpers
==================

.. kernel-doc:: include/drm/tinydrm/tinydrm-helpers.h
:internal:

.. kernel-doc:: drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
:export:
2 changes: 2 additions & 0 deletions drivers/gpu/drm/tinydrm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ menuconfig DRM_TINYDRM
depends on DRM
select DRM_KMS_HELPER
select DRM_KMS_CMA_HELPER
select BACKLIGHT_LCD_SUPPORT
select BACKLIGHT_CLASS_DEVICE
help
Choose this option if you have a tinydrm supported display.
If M is selected the module will be called tinydrm.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/tinydrm/core/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tinydrm-y := tinydrm-core.o tinydrm-pipe.o
tinydrm-y := tinydrm-core.o tinydrm-pipe.o tinydrm-helpers.o

obj-$(CONFIG_DRM_TINYDRM) += tinydrm.o
Loading

0 comments on commit 9f69eb5

Please sign in to comment.