1. 28 6月, 2018 1 次提交
  2. 11 4月, 2018 2 次提交
  3. 19 3月, 2018 1 次提交
    • C
      drm/sun4i: Add support for A80 TCONs · 6664e9dc
      Chen-Yu Tsai 提交于
      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: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180315114136.24747-4-wens@csie.org
      6664e9dc
  4. 14 3月, 2018 1 次提交
  5. 12 3月, 2018 1 次提交
    • O
      drm/sun4i: Fix exclusivity of the TCON clocks · 7035046d
      Ondrej Jirman 提交于
      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: NOndrej Jirman <megous@megous.com>
      Cc: Jernej Skrabec <jernej.skrabec@siol.net>
      Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180310110511.14697-1-megous@megous.com
      7035046d
  6. 06 3月, 2018 1 次提交
  7. 02 3月, 2018 1 次提交
  8. 26 2月, 2018 2 次提交
  9. 17 2月, 2018 1 次提交
  10. 16 2月, 2018 2 次提交
  11. 22 1月, 2018 1 次提交
  12. 15 1月, 2018 1 次提交
  13. 05 1月, 2018 3 次提交
  14. 19 12月, 2017 1 次提交
  15. 30 11月, 2017 1 次提交
  16. 18 10月, 2017 7 次提交
  17. 11 10月, 2017 2 次提交
  18. 09 9月, 2017 5 次提交
  19. 01 6月, 2017 6 次提交