[PATCH 2/3] drm: Prevent invalid use of vblank_disable_immediate.

2015-04-15 Thread Michel Dänzer
On 15.04.2015 02:41, Mario Kleiner wrote: > For a kms driver to support immediate disable of vblank > irq's reliably without introducing off by one errors or > other mayhem for clients, it must not only support a > hardware vblank counter query, but also high precision > vblank timestamping, so

[PATCH 2/3] drm: Prevent invalid use of vblank_disable_immediate.

2015-04-14 Thread Mario Kleiner
For a kms driver to support immediate disable of vblank irq's reliably without introducing off by one errors or other mayhem for clients, it must not only support a hardware vblank counter query, but also high precision vblank timestamping, so vblank count and timestamp can be instantaneously