[PATCH 1/4] drm/vc4: Allow vblank_disable_immediate on non-fw-kms.
Mario Kleiner
mario.kleiner.de at gmail.com
Thu Jun 22 01:39:36 UTC 2017
On 06/21/2017 06:19 PM, Eric Anholt wrote:
> Mario Kleiner <mario.kleiner.de at gmail.com> writes:
>
>> With instantaneous high precision vblank timestamping
>> that updates at leading edge of vblank, the emulated
>> "hw vblank counter" from vblank timestamping 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
>> vblank irq disable/enable.
>>
>> Testing against rpi-4.12-rc5 Linux kernel 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
>> would keep vblank irqs on to approximate old behavior.
>>
>> Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
>> Cc: Eric Anholt <eric at anholt.net>
>
> If you can spin this against drm-misc-next instead of the downstream
> tree, I can get it applied.
>
Done, thanks!
-mario
More information about the amd-gfx
mailing list