[PATCH 00/16] drm/fb-helper: Move modesetting code to drm_client

Noralf Trønnes noralf at tronnes.org
Tue Mar 26 17:55:30 UTC 2019


This moves the modesetting code from drm_fb_helper to drm_client so it
can be shared by all internal clients.

I have also added a client display abstraction and a bootsplash example
client to show where this might be heading. Hopefully Max Staudt will be
able to pick up his bootsplash work now.

Noralf.

Noralf Trønnes (16):
  drm/fb-helper: Remove unused gamma_size variable
  drm/fb-helper: dpms_legacy(): Only set on connectors in use
  drm/atomic: Move __drm_atomic_helper_disable_plane/set_config()
  drm/fb-helper: No need to cache rotation and sw_rotations
  drm/fb-helper: Remove drm_fb_helper_crtc->{x,y,desired_mode}
  drm/i915/fbdev: Move intel_fb_initial_config() to fbdev helper
  drm/fb-helper: Remove drm_fb_helper_crtc
  drm/fb-helper: Prepare to move out commit code
  drm/fb-helper: Move out commit code
  drm/fb-helper: Remove drm_fb_helper_connector
  drm/fb-helper: Prepare to move out modeset config code
  drm/fb-helper: Move out modeset config code
  drm/fb-helper: Avoid race with DRM userspace
  drm/client: Add display abstraction
  drm/client: Hack: Add bootsplash example
  drm/vc4: Call drm_dev_register() after all setup is done

 Documentation/gpu/todo.rst          |   10 +
 drivers/gpu/drm/Kconfig             |    5 +
 drivers/gpu/drm/Makefile            |    1 +
 drivers/gpu/drm/drm_atomic.c        |  168 ++++
 drivers/gpu/drm/drm_atomic_helper.c |  164 ---
 drivers/gpu/drm/drm_auth.c          |   20 +
 drivers/gpu/drm/drm_bootsplash.c    |  216 ++++
 drivers/gpu/drm/drm_client.c        | 1449 +++++++++++++++++++++++++++
 drivers/gpu/drm/drm_crtc_internal.h |    5 +
 drivers/gpu/drm/drm_drv.c           |    4 +
 drivers/gpu/drm/drm_fb_helper.c     | 1151 ++-------------------
 drivers/gpu/drm/drm_internal.h      |    2 +
 drivers/gpu/drm/i915/intel_fbdev.c  |  218 ----
 drivers/gpu/drm/vc4/vc4_drv.c       |    6 +-
 include/drm/drm_atomic_helper.h     |    4 -
 include/drm/drm_client.h            |  117 +++
 include/drm/drm_fb_helper.h         |  127 +--
 17 files changed, 2128 insertions(+), 1539 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_bootsplash.c

-- 
2.20.1



More information about the dri-devel mailing list