1. 10 9月, 2014 1 次提交
    • R
      drm/msm/mdp4: add LVDS panel support · 3e87599b
      Rob Clark 提交于
      LVDS panel support uses the LCDC (parallel) encoder.  Unlike with HDMI,
      there is not a separate LVDS block, so no need to split things into a
      bridge+connector.  Nor is there is anything re-used with mdp5.
      
      Note that there can be some regulators shared between HDMI and LVDS (in
      particular, on apq8064, ext_3v3p), so we should not use the _exclusive()
      variants of devm_regulator_get().
      
      The drm_panel framework is used for panel-specific driver.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      3e87599b
  2. 04 8月, 2014 1 次提交
    • R
      drm/msm: use upstream iommu · 944fc36c
      Rob Clark 提交于
      Downstream kernel IOMMU had a non-standard way of dealing with multiple
      devices and multiple ports/contexts.  We don't need that on upstream
      kernel, so rip out the crazy.
      
      Note that we have to move the pinning of the ringbuffer to after the
      IOMMU is attached.  No idea how that managed to work properly on the
      downstream kernel.
      
      For now, I am leaving the IOMMU port name stuff in place, to simplify
      things for folks trying to backport latest drm/msm to device kernels.
      Once we no longer have to care about pre-DT kernels, we can drop this
      and instead backport upstream IOMMU driver.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      944fc36c
  3. 31 5月, 2014 1 次提交
  4. 12 2月, 2014 1 次提交
  5. 10 1月, 2014 1 次提交
  6. 08 1月, 2014 1 次提交
    • J
      drm/msm: Fix link error with !MSM_IOMMU · 4c071c7b
      Joerg Roedel 提交于
      The DRM driver for MSM depends on symbols from the MSM
      IOMMU driver. Add this dependency to the Kconfig file.
      
      Fixes this comile error:
      
        Kernel: arch/arm/boot/zImage is ready
        ERROR: "msm_iommu_get_ctx" [drivers/gpu/drm/msm/msm.ko]
        undefined!
        make[2]: *** [__modpost] Error 1
      
      Cc: Rob Clark <robdclark@gmail.com>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      4c071c7b
  7. 12 10月, 2013 1 次提交
    • D
      drm: Add separate Kconfig option for fbdev helpers · 92b6f89f
      Daniel Vetter 提交于
      For drivers which might want to disable fbdev legacy support.
      
      Select the new option in all drivers for now, so this shouldn't result
      in any change. Drivers need some work anyway to make fbdev support
      optional (if they have it implemented, that is), so the recommended
      way to expose this is by adding per-driver options. At least as long
      as most drivers don't support disabling the fbdev support.
      
      v2: Update for new drm drivers msm and rcar-du. Note that Rob's msm
      driver can already take advantage of this, which allows us to build
      msm without any fbdev depencies in the kernel!
      
      v3: Move the MODULE_* stuff from the fbdev helper file to
      drm_crtc_helper.c.
      
      Cc: David Herrmann <dh.herrmann@gmail.com>
      Cc: Rob Clark <robdclark@gmail.com>
      Reviewed-by: NRob Clark <robdclark@gmail.com>
      Acked-by: NDave Airlie <airlied@linux.ie>
      Reviewed-by: NChon Ming Lee <chon.ming.lee@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      92b6f89f
  8. 25 8月, 2013 1 次提交
    • R
      drm/msm: basic KMS driver for snapdragon · c8afe684
      Rob Clark 提交于
      The snapdragon chips have multiple different display controllers,
      depending on which chip variant/version.  (As far as I can tell, current
      devices have either MDP3 or MDP4, and upcoming devices have MDSS.)  And
      then external to the display controller are HDMI, DSI, etc. blocks which
      may be shared across devices which have different display controller
      blocks.
      
      To more easily add support for different display controller blocks, the
      display controller specific bits are split out into a "kms" module,
      which provides the kms plane/crtc/encoder objects.
      
      The external HDMI, DSI, etc. blocks are part encoder, and part connector
      currently.  But I think I will pull in the drm_bridge patches from
      chromeos tree, and split them into a bridge+connector, with the
      registers that need to be set in modeset handled by the bridge.  This
      would remove the 'msm_connector' base class.  But some things need to be
      double checked to make sure I could get the correct ON/OFF sequencing..
      
      This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
      (part of MDP4 block), and hdmi.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      c8afe684