Re: [PATCH 09/12] drm/irq: Lack of interrupt support in drm_vblank_on|off

Thierry Reding
2014-05-21T12:49:59Z

[-- Attachment #1.1: Type: text/plain, Size: 658 bytes --]

On Wed, May 14, 2014 at 08:51:12PM +0200, Daniel Vetter wrote:
> If we want to use this functionality in generic helpers to make
> sure that all drivers have somewhat sane vblank handling across
> modesets/dpms, we need to make it work for all drivers. But some
> don't support interrupts and hence also not vblank waits.
>
> Just return early on such drivers.
>
> Note that with pageflips drivers are free to implement them however
> they wish to.
>
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
> drivers/gpu/drm/drm_irq.c | 6 ++++++
> 1 file changed, 6 insertions(+)

Reviewed-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #1.2: Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org