[drm-next 01/14] drm/radeon/kms: add wait_for_vblank asic callback
Alex Deucher
alexdeucher at gmail.com
Fri Feb 24 07:14:02 PST 2012
2012/2/24 Michel Dänzer <michel at daenzer.net>:
> On Don, 2012-02-23 at 17:53 -0500, alexdeucher at gmail.com wrote:
>> From: Alex Deucher <alexander.deucher at amd.com>
>>
>> Required for future functionality.
>
> These callbacks may take tens of milliseconds to complete, that's a lot
> of spinning. :) Depending on what they'll be used for, it might be
> better to wait for vertical blank interrupts, or use sleeps and
> VBLANK_SAVE / VBLANK_OCCURRED bits.
The latter would probably work. I just need to wait for a vblank to occur.
>
>
> --
> Earthling Michel Dänzer | http://www.amd.com
> Libre software enthusiast | Debian, X and DRI developer
More information about the dri-devel
mailing list