[PATCH 0/5] build fixes to make fbdev optional

Daniel Vetter daniel.vetter at ffwll.ch
Wed Aug 10 16:52:33 UTC 2016


0-day has been annoying me lately with a constant trickle of build failures with
a few drivers when DRM_FBDEV_EMULATION is not set. This series here should fix
them all I hope.
-Daniel

Daniel Vetter (5):
  drm/fb-helper: Add a dummy remove_conflicting_framebuffers
  drm: Remove superflous linux/fb.h includes
  drm/vmwgfx: select CONFIG_FB
  drm/radeon|amgpu: Make fbdev emulation optional
  drm: Protect fb_defio in drivers with CONFIG_KMS_FBDEV_EMULATION

 drivers/gpu/drm/Kconfig                                    |  8 --------
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c                    |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c                     |  1 -
 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c           |  1 -
 drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c      |  1 -
 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c           |  1 -
 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c          |  1 -
 .../gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c    |  1 -
 drivers/gpu/drm/armada/armada_fbdev.c                      |  1 -
 drivers/gpu/drm/ast/ast_fb.c                               |  1 -
 drivers/gpu/drm/bochs/bochs.h                              |  1 -
 drivers/gpu/drm/bochs/bochs_drv.c                          |  3 ++-
 drivers/gpu/drm/bridge/parade-ps8622.c                     |  1 -
 drivers/gpu/drm/cirrus/cirrus_drv.c                        |  2 +-
 drivers/gpu/drm/cirrus/cirrus_fbdev.c                      |  2 --
 drivers/gpu/drm/drm_fb_helper.c                            |  1 -
 drivers/gpu/drm/gma500/accel_2d.c                          |  1 -
 drivers/gpu/drm/gma500/framebuffer.c                       |  1 -
 drivers/gpu/drm/gma500/psb_intel_modes.c                   |  1 -
 drivers/gpu/drm/i915/i915_drv.c                            |  2 +-
 drivers/gpu/drm/i915/intel_fbdev.c                         |  1 -
 drivers/gpu/drm/i915/intel_modes.c                         |  1 -
 drivers/gpu/drm/imx/imx-drm-core.c                         |  1 -
 drivers/gpu/drm/imx/ipuv3-crtc.c                           |  1 -
 drivers/gpu/drm/mgag200/mgag200_drv.c                      |  2 +-
 drivers/gpu/drm/mgag200/mgag200_fb.c                       |  2 --
 drivers/gpu/drm/mgag200/mgag200_main.c                     |  2 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c                      |  2 +-
 drivers/gpu/drm/nouveau/nouveau_fbcon.c                    |  1 -
 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c            |  1 -
 drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c    |  1 -
 drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c    |  1 -
 drivers/gpu/drm/qxl/qxl_fb.c                               |  5 ++++-
 drivers/gpu/drm/radeon/radeon_drv.c                        |  3 ++-
 drivers/gpu/drm/radeon/radeon_fb.c                         |  3 +--
 drivers/gpu/drm/sun4i/sun4i_drv.c                          |  3 ++-
 drivers/gpu/drm/udl/udl_fb.c                               |  4 ++++
 drivers/gpu/drm/vc4/vc4_drv.c                              |  3 ++-
 drivers/gpu/drm/virtio/virtgpu_drm_bus.c                   |  3 ++-
 drivers/gpu/drm/vmwgfx/Kconfig                             |  1 +
 include/drm/drm_fb_helper.h                                | 14 ++++++++++++++
 41 files changed, 40 insertions(+), 48 deletions(-)

-- 
2.8.1



More information about the dri-devel mailing list