1. 08 4月, 2021 4 次提交
  2. 23 3月, 2021 1 次提交
  3. 01 2月, 2021 1 次提交
  4. 02 11月, 2020 2 次提交
  5. 22 9月, 2020 1 次提交
  6. 20 9月, 2020 1 次提交
  7. 16 9月, 2020 3 次提交
  8. 05 9月, 2020 1 次提交
  9. 31 7月, 2020 4 次提交
    • E
      drm/msm: Quiet error during failure in optional resource mappings. · 62a35e81
      Eric Anholt 提交于
      We don't expect to find vbif_nrt or regdma on sdm845, but were clogging
      up dmesg with errors about it.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Reported-by: Nkernel test robot <lkp@intel.com>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      62a35e81
    • E
      drm/msm: Garbage collect unused resource _len fields. · ecf9cd48
      Eric Anholt 提交于
      Nothing was using the lengths of these ioremaps.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      ecf9cd48
    • R
      drm/msm/dpu: Use OPP API to set clk/perf state · b0530eb1
      Rajendra Nayak 提交于
      On some qualcomm platforms DPU needs to express a performance state
      requirement on a power domain depending on the clock rates.
      Use OPP table from DT to register with OPP framework and use
      dev_pm_opp_set_rate() to set the clk/perf state.
      Signed-off-by: NRajendra Nayak <rnayak@codeaurora.org>
      Reviewed-by: NRob Clark <robdclark@chromium.org>
      Reviewed-by: NMatthias Kaehlcke <mka@chromium.org>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      b0530eb1
    • K
      drm/msm/dpu: ensure device suspend happens during PM sleep · ca8199f1
      Kalyan Thota 提交于
      "The PM core always increments the runtime usage counter
      before calling the ->suspend() callback and decrements it
      after calling the ->resume() callback"
      
      DPU and DSI are managed as runtime devices. When
      suspend is triggered, PM core adds a refcount on all the
      devices and calls device suspend, since usage count is
      already incremented, runtime suspend was not getting called
      and it kept the clocks on which resulted in target not
      entering into XO shutdown.
      
      Add changes to force suspend on runtime devices during pm sleep.
      
      Changes in v1:
       - Remove unnecessary checks in the function
          _dpu_kms_disable_dpu (Rob Clark).
      
      Changes in v2:
       - Avoid using suspend_late to reset the usagecount
         as suspend_late might not be called during suspend
         call failures (Doug).
      
      Changes in v3:
       - Use force suspend instead of managing device usage_count
         via runtime put and get API's to trigger callbacks (Doug).
      
      Changes in v4:
       - Check the return values of pm_runtime_force_suspend and
         pm_runtime_force_resume API's and pass appropriately (Doug).
      
      Changes in v5:
       - With v4 patch, test cycle has uncovered issues in device resume.
      
         On bubs: cmd tx failures were seen as SW is sending panel off
         commands when the dsi resources are turned off.
      
         Upon suspend, DRM driver will issue a NULL composition to the
         dpu, followed by turning off all the HW blocks.
      
         v5 changes will serialize the NULL commit and resource unwinding
         by handling them under PM prepare and PM complete phases there by
         ensuring that clks are on when panel off commands are being
         processed.
      
      Changes in v6:
      - Use drm_mode_config_helper_suspend/resume() instead of legacy API
        drm_atomic_helper_suspend/resume() (Doug).
      
        Trigger runtime callbacks from the suspend/resume call to turn
        off the resources.
      
      Changes in v7:
      - Add "__maybe_unused" to the functions to avoid compilation
        failures. Cleanup unnecessary configs (Doug).
      Signed-off-by: NKalyan Thota <kalyan_t@codeaurora.org>
      Reviewed-by: NDouglas Anderson <dianders@chromium.org>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      ca8199f1
  10. 23 6月, 2020 1 次提交
  11. 02 6月, 2020 1 次提交
  12. 24 5月, 2020 2 次提交
  13. 19 5月, 2020 1 次提交
  14. 20 3月, 2020 2 次提交
    • T
      drm/msm/dpu: Remove some set but not used variables · acc978d7
      tongtiangen 提交于
      Fixes gcc '-Wunused-but-set-variable' warning:
      
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function _dpu_debugfs_show_regset32:
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:142:26: warning: variable priv set but not used [-Wunused-but-set-variable]
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function dpu_kms_prepare_commit:
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:271:21: warning: variable dev set but not used [-Wunused-but-set-variable]
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function _dpu_kms_hw_destroy:
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:555:21: warning: variable dev set but not used [-Wunused-but-set-variable]
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function dpu_kms_hw_init:
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:763:26: warning: variable priv set but not used [-Wunused-but-set-variable]
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function dpu_runtime_suspend:
      drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1021:21: warning: variable ddev set but not used [-Wunused-but-set-variable]
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: Ntongtiangen <tongtiangen@huawei.com>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      acc978d7
    • D
      drm/msm/dpu: Track resources in global state · de3916c7
      Drew Davenport 提交于
      Move mapping of resources to encoder ids from the resource manager to a
      new dpu_global_state struct. Store this struct in global atomic state.
      
      Before this patch, atomic test would be performed by modifying global
      state (resource manager), and backing out any changes if the test fails.
      By using drm atomic global state, this is not necessary as any changes
      to the global state will be discarded if the test fails.
      Signed-off-by: NDrew Davenport <ddavenport@chromium.org>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      de3916c7
  15. 03 1月, 2020 1 次提交
  16. 11 10月, 2019 1 次提交
  17. 08 10月, 2019 1 次提交
  18. 07 10月, 2019 4 次提交
  19. 04 9月, 2019 8 次提交