1. 08 4月, 2021 4 次提交
  2. 30 11月, 2020 1 次提交
  3. 22 11月, 2020 1 次提交
    • R
      drm/msm/shrinker: Only iterate dontneed objs · 3edfa30f
      Rob Clark 提交于
      In situations where the GPU is mostly idle, all or nearly all buffer
      objects will be in the inactive list.  But if the system is under memory
      pressure (from something other than GPU), we could still get a lot of
      shrinker calls.  Which results in traversing a list of thousands of objs
      and in the end finding nothing to shrink.  Which isn't so efficient.
      
      Instead split the inactive_list into two lists, one inactive objs which
      are shrinkable, and a second one for those that are not.  This way we
      can avoid traversing objs which we know are not shrinker candidates.
      
      v2: Fix inverted logic think-o
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      3edfa30f
  4. 10 11月, 2020 1 次提交
    • T
      drm/msm: Use struct dma_buf_map in GEM vmap ops · b47f9f92
      Thomas Zimmermann 提交于
      Fixes a build failure with msm.
      
      This change was supposed to be part of commit 49a3f51d ("drm/gem:
      Use struct dma_buf_map in GEM vmap ops and convert GEM backends"), but
      msm was forgotten.
      Signed-off-by: NThomas Zimmermann <tzimmermann@suse.de>
      Reviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Fixes: 49a3f51d ("drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends")
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <mripard@kernel.org>
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Cc: Russell King <linux+etnaviv@armlinux.org.uk>
      Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
      Cc: Qiang Yu <yuq825@gmail.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Cc: Steven Price <steven.price@arm.com>
      Cc: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: Sandy Huang <hjc@rock-chips.com>
      Cc: "Heiko Stübner" <heiko@sntech.de>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
      Cc: Melissa Wen <melissa.srw@gmail.com>
      Cc: Haneen Mohammed <hamohammed.sa@gmail.com>
      Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: Emil Velikov <emil.velikov@collabora.com>
      Cc: Luben Tuikov <luben.tuikov@amd.com>
      Cc: Marek Szyprowski <m.szyprowski@samsung.com>
      Cc: Arunpravin <apaneers@amd.com>
      Cc: Huang Rui <ray.huang@amd.com>
      Cc: Madhav Chauhan <madhav.chauhan@amd.com>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Qinglang Miao <miaoqinglang@huawei.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: etnaviv@lists.freedesktop.org
      Cc: lima@lists.freedesktop.org
      Cc: nouveau@lists.freedesktop.org
      Cc: virtualization@lists.linux-foundation.org
      Cc: spice-devel@lists.freedesktop.org
      Cc: amd-gfx@lists.freedesktop.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-rockchip@lists.infradead.org
      Cc: xen-devel@lists.xenproject.org
      Link: https://patchwork.freedesktop.org/patch/msgid/20201109103242.19544-2-tzimmermann@suse.de
      b47f9f92
  5. 05 11月, 2020 4 次提交
  6. 02 11月, 2020 2 次提交
  7. 26 9月, 2020 1 次提交
  8. 25 9月, 2020 1 次提交
  9. 22 9月, 2020 1 次提交
    • A
      drm/msm: Fix premature purging of BO · 9d8baa2b
      Akhil P Oommen 提交于
      In the case where we have a back-to-back submission that shares the same
      BO, this BO will be prematurely moved to inactive_list while retiring the
      first submit. But it will be still part of the second submit which is
      being processed by the GPU. Now, if the shrinker happens to be triggered at
      this point, it will result in a premature purging of this BO.
      
      To fix this, we need to refcount BO while doing submit and retire. Then,
      it should be moved to inactive list when this refcount becomes 0.
      Signed-off-by: NAkhil P Oommen <akhilpo@codeaurora.org>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      9d8baa2b
  10. 16 9月, 2020 4 次提交
  11. 13 9月, 2020 2 次提交
  12. 31 7月, 2020 2 次提交
  13. 24 5月, 2020 1 次提交
  14. 19 5月, 2020 2 次提交
  15. 13 2月, 2020 1 次提交
  16. 19 12月, 2019 1 次提交
  17. 04 9月, 2019 3 次提交
    • R
      drm/msm: async commit support · 2d99ced7
      Rob Clark 提交于
      Now that flush/wait/complete is decoupled from the "synchronous" part of
      atomic commit_tail(), add support to defer flush to a timer that expires
      shortly before vblank for async commits.  In this way, multiple atomic
      commits (for example, cursor updates) can be coalesced into a single
      flush at the end of the frame.
      
      v2: don't hold lock over ->wait_flush(), to avoid locking interaction
          that was causing fps drop when combining page flips or non-async
          atomic commits and lots of legacy cursor updates
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      Reviewed-by: NSean Paul <sean@poorly.run>
      2d99ced7
    • J
      drm/msm: Use generic bulk clock function · 8e3e791d
      Jordan Crouse 提交于
      Remove the homebrewed bulk clock get function and replace it with
      devm_clk_bulk_get_all().
      Signed-off-by: NJordan Crouse <jcrouse@codeaurora.org>
      Reviewed-by: NStephen Boyd <swboyd@chromium.org>
      Reviewed-by: NRob Clark <robdclark@gmail.com>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      8e3e791d
    • S
      drm/msm: drop use of drmP.h · feea39a8
      Sam Ravnborg 提交于
      Drop the deprecated drmP.h header file, and trim msm_drv.h
      to the relevant include files.
      
      This resulted in a suprisingly many edits as many files relied
      on headers included via msm_drv.h.
      But msm_drv.h is not supposed to carry include files it do not need, so
      the individual files have to include what extra they needs.
      
      v2:
      - Rebased on top of https://gitlab.freedesktop.org/drm/msm.git msm-next
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Jordan Crouse <jcrouse@codeaurora.org>
      Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
      Cc: Bruce Wang <bzwang@chromium.org>
      Cc: Shayenne Moura <shayenneluzmoura@gmail.com>
      Cc: Mamta Shukla <mamtashukla555@gmail.com>
      Cc: Jonathan Marek <jonathan@marek.ca>
      Cc: Carsten Behling <carsten.behling@googlemail.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
      Cc: Sibi Sankar <sibis@codeaurora.org>
      Cc: Todor Tomov <todor.tomov@linaro.org>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190804065551.GA5211@ravnborg.org
      feea39a8
  18. 19 6月, 2019 2 次提交
  19. 15 5月, 2019 1 次提交
  20. 20 4月, 2019 2 次提交
  21. 19 2月, 2019 1 次提交
  22. 01 2月, 2019 2 次提交