1. 07 11月, 2018 1 次提交
    • V
      drm/i915: Fix ilk+ watermarks when disabling pipes · df5e31c2
      Ville Syrjälä 提交于
      We're no longer programming any watermarks when we're disabling
      a pipe. That means ilk_wm_merge() & co. will keep considering
      the any pipe that is getting disabled as still enabled. Thus we
      either get no LP1+ watermakrs (ilk-ivb), or we get suboptimal
      ones (hsw-bdw).
      
      This seems to have been broken by commit b6b178a7 ("drm/i915:
      Calculate ironlake intermediate watermarks correctly, v2."). Before
      that we apparently had some difference between the intermediate
      and optimal watermarks and so we would program the optiomal ones.
      Now intermediate and optimal are identical for disabled pipes
      and so we don't program either.
      
      Fix this by programming the intermediate watermarks even for
      disabled pipes. We were already doing that for skl+. We'll
      leave out gmch platforms for now since those do the merging
      in a different manner and should work as is. We'll want to
      unify this eventually, but play it safe for now and just put
      in a FIXME.
      
      Cc: stable@vger.kernel.org
      Cc: Matt Roper <matthew.d.roper@intel.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Fixes: b6b178a7 ("drm/i915: Calculate ironlake intermediate watermarks correctly, v2.")
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181025130536.29024-1-ville.syrjala@linux.intel.com
      Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> #irc
      (cherry picked from commit a748faea)
      Signed-off-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      df5e31c2
  2. 06 11月, 2018 1 次提交
  3. 18 10月, 2018 5 次提交
  4. 19 9月, 2018 1 次提交
  5. 14 9月, 2018 2 次提交
  6. 12 9月, 2018 13 次提交
  7. 11 9月, 2018 2 次提交
  8. 09 9月, 2018 1 次提交
    • D
      drm: extract drm_atomic_uapi.c · 72fdb40c
      Daniel Vetter 提交于
      This leaves all the commit/check and state handling in drm_atomic.c,
      while pulling all the uapi glue and the huge ioctl itself into a
      seprate file.
      
      This seems to almost perfectly split the rather big drm_atomic.c file
      into 2 equal sizes.
      
      Also adjust the kerneldoc and type a very terse overview text.
      
      v2: Rebase.
      
      v3: Fix tiny typo.
      
      v4:
      - Fixup armada, newly converted atomic driver hooray!
      - Fixup msm/dpu1, newly added too.
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: intel-gfx@lists.freedesktop.org
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Acked-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180905135711.28370-7-daniel.vetter@ffwll.ch
      72fdb40c
  9. 06 9月, 2018 1 次提交
  10. 31 8月, 2018 1 次提交
  11. 29 8月, 2018 4 次提交
  12. 23 8月, 2018 2 次提交
  13. 22 8月, 2018 1 次提交
  14. 20 8月, 2018 1 次提交
    • I
      drm/i915: Verify power domains after enabling them · 6dfc4a8f
      Imre Deak 提交于
      After
      commit 2cd9a689 ("drm/i915: Refactor intel_display_set_init_power() logic")
      it makes more sense to check the power domain/well refcounts after
      enabling the power domains functionality. Before that it's guaranteed
      that most power wells (in the INIT domain) will have a reference held,
      so not an interesting state.
      
      While at it also add the check after the init_hw/fini_hw, disable and
      suspend/resume steps. Make the test optional on a Kconfig option since
      it may add substantial overhead: on VLV/CHV the corresponding PUNIT reg
      access for each power well may take up to 20ms.
      
      v2:
      - Add the state check to more spots. (Chris)
      
      v3:
      - During suspend check the state before deiniting display core.
        Afterwards DC states are disabled (and so the dc_off power well is
        enabled) even though we don't hold a reference on it.
      - Do the test conditionally based on a new Kconfig option. (Chris)
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      [Add DRM_I915_DEBUG_RUNTIME_PM to welcome messages]
      Signed-off-by: NImre Deak <imre.deak@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180817145837.26592-1-imre.deak@intel.com
      6dfc4a8f
  15. 16 8月, 2018 2 次提交
  16. 14 8月, 2018 1 次提交
  17. 13 8月, 2018 1 次提交