1. 16 8月, 2015 1 次提交
  2. 19 6月, 2015 3 次提交
  3. 09 2月, 2015 1 次提交
  4. 02 4月, 2014 1 次提交
  5. 23 3月, 2014 11 次提交
  6. 05 9月, 2013 1 次提交
  7. 28 6月, 2013 1 次提交
  8. 04 1月, 2013 1 次提交
  9. 13 12月, 2012 1 次提交
    • P
      drm/exynos: make wait_for_vblank a manager op · f74085a9
      Prathyush K 提交于
      Changelog v2:
      remove unnecessay wait_for_vblank call.
      - with this patch, wait_for_vblank callback is moved from
        overlay ops to manager ops so it should be removed and
        it doesn't need to wait vblank signal at plane disable.
      
      Changelog v1:
      The wait_for_vblank callback is moved from overlay ops to manager ops
      of exynos drm driver. Also, the check for DPMS OFF of encoder is
      removed before calling wait_for_vblank.
      Signed-off-by: NPrathyush K <prathyush.k@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      f74085a9
  10. 05 12月, 2012 1 次提交
    • I
      drm/exynos: make sure that overlay data are updated · 1daa892c
      Inki Dae 提交于
      Changelog v2:
      fix a little bit performance issue to previous patch.
      - When drm framebuffer is destroyed, make sure that overlay
        data are updated to real hardwrae for all encoders
        instead of waiting for vblank every page flip request.
        For this, it adds a new function,
        exynos_drm_encoder_complete_scanout function.
      
      Changelog v1:
      This patch removes wait_for_vblank call from
      exynos_drm_encoder_plane_disable function and move it to
      exynos_drm_encoder_plane_commit function.
      
      Disabling dma channel to each plane doens't need vblank
      signal to update data to real hardware. But updating
      overlay data to real hardware does need vblank signal.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      1daa892c
  11. 29 11月, 2012 2 次提交
  12. 22 11月, 2012 2 次提交
  13. 31 10月, 2012 1 次提交
    • I
      drm/exynos: fix display on issue · 44c91697
      Inki Dae 提交于
      When crtc_funcs->dpms callback is called, exynos_crtc->dpms
      and exynos_encoder->dpms are changed to new mode. But if user
      requests dpms mode operation, OFF -> ON, when crtc's dpms callback
      is called, exynos_encoder->dpms is also changed to ON. This
      makes encoder's dpms callback call be ignored so display power
      couldn't become on again.
      
      This patch removes exynos_encoder->dpms changing and adds 'updated'
      variable to exynos_drm_encoder structure to avoid duplicated overlay
      updating.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      44c91697
  14. 04 10月, 2012 5 次提交
    • I
      drm/exynos: fix display power call issue. · 58f6aad7
      Inki Dae 提交于
      Changelog v3:
      make exynos_drm_display_power function use exynos_drm_best_encoder
      function instead of connector->encoder to get a valid encoder.
      connector->encoder could be NULL because with DRM_IOCTL_MODE_RMFB
      request, connector->encoder is NULL so fix this issue.
      
      Changelog v2:
      remove static prefix so that exynos_drm_best_encoder function
      could be called by other modules.
      
      Changelog v1:
      this patch fixes the issue that display power callback isn't called.
      with DRM_IOCTL_MODE_RMFB request, encoder->connector becomes NULL
      so display_ops->power_on() wouldn't be called so this patch makes
      exynos_drm_best_encoder function to be used to get a valid encoder
      of each connector.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      58f6aad7
    • I
      drm/exynos: Disable plane when released · bcf4cef9
      Inki Dae 提交于
      this patch ensures that each plane connected to encoder is disabled
      when released, by adding disable callback function of encoder helper
      
      we had faced with one issue that invalid memory is accessed by dma
      once drm is released and then the dma is turned on again. actually,
      in our case, page fault was incurred with iommu. the reason is that
      a gem buffer accessed by the dma is also released once drm is released.
      
      so this patch would fix this issue ensuring the dma is disabled
      when released.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      bcf4cef9
    • I
      drm/exynos: update crtc to plane safely · 1b85a071
      Inki Dae 提交于
      if old_crtc isn't same as encoder->crtc then it means that
      user changed crtc id to another one so a plane to old_crtc
      should be disabled so that current plane can be updated safely
      and plane->crtc should be set to new crtc(encoder->crtc)
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      1b85a071
    • I
      drm/exynos: add wait_for_vblank callback interface. · b011941f
      Inki Dae 提交于
      Changelog v2:
      fixed comments.
      
      Changelog v1:
      this interface can be used to make sure that hardware overlay is disabled
      to avoid that memory region is accessed by dma after gem buffer was released.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      b011941f
    • I
      drm/exynos: fixed duplicated mode setting. · 50caf25c
      Inki Dae 提交于
      this patch fixes that when drm_crtc_helper_set_mode() is called,
      mode data for hardware overlay and conntroller are updated two times.
      for example, in case that drm_crtc_helper_set_mode() is called,
      overlay_ops->commit() and manager_ops->commit() callbacks can be called
      two times, first at drm_crtc_helper_set_mode() and second
      at drm_helper_connector_dpms().
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      50caf25c
  15. 03 10月, 2012 1 次提交
  16. 27 7月, 2012 6 次提交
  17. 20 7月, 2012 1 次提交