1. 29 Nov, 2016 1 commit
    • Bartosz Golaszewski's avatar
      drm/tilcdc: add a workaround for failed clk_set_rate() · cb42e20e
      Bartosz Golaszewski authored
      Some architectures don't use the common clock framework and don't
      implement all the clk interfaces for every clock. This is the case
      for da850-lcdk where clk_set_rate() only works for PLL0 and PLL1.
      
      Trying to set the clock rate for the LCDC clock results in -EINVAL
      being returned.
      
      As a workaround for that: if the call to clk_set_rate() fails, fall
      back to adjusting the clock divider instead. Proper divider value is
      calculated by dividing the current clock rate by the required pixel
      clock rate in HZ.
      
      This code is based on a hack initially developed internally for
      baylibre by Karl Beldan <kbeldan@baylibre.com>.
      
      Tested with a da850-lcdk with an LCD display connected over VGA.
      Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      cb42e20e
  2. 24 Nov, 2016 2 commits
    • Dave Airlie's avatar
      Merge branch 'drm-tda998x-devel' of git://git.armlinux.org.uk/~rmk/linux-arm into drm-next · 7625e052
      Dave Airlie authored
      These updates:
      * improve the robustness of the driver wrt races
      * improve the compliance for sending infoframes and audio
      * re-organise the function order in the driver to group like functions
        together.  (This unfortunately causes a conflict with the change in
        drm-misc, but it should be trivial to solve, although it looks more
        scarey than it really is - sfr has already sent two reports about
        this, one earlier today.)
      * simplify tda998x_audio_get_eld and DPMS handling
      * power down sections of the chip that we never use
      * add some initial preparation for supporting the CEC driver
      
      * 'drm-tda998x-devel' of git://git.armlinux.org.uk/~rmk/linux-arm:
        drm/i2c: tda998x: fix spelling mistake
        drm/i2c: tda998x: allow sharing of the CEC device accesses
        drm/i2c: tda998x: allow interrupt to be shared
        drm/i2c: tda998x: power down pre-filter and color conversion
        drm/i2c: tda998x: switch to boolean is_on
        drm/i2c: tda998x: remove complexity from tda998x_audio_get_eld()
        drm/i2c: tda998x: group audio functions together
        drm/i2c: tda998x: separate connector initialisation
        drm/i2c: tda998x: group connector functions and funcs together
        drm/i2c: tda998x: move and rename tda998x_encoder_set_config()
        drm/i2c: tda998x: correct function name in comments
        drm/i2c: tda998x: only enable audio if supported by sink
        drm/i2c: tda998x: only configure infoframes and audio if supported
        drm/i2c: tda998x: avoid race when programming audio
        drm/i2c: tda998x: avoid racy access to mode clock
        drm/i2c: tda998x: avoid race in tda998x_encoder_mode_set()
        drm/i2c: tda998x: move audio mutex initialisation
      7625e052
    • Dave Airlie's avatar
      Merge branch 'drm-armada-devel' of git://git.armlinux.org.uk/~rmk/linux-arm into drm-next · 4d5304d8
      Dave Airlie authored
      Building on top of the MALI change previously merged, these changes:
      * add tracing support for overlay updates
      * refactor some of the plane support code
      * de-midlayer the driver
      * cleanups from other folk reviewing the code
      
      * 'drm-armada-devel' of git://git.armlinux.org.uk/~rmk/linux-arm:
        drm/armada: fix NULL pointer comparison warning
        drm/armada: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops
        drm/armada: remove some dead code
        drm/armada: mark symbols static where possible
        drm/armada: de-midlayer armada
        drm/armada: use common helper for plane base address
        drm/armada: move setting primary plane position to armada_drm_primary_set()
        drm/armada: split out primary plane update
        drm/armada: move plane state to struct armada_plane
        drm/armada: clean up armada_drm_plane_work_run()
        drm/armada: add tracing support
      4d5304d8
  3. 21 Nov, 2016 1 commit
  4. 18 Nov, 2016 16 commits
  5. 17 Nov, 2016 14 commits
  6. 16 Nov, 2016 6 commits