[Intel-gfx] [PATCH v2 0/9] drm/fb-helper: Deferred setup support

Thierry Reding thierry.reding at gmail.com
Tue Jun 7 15:26:16 UTC 2016


From: Thierry Reding <treding at nvidia.com>

This set of patches adds support for deferring FB helper setup, which is
useful to obtain a sane configuration even when no outputs are available
during probe.

One example is HDMI, where fbdev will currently fallback to a 1024x786
resolution if no monitor is connected, and will then forever stay that
way. With these patches, the FB helpers will take note that it doesn't
make sense to setup fbdev yet and will defer until a monitor is
connected, at which point the preferred mode will be selected.

Thierry

Changes in v2:
- now with locking

Thierry Reding (9):
  drm/fb-helper: Cleanup checkpatch warnings
  drm/fb-helper: Reshuffle code for subsequent patches
  drm/fb-helper: Improve code readability
  drm/fb-helper: Push down modeset lock into FB helpers
  drm/fb-helper: Add top-level lock
  drm/fb-helper: Support deferred setup
  drm/atmel-hlcdc: Remove custom FB helper deferred setup
  drm/exynos: Remove custom FB helper deferred setup
  drm/hisilicon: Remove custom FB helper deferred setup

 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c    |  26 +--
 drivers/gpu/drm/drm_fb_helper.c                 | 217 +++++++++++++++++-------
 drivers/gpu/drm/exynos/exynos_drm_drv.c         |   8 +-
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c       |   2 -
 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c |  22 +--
 drivers/gpu/drm/i915/intel_dp_mst.c             |   4 -
 drivers/gpu/drm/radeon/radeon_dp_mst.c          |   7 -
 include/drm/drm_fb_helper.h                     |  26 +++
 8 files changed, 217 insertions(+), 95 deletions(-)

-- 
2.8.3



More information about the Intel-gfx mailing list