1. 09 8月, 2016 1 次提交
    • J
      drm/tilcdc: Restore old dpms state in pm_resume() · 8fe5616b
      Jyri Sarha 提交于
      Restore old dpms state in pm_resume(). The dpms is turned off in
      pm_suspend() and it should be restored to its original state in
      pm_resume(). Without this patch the display is left blanked after a
      suspend/resume cycle.
      
      Fixes commit 614b3cfe ("drm/tilcdc: disable the lcd controller/dma
      engine when suspend invoked")
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      8fe5616b
  2. 12 7月, 2016 1 次提交
  3. 02 5月, 2016 1 次提交
  4. 25 2月, 2016 13 次提交
  5. 08 2月, 2016 1 次提交
  6. 27 5月, 2015 2 次提交
    • J
      drm/tilcdc: Add support for external tda998x encoder · 103cd8bc
      Jyri Sarha 提交于
      Add support for an external compontised DRM encoder. The external
      encoder can be connected to tilcdc trough device tree graph binding.
      The binding document for tilcdc has been updated. The current
      implementation supports only tda998x encoder.
      
      To be able to filter out the unsupported video modes the tilcdc driver
      needs to hijack the external connectors helper functions. The tilcdc
      installes new helper functions that are otherwise identical to
      orignals, but the mode_valid() call-back check the mode first localy,
      before calling the original call-back. The tilcdc dirver restores the
      original helper functions before it is unbound from the external
      device.
      
      I got the idea and some lines of code from Jean-Francois Moine's
      "drm/tilcdc: Change the interface with the tda998x driver"-patch.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Acked-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      103cd8bc
    • J
      drm/tilcdc: Fix module unloading · de9cb5f2
      Jyri Sarha 提交于
      Force crtc dpms off before destroying the crtc instead of just
      checking the dpms state. This fixes warning message and frozen picture
      after tilcdc module unloading.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Acked-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      de9cb5f2
  7. 15 11月, 2014 1 次提交
  8. 05 11月, 2014 1 次提交
  9. 02 4月, 2014 1 次提交
    • M
      drm: Replace crtc fb with primary plane fb (v3) · f4510a27
      Matt Roper 提交于
      Now that CRTC's have a primary plane, there's no need to track the
      framebuffer in the CRTC.  Replace all references to the CRTC fb with the
      primary plane's fb.
      
      This patch was generated by the Coccinelle semantic patching tool using
      the following rules:
      
              @@ struct drm_crtc C; @@
              -   (C).fb
              +   C.primary->fb
      
              @@ struct drm_crtc *C; @@
              -   (C)->fb
              +   C->primary->fb
      
      v3: Generate patch via coccinelle.  Actual removal of crtc->fb has been
          moved to a subsequent patch.
      
      v2: Fixup several lingering crtc->fb instances that were missed in the
          first patch iteration.  [Rob Clark]
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NRob Clark <robdclark@gmail.com>
      f4510a27
  10. 30 8月, 2013 1 次提交
  11. 19 8月, 2013 2 次提交
  12. 28 6月, 2013 6 次提交
  13. 17 6月, 2013 1 次提交
  14. 20 2月, 2013 1 次提交
    • R
      drm/tilcdc: add TI LCD Controller DRM driver (v4) · 16ea975e
      Rob Clark 提交于
      A simple DRM/KMS driver for the TI LCD Controller found in various
      smaller TI parts (AM33xx, OMAPL138, etc).  This driver uses the
      CMA helpers.  Currently only the TFP410 DVI encoder is supported
      (tested with beaglebone + DVI cape).  There are also various LCD
      displays, for which support can be added (as I get hw to test on),
      and an external i2c HDMI encoder found on some boards.
      
      The display controller supports a single CRTC.  And the encoder+
      connector are split out into sub-devices.  Depending on which LCD
      or external encoder is actually present, the appropriate output
      module(s) will be loaded.
      
      v1: original
      v2: fix fb refcnting and few other cleanups
      v3: get +/- vsync/hsync from timings rather than panel-info, add
          option DT max-bandwidth field so driver doesn't attempt to
          pick a display mode with too high memory bandwidth, and other
          small cleanups
      v4: remove some unneeded stuff from panel-info struct, properly
          set high bits for hfp/hsw/hbp for rev 2, add DT bindings docs
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Tested-by: NKoen Kooi <koen@dominion.thruhere.net>
      16ea975e