1. 16 9月, 2020 1 次提交
  2. 18 8月, 2020 1 次提交
    • K
      drm/msm/dpu: Fix reservation failures in modeset · ccc862b9
      Kalyan Thota 提交于
      In TEST_ONLY commit, rm global_state will duplicate the
      object and request for new reservations, once they pass
      then the new state will be swapped with the old and will
      be available for the Atomic Commit.
      
      This patch fixes some of missing links in the resource
      reservation sequence mentioned above.
      
      1) Creation of duplicate state in test_only commit (Rob)
      2) Allocate and release the resources on every modeset.
      3) Avoid allocation only when active is false.
      
      In a modeset operation, swap state happens well before
      disable. Hence clearing reservations in disable will
      cause failures in modeset enable.
      
      Allow reservations to be cleared/allocated before swap,
      such that only newly committed resources are pushed to HW.
      
      Changes in v1:
       - Move the rm release to atomic_check.
       - Ensure resource allocation and free happens when active
         is not changed i.e only when mode is changed.(Rob)
      
      Changes in v2:
       - Handle dpu_kms_get_global_state API failure as it may
         return EDEADLK (swboyd).
      Signed-off-by: NKalyan Thota <kalyan_t@codeaurora.org>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      ccc862b9
  3. 31 7月, 2020 3 次提交
  4. 12 6月, 2020 3 次提交
  5. 27 5月, 2020 1 次提交
  6. 19 5月, 2020 1 次提交
  7. 20 3月, 2020 3 次提交
  8. 16 2月, 2020 1 次提交
  9. 03 1月, 2020 4 次提交
  10. 08 10月, 2019 1 次提交
    • Z
      drm/msm/dpu: Remove set but not used variables 'mode', 'dpu_kms', 'priv' · 8fbd534b
      zhengbin 提交于
      Fixes gcc '-Wunused-but-set-variable' warning:
      
      drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: In function dpu_encoder_virt_disable:
      drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1199:27: warning: variable mode set but not used [-Wunused-but-set-variable]
      drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: In function _dpu_encoder_init_debugfs:
      drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1963:18: warning: variable dpu_kms set but not used [-Wunused-but-set-variable]
      drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c: In function dpu_encoder_frame_done_timeout:
      drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:2183:26: warning: variable priv set but not used [-Wunused-but-set-variable]
      
      They are not used since commit 25fdd593 ("drm/msm:
      Add SDM845 DPU support")
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: Nzhengbin <zhengbin13@huawei.com>
      Signed-off-by: NRob Clark <robdclark@chromium.org>
      8fbd534b
  11. 07 10月, 2019 3 次提交
  12. 04 9月, 2019 5 次提交
  13. 23 7月, 2019 1 次提交
  14. 21 6月, 2019 1 次提交
  15. 19 6月, 2019 2 次提交
  16. 19 4月, 2019 9 次提交