Skip to content

Commit 7520a27

Browse files
committed
drm: Extract drm_framebuffer.[hc]
Also start with drm_modeset.h with the core bits, since we need to untangle this mess somehow. That allows us to move the drm_modes.h include to the right spot, except for the temporary connector status enum. That will get fixed as soon as drm_connector.h exists. v2: Rebase. v3: Move drm_crtc_force_disable_all back again, that wasn't meant to be moved (Sean). v4: Rebase. Cc: Sean Paul <seanpaul@chromium.org> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent 5d070be commit 7520a27

9 files changed

Lines changed: 1075 additions & 958 deletions

File tree

‎Documentation/gpu/drm-kms.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ fbdev framebuffer when the struct :c:type:`struct drm_framebuffer
6464
drivers can manually clean up a framebuffer at module unload time with
6565
:c:func:`drm_framebuffer_unregister_private()`.
6666

67+
Frame Buffer Functions Reference
68+
--------------------------------
69+
70+
.. kernel-doc:: drivers/gpu/drm/drm_framebuffer.c
71+
:export:
72+
73+
.. kernel-doc:: include/drm/drm_framebuffer.h
74+
:internal:
75+
6776
DRM Format Handling
6877
===================
6978

‎drivers/gpu/drm/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ drm-y := drm_auth.o drm_bufs.o drm_cache.o \
1212
drm_info.o drm_debugfs.o drm_encoder_slave.o \
1313
drm_trace_points.o drm_global.o drm_prime.o \
1414
drm_rect.o drm_vma_manager.o drm_flip_work.o \
15-
drm_modeset_lock.o drm_atomic.o drm_bridge.o
15+
drm_modeset_lock.o drm_atomic.o drm_bridge.o \
16+
drm_framebuffer.o
1617

1718
drm-$(CONFIG_COMPAT) += drm_ioc32.o
1819
drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o

0 commit comments

Comments
 (0)