summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner.de@gmail.com>2017-06-21 03:44:55 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-07-14 11:05:51 -0400
commit08d3874636a20b8852f8eea1c6ad1054234c9ae6 (patch)
tree6d5f1480d2c92157648e9625fbe495e4611da5a1 /drivers/gpu/drm/amd/amdgpu
parente4f6b39e8bcd1f4c455acbc1aef2de9a4a32deeb (diff)
downloadlwn-08d3874636a20b8852f8eea1c6ad1054234c9ae6.tar.gz
lwn-08d3874636a20b8852f8eea1c6ad1054234c9ae6.zip
drm/radeon: Allow vblank_disable_immediate.
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 HD 5770 (DCE 4) 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-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions