1. 12 6月, 2020 3 次提交
  2. 19 5月, 2020 1 次提交
  3. 20 3月, 2020 3 次提交
  4. 16 2月, 2020 1 次提交
  5. 03 1月, 2020 4 次提交
  6. 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
  7. 07 10月, 2019 3 次提交
  8. 04 9月, 2019 5 次提交
  9. 23 7月, 2019 1 次提交
  10. 21 6月, 2019 1 次提交
  11. 19 6月, 2019 2 次提交
  12. 19 4月, 2019 9 次提交
  13. 06 2月, 2019 1 次提交
  14. 01 2月, 2019 1 次提交
  15. 24 1月, 2019 1 次提交
  16. 12 12月, 2018 3 次提交
    • J
      drm/msm/dpu: Cleanup the debugfs functions · 3d688410
      Jordan Crouse 提交于
      Do some debugfs cleanups from across the DPU driver. The DRM
      destroy functions will do a recursive delete on the entire
      debugfs node so there is no need to store dentry pointers for
      the debugfs files that are persistent for the life of the
      driver. This also means that the destroy functions can go
      away too.
      
      Also, use standard API functions where applicable instead of
      using hand written code.
      
      v3: No changes
      v2: Add more code; most of the dpu debugfs files should be
      addressed now.
      Reviewed-by: NSean Paul <sean@poorly.run>
      Signed-off-by: NJordan Crouse <jcrouse@codeaurora.org>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      3d688410
    • J
      drm/msm/dpu: Remove dpu_dbg · 27bc773a
      Jordan Crouse 提交于
      The functions in dpu_dbg.c aren't used. The two main dump functions
      fail after a lookup from dpu_dbg_base.reg_base_list which turns out
      to never be populated and once those are removed the rest of the
      file doesn't make any sense.
      
      v3: No changes
      v2: Moved some unrelated changes to another patch
      Reviewed-by: NSean Paul <sean@poorly.run>
      Signed-off-by: NJordan Crouse <jcrouse@codeaurora.org>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      27bc773a
    • S
      drm/msm: dpu: Separate crtc assignment from vblank enable · a796ba2c
      Sean Paul 提交于
      Instead of assigning/clearing the crtc on vblank enable/disable, we can
      just assign and clear the crtc on modeset. That allows us to just toggle
      the encoder's vblank interrupts on vblank_enable.
      
      So why is this important? Previously the driver was using the legacy
      pointers to assign/clear the crtc. Legacy pointers are cleared _after_
      disabling the hardware, so the legacy pointer was valid during
      vblank_disable, but that's not something we should rely on.
      
      Instead of relying on the core ordering the legacy pointer assignments
      just so, we'll assign the crtc in dpu_crtc enable/disable. This is the
      only place that mapping can change, so we're covered there.
      
      We're also taking advantage of drm_crtc_vblank_on/off. By using this, we
      ensure that vblank_enable/disable can never be called while the crtc is
      off (which means the assigned crtc will always be valid). As such, we
      don't need to use modeset locks or the crtc_lock in the
      vblank_enable/disable routine to be sure state is consistent.
      
      ...I think.
      
      Changes in v2:
      - Changed crtc check in toggle_vblank to != (Jeykumar)
      
      Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
      Reviewed-by: NJeykumar Sankaran <jsanka@codeaurora.org>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      [dpu_crtc.c change needed to be manually applied b/c of the dpu_crtc_reset change]
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      a796ba2c