1. 08 12月, 2017 1 次提交
  2. 16 10月, 2017 2 次提交
  3. 19 9月, 2017 2 次提交
  4. 17 8月, 2017 1 次提交
  5. 27 7月, 2017 1 次提交
  6. 26 7月, 2017 1 次提交
  7. 01 6月, 2017 1 次提交
  8. 29 5月, 2017 1 次提交
  9. 26 5月, 2017 1 次提交
  10. 09 5月, 2017 1 次提交
  11. 17 2月, 2017 1 次提交
  12. 08 2月, 2017 2 次提交
  13. 31 1月, 2017 2 次提交
    • I
      drm/exynos: use atomic helper commit · 41cbf0fd
      Inki Dae 提交于
      This patch replaces specific atomic commit function
      with atomic helper commit one.
      
      For this, it removes existing atomic commit function
      and relevant code specific to Exynos DRM and makes
      atomic helper commit to be used instead.
      
      Below are changes for the use of atomic helper commit:
      - add atomic_commit_tail callback specific to Exynos DRM
        . default implemention of atomic helper doesn't mesh well
          with runtime PM so the device driver which supports runtime
          PM should call drm_atomic_helper_commit_modeset_enables function
          prior to drm_atomic_helper_commit_planes function call.
          atomic_commit_tail callback implements this call ordering.
      - allow plane commit only in case that CRTC device is enabled.
        . for this, it calls atomic_helper_commit_planes function
          with DRM_PLANE_COMMIT_ACTIVE_ONLY flag in atomic_commit_tail callback.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Reviewed-by: NGustavo Padovan <gustavo.padovan@collabora.com>
      41cbf0fd
    • I
      drm/exynos: remove unnecessary codes · 9db41d43
      Inki Dae 提交于
      This patch removes exynos_drm_crtc_cancel_page_flip call
      when drm is closed because at that time, events will be released
      by drm_events_release function.
      
      Changelog v1:
      - remove exynos_drm_crtc_cancel_page_flip function also because
        this funtion isn't used anymore.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Reviewed-by: NAndrzej Hajda <a.hajda@samsung.com>
      9db41d43
  14. 09 1月, 2017 1 次提交
  15. 02 11月, 2016 1 次提交
  16. 27 10月, 2016 1 次提交
  17. 17 10月, 2016 1 次提交
  18. 30 9月, 2016 1 次提交
  19. 29 8月, 2016 1 次提交
  20. 13 7月, 2016 1 次提交
  21. 22 6月, 2016 1 次提交
    • D
      drm: Lobotomize set_busid nonsense for !pci drivers · a3257256
      Daniel Vetter 提交于
      We already have a fallback in place to fill out the unique from
      dev->unique, which is set to something reasonable in drm_dev_alloc.
      
      Which means we only need to have a special set_busid for pci devices,
      to be able to care the backwards compat code for drm 1.1 around, which
      libdrm still needs.
      
      While developing and testing this patch things blew up in really
      interesting ways, and the code is rather confusing in naming things
      between the kernel code, ioctl #defines and libdrm. For the next brave
      dragon slayer, document all this madness properly in the userspace
      interface section of gpu.tmpl.
      
      v2: Make drm_dev_set_unique static and update kerneldoc.
      
      v3: Entire rewrite, plus document what's going on for posterity in the
      gpu docbook uapi section.
      
      v4: Drop accidental amdgpu hunk (Emil).
      
      v5: Drop accidental omapdrm vblank counter change (Emil).
      
      v6: Rebase on top of the sphinx conversion.
      
      Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
      Cc: Emil Velikov <emil.l.velikov@gmail.com>
      Tested-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> (virt_gpu)
      Reviewed-by: NEmil Velikov <emil.l.velikov@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      a3257256
  22. 10 6月, 2016 1 次提交
  23. 02 6月, 2016 1 次提交
  24. 21 5月, 2016 1 次提交
    • D
      drm: Nuke ->vblank_disable_allowed · fcee5906
      Daniel Vetter 提交于
      This was added in
      
      commit 0a3e67a4
      Author: Jesse Barnes <jbarnes@virtuousgeek.org>
      Date:   Tue Sep 30 12:14:26 2008 -0700
      
          drm: Rework vblank-wait handling to allow interrupt reduction.
      
      to stay backwards-compatible with old UMS code that didn't even tell
      the kernel when it did a modeset, so that the kernel could
      save/restore vblank counters. At worst this means vblanks will be
      somewhat funky on a setup that very likely no one still runs.
      
      So let's just nuke it.
      
      Plan B would be to set it unconditionally in drm_vblank_init for kms
      drivers, instead of in each driver separately. So if this patch breaks
      anything please only restore the hunks in drmP.h and drm_irq.c, plus
      add a check for DRIVER_MODESET in drm_vblank_init.
      
      Stumbled over this in a discussion on irc with Chris.
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Acked-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Tested-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      fcee5906
  25. 10 5月, 2016 2 次提交
  26. 02 5月, 2016 1 次提交
  27. 13 3月, 2016 1 次提交
  28. 01 3月, 2016 2 次提交
  29. 08 2月, 2016 1 次提交
  30. 12 1月, 2016 1 次提交
    • I
      drm/exynos: fix kernel panic issue at drm releasing · c74d8eb5
      Inki Dae 提交于
      This patch fixes a kernel panic issue which happened
      when drm driver is closed while modetest.
      
      This issue could be reproduced easily by launching modetest
      with page flip repeatedly.
      
      The reason is that invalid drm_file object could be accessed by
      send_vblank_event function when finishing page flip if the drm_file
      object was removed by drm_release and there was a pended page
      flip event which was already committed to hardware.
      
      So this patch makes the pended page flip event to be cancelled by
      preclose callback which is called at front of drm_release function.
      
      Changelog v2:
      - free vblank event objects belonging to the request process,
        increment event space and decrease pending_update when cancelling
        the event
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Reviewed-by: NDaniel Stone <daniels@collabora.com>
      Acked-by: NDaniel Vetter <daniel@ffwll.ch>
      c74d8eb5
  31. 13 12月, 2015 1 次提交
  32. 03 11月, 2015 1 次提交
  33. 16 10月, 2015 1 次提交
  34. 07 10月, 2015 1 次提交