1. 16 3月, 2018 1 次提交
  2. 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
  3. 02 3月, 2018 4 次提交
  4. 26 2月, 2018 1 次提交
  5. 06 2月, 2018 1 次提交
  6. 01 2月, 2018 2 次提交
  7. 31 1月, 2018 1 次提交
  8. 30 1月, 2018 3 次提交
  9. 25 1月, 2018 2 次提交
  10. 23 1月, 2018 2 次提交
  11. 19 1月, 2018 3 次提交
  12. 15 1月, 2018 3 次提交
  13. 09 1月, 2018 2 次提交
    • I
      drm/i915: Fix using BIT_ULL() vs. BIT() for power domain masks · 17bd6e66
      Imre Deak 提交于
      The power domain masks are 64 bit wide, so we need BIT_ULL() when
      setting bits in them, these ones were missed during converting from 32
      to 64 bit masks. All 3 enums are <32 atm, so this didn't cause a real
      problem.
      
      Fixes: d8fc70b7 ("drm/i915: Make power domain masks 64 bit long")
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NImre Deak <imre.deak@intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180109122040.19425-1-imre.deak@intel.com
      17bd6e66
    • S
      drm/i915: Add HDCP framework + base implementation · ee5e5e7a
      Sean Paul 提交于
      This patch adds the framework required to add HDCP support to intel
      connectors. It implements Aksv loading from fuse, and parts 1/2/3
      of the HDCP authentication scheme.
      
      Note that without shim implementations, this does not actually implement
      HDCP. That will come in subsequent patches.
      
      Changes in v2:
      - Don't open code wait_fors (Chris)
      - drm_hdcp.c under MIT license (Daniel)
      - Move intel_hdcp_disable() call above ddi_disable (Ram)
      - Fix // comments (I wore a cone of shame for 12 hours to atone) (Daniel)
      - Justify intel_hdcp_shim with comments (Daniel)
      - Fixed async locking issues by adding hdcp_mutex (Daniel)
      - Don't alter connector_state in enable/disable (Daniel)
      Changes in v3:
      - Added hdcp_mutex/hdcp_value to make async reasonable
      - Added hdcp_prop_work to separate link checking & property setting
      - Added new helper for atomic_check state tracking (Daniel)
      - Moved enable/disable into atomic_commit with matching helpers
      - Moved intel_hdcp_check_link out of all locks when called from dp
      - Bumped up ksv_fifo timeout (noticed failure on one of my dongles)
      Changes in v4:
      - Remove SKL_ prefix from most register names (Daniel)
      - Move enable/disable back to modeset path (Daniel)
      - s/get_random_long/get_random_u32/ (Daniel)
      - Remove mode_config.mutex lock in prop_work (Daniel)
      - Add intel_hdcp_init to handle init of conn components (Daniel)
      - Actually check return value of attach_property
      - Check Bksv is valid before trying to authenticate (Ram)
      Changes in v5:
      - checkpatch whitespace changes
      - s/DRM_MODE_CONTENT_PROTECTION_OFF/DRM_MODE_CONTENT_PROTECTION_UNDESIRED/
      - Fix ksv list wait timeout (actually wait 5s)
      - Increase the R0 timeout to 300ms (Ram)
      Changes in v6:
      - SPDX license
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NRamalingam C <ramalingm.c@intel.com>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180108195545.218615-6-seanpaul@chromium.org
      ee5e5e7a
  14. 02 1月, 2018 1 次提交
  15. 22 12月, 2017 2 次提交
  16. 21 12月, 2017 2 次提交
  17. 19 12月, 2017 1 次提交
  18. 14 12月, 2017 1 次提交
  19. 12 12月, 2017 2 次提交
  20. 08 12月, 2017 2 次提交
  21. 05 12月, 2017 1 次提交
    • V
      drm/i915: Fix vblank timestamp/frame counter jumps on gen2 · a87e55f8
      Ville Syrjälä 提交于
      Previously I was under the impression that the scanline counter
      reads 0 when the pipe is off. Turns out that's not correct, and
      instead the scanline counter simply stops when the pipe stops, and
      it retains it's last value until the pipe starts up again, at which
      point the scanline counter jumps to vblank start.
      
      These jumps can cause the timestamp to jump backwards by one frame.
      Since we use the timestamps to guesstimage also the frame counter
      value on gen2, that would cause the frame counter to also jump
      backwards, which leads to a massice difference from the previous value.
      The end result is that flips/vblank events don't appear to complete as
      they're stuck waiting for the frame counter to catch up to that massive
      difference.
      
      Fix the problem properly by actually making sure the scanline counter
      has started to move before we assume that it's safe to enable vblank
      processing.
      
      v2: Less pointless duplication in the code (Chris)
      
      Cc: stable@vger.kernel.org
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Fixes: b7792d8b ("drm/i915: Wait for pipe to start before sampling vblank timestamps on gen2")
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171129153732.3612-1-ville.syrjala@linux.intel.com
      (cherry picked from commit 8fedd64d)
      Signed-off-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      a87e55f8
  22. 01 12月, 2017 2 次提交