Skip to content
Snippets Groups Projects
  1. Jul 19, 2018
  2. Jul 11, 2018
  3. Jun 27, 2018
  4. Jun 18, 2018
  5. Apr 11, 2018
  6. Mar 19, 2018
    • Chen-Yu Tsai's avatar
      drm/sun4i: Add support for A80 TCONs · 6664e9dc
      Chen-Yu Tsai authored
      
      The Allwinner A80 SoC has 2 documented TCONs. The display pipeline
      diagram from the user manual shows a third TCON, but it's missing
      an interrupt line, and its registers are not explained either.
      It's also not used in Allwinner's vendor BSP.
      
      The first TCON only has channel 0, for LCD panel output. The TCON
      hardware setup is peculiar in that the eDP reset must also be
      deasserted to allow access to the TCON. How the eDP module is wired
      in the SoC itself is never explained.
      
      The second TCON only has channel 1, and its output is connected to
      the HDMI encoder block.
      
      This patch adds a "needs_edp_reset" field to the tcon quirks structure,
      and adds quirks and compatible strings for the 2 documented TCONs.
      
      Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180315114136.24747-4-wens@csie.org
      6664e9dc
  7. Mar 14, 2018
  8. Mar 12, 2018
    • Ondrej Jirman's avatar
      drm/sun4i: Fix exclusivity of the TCON clocks · 7035046d
      Ondrej Jirman authored
      
      Currently the exclusivity is enabled when the rate is set by
      the mode setting functions. These functions are called by
      mode_set_nofb callback of drm_crc_helper. Then exclusivity
      is disabled when tcon is disabled by atomic_disable
      callback.
      
      What happens is that mode_set_nofb can be called once when
      mode changes, and afterwards the system can call atomic_enable
      and atomic_disable multiple times without further calls to
      mode_set_nofb.
      
      This happens:
      
      mode_set_nofb   - clk exclusivity is enabled
      atomic_enable
      atomic_disable  - clk exclusivity is disabled
      atomic_enable
      atomic_disable  - clk exclusivity is already disabled, leading to WARN
                        in clk_rate_exclusive_put
      
      Solution is to enable exclusivity in sun4i_tcon_channel_set_status.
      
      Signed-off-by: default avatarOndrej Jirman <megous@megous.com>
      Cc: Jernej Skrabec <jernej.skrabec@siol.net>
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180310110511.14697-1-megous@megous.com
      7035046d
  9. Mar 06, 2018
  10. Mar 02, 2018
  11. Feb 26, 2018
  12. Feb 16, 2018
  13. Jan 22, 2018
  14. Jan 15, 2018
  15. Jan 04, 2018
  16. Dec 19, 2017
  17. Nov 30, 2017
  18. Oct 17, 2017
  19. Oct 11, 2017
  20. Sep 09, 2017
  21. Sep 08, 2017
  22. Jun 01, 2017
Loading