Skip to content
Snippets Groups Projects
Select Git revision
  • 8e1b90cc44181405418071a13ead5892c3879239
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

amdgpu_irq.c

  • Mario Kleiner's avatar
    8e1b90cc
    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
    History
    drm/amdgpu: Allow vblank_disable_immediate.
    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>