Skip to content
Snippets Groups Projects
  1. Sep 27, 2018
  2. Aug 27, 2018
  3. Jun 15, 2018
  4. Mar 21, 2018
  5. Feb 28, 2018
  6. Feb 19, 2018
  7. Dec 18, 2017
  8. Dec 15, 2017
  9. Dec 04, 2017
  10. Sep 26, 2017
  11. Aug 29, 2017
  12. Aug 23, 2017
  13. Jul 14, 2017
    • Mario Kleiner's avatar
      drm/amdgpu: Allow vblank_disable_immediate. · 8e1b90cc
      Mario Kleiner authored
      
      With instantaneous high precision vblank timestamping
      that updates at leading edge of vblank, a cooked hw
      vblank counter which increments at leading edge of
      vblank, and reliable page flip execution and completion
      at leading edge of vblank, we should meet the requirements
      for fast/immediate vblank irq disable/enable.
      
      Testing on Linux-4.12-rc5 + drm-next on a Radeon R9 380
      Tonga Pro (DCE 10) with timing measurement equipment
      indicates this works fine, so allow immediate vblank
      disable for power saving.
      
      For debugging in case of unexpected trouble, booting
      with kernel cmdline option drm.vblankoffdelay=0
      (or echo 0 > /sys/module/drm/parameters/vblankoffdelay)
      would keep vblank irqs permanently on to approximate old
      behavior.
      
      Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
      Signed-off-by: default avatarMario Kleiner <mario.kleiner.de@gmail.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Michel Dänzer <michel.daenzer@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      8e1b90cc
  14. Jun 23, 2017
  15. May 24, 2017
  16. Apr 06, 2017
  17. Mar 30, 2017
  18. Dec 18, 2016
  19. Nov 23, 2016
  20. Oct 24, 2016
  21. Jul 07, 2016
  22. May 20, 2016
    • Daniel Vetter's avatar
      drm: Nuke ->vblank_disable_allowed · fcee5906
      Daniel Vetter authored
      
      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: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Acked-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
      Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Tested-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      fcee5906
  23. May 05, 2016
  24. Apr 01, 2016
  25. Jan 13, 2016
  26. Jan 11, 2016
  27. Sep 23, 2015
  28. Aug 17, 2015
  29. Jun 04, 2015
Loading