1. 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
  2. 14 3月, 2018 3 次提交
  3. 06 3月, 2018 1 次提交
    • V
      drm: Don't pass clip to drm_atomic_helper_check_plane_state() · 81af63a4
      Ville Syrjälä 提交于
      Move the plane clip rectangle handling into
      drm_atomic_helper_check_plane_state(). Drivers no longer
      have to worry about such mundane details.
      
      v2: Convert armada, rcar, and sun4i as well
      v3: Resolve simple_kms_helper conflict
      
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Brian Starkey <brian.starkey@arm.com>
      Cc: Mali DP Maintainers <malidp@foss.arm.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: CK Hu <ck.hu@mediatek.com>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sandy Huang <hjc@rock-chips.com>
      Cc: "Heiko Stübner" <heiko@sntech.de>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
      Cc: Sinclair Yeh <syeh@vmware.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Archit Taneja <architt@codeaurora.org>
      Cc: linux-amlogic@lists.infradead.org
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Cc: nouveau@lists.freedesktop.org
      Cc: linux-renesas-soc@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Cc: Russell King <rmk+kernel@armlinux.org.uk>
      Suggested-by: NDaniel Vetter <daniel@ffwll.ch>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: NThierry Reding <treding@nvidia.com>
      Reviewed-by: Archit Taneja <architt@codeaurora.org> #msm
      Link: https://patchwork.freedesktop.org/patch/msgid/20180123170857.13818-5-ville.syrjala@linux.intel.com
      Acked-by: Liviu Dudau <liviu.dudau@arm.com> #hdlcd,malidp
      Acked-by: Philipp Zabel <p.zabel@pengutronix.de> #imx,mtk
      Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Reviewed-by: Sinclair Yeh <syeh@vmware.com> #vmwgfx
      Acked-by: Neil Armstrong <narmstrong@baylibre.com> #meson
      Acked-by: Shawn Guo <shawnguo@kernel.org> #zte
      81af63a4
  4. 02 3月, 2018 7 次提交
  5. 22 2月, 2018 4 次提交
  6. 17 2月, 2018 1 次提交
  7. 16 2月, 2018 4 次提交
  8. 02 2月, 2018 1 次提交
  9. 29 1月, 2018 7 次提交
  10. 23 1月, 2018 1 次提交
    • S
      drm/sun4i: Fix build warnings in sunxi_engine.h · a63b8e79
      Sean Paul 提交于
      Fixes the following build warnings:
      In file included from ../drivers/gpu/drm/sun4i/sun8i_mixer.h:18:0,
                       from ../drivers/gpu/drm/sun4i/sun8i_vi_scaler.h:13,
                       from ../drivers/gpu/drm/sun4i/sun8i_vi_scaler.c:12:
      ../drivers/gpu/drm/sun4i/sunxi_engine.h:36:16: warning: ‘struct drm_crtc_state’ declared inside parameter list will not be visible outside of this definition or declaration
               struct drm_crtc_state *old_state);
                      ^~~~~~~~~~~~~~
      ../drivers/gpu/drm/sun4i/sunxi_engine.h:53:15: warning: ‘struct drm_crtc_state’ declared inside parameter list will not be visible outside of this definition or declaration
              struct drm_crtc_state *state);
                     ^~~~~~~~~~~~~~
      In file included from ../drivers/gpu/drm/sun4i/sun8i_mixer.h:18:0,
                       from ../drivers/gpu/drm/sun4i/sun8i_ui_scaler.h:12,
                       from ../drivers/gpu/drm/sun4i/sun8i_ui_scaler.c:12:
      ../drivers/gpu/drm/sun4i/sunxi_engine.h:36:16: warning: ‘struct drm_crtc_state’ declared inside parameter list will not be visible outside of this definition or declaration
               struct drm_crtc_state *old_state);
                      ^~~~~~~~~~~~~~
      ../drivers/gpu/drm/sun4i/sunxi_engine.h:53:15: warning: ‘struct drm_crtc_state’ declared inside parameter list will not be visible outside of this definition or declaration
              struct drm_crtc_state *state);
                     ^~~~~~~~~~~~~~
      
      Fixes: 6b8562c8 ("drm/sun4i: engine: Create an atomic_begin
      callback")
      Fixes: 656e5f65 ("drm/sun4i: engine: Add a custom crtc
      atomic_check")
      Cc: Chen-Yu Tsai <wens@csie.org>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180122174306.231609-1-seanpaul@chromium.org
      a63b8e79
  11. 22 1月, 2018 10 次提交