1. 17 2月, 2021 7 次提交
  2. 16 2月, 2021 1 次提交
    • M
      drm/stm: Fix bus_flags handling · 99e36044
      Marek Vasut 提交于
      The drm_display_mode_to_videomode() does not populate DISPLAY_FLAGS_DE_LOW
      or DISPLAY_FLAGS_PIXDATA_NEGEDGE flags in struct videomode. Therefore, no
      matter what polarity the next bridge or display might require, these flags
      are never set, and thus the LTDC GCR_DEPOL and GCR_PCPOL bits are never set
      and the LTDC behaves as if both DISPLAY_FLAGS_PIXDATA_POSEDGE and
      DISPLAY_FLAGS_DE_HIGH were always set.
      
      The fix for this problem is taken almost verbatim from MXSFB driver. In
      case there is a bridge attached to the LTDC, the bridge might have extra
      polarity requirements, so extract bus_flags from the bridge and use them
      for LTDC configuration. Otherwise, extract bus_flags from the connector,
      which is the display.
      
      Fixes: b759012c ("drm/stm: Add STM32 LTDC driver")
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Signed-off-by: NYannick Fertre <yannick.fertre@st.com>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Cc: Antonio Borneo <antonio.borneo@st.com>
      Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Philippe Cornu <philippe.cornu@st.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Vincent Abriou <vincent.abriou@st.com>
      Cc: Yannick Fertre <yannick.fertre@st.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-stm32@st-md-mailman.stormreply.com
      To: dri-devel@lists.freedesktop.org
      Tested-by: NYannick Fertre <yannick.fertre@foss.st.com>
      Signed-off-by: NPhilippe Cornu <philippe.cornu@foss.st.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210127110756.125570-1-marex@denx.de
      99e36044
  3. 15 2月, 2021 3 次提交
  4. 12 2月, 2021 1 次提交
  5. 11 2月, 2021 3 次提交
  6. 10 2月, 2021 10 次提交
  7. 09 2月, 2021 11 次提交
  8. 08 2月, 2021 4 次提交