lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMeQTsYyeqtjBooK3==wgApbPC8zpNyNxYZ+tm5abmrd5q9odw@mail.gmail.com>
Date:	Tue, 7 Jun 2016 16:34:34 +0200
From:	Patrik Jakobsson <patrik.r.jakobsson@...il.com>
To:	Gustavo Padovan <gustavo@...ovan.org>
Cc:	dri-devel <dri-devel@...ts.freedesktop.org>,
	Gustavo Padovan <gustavo.padovan@...labora.co.uk>,
	David Airlie <airlied@...ux.ie>,
	open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 07/10] drm/gma500: use drm_crtc_vblank_{on,off}()

On Tue, Jun 7, 2016 at 4:07 PM, Gustavo Padovan <gustavo@...ovan.org> wrote:
> From: Gustavo Padovan <gustavo.padovan@...labora.co.uk>
>
> Replace the legacy drm_vblank_{on,off}() with the new helper functions.
>
> Signed-off-by: Gustavo Padovan <gustavo.padovan@...labora.co.uk>

Acked-by: Patrik Jakobsson <patrik.r.jakobsson@...il.com>

> ---
>  drivers/gpu/drm/gma500/gma_display.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/gma500/gma_display.c b/drivers/gpu/drm/gma500/gma_display.c
> index c95406e..e3d9e35 100644
> --- a/drivers/gpu/drm/gma500/gma_display.c
> +++ b/drivers/gpu/drm/gma500/gma_display.c
> @@ -281,7 +281,7 @@ void gma_crtc_dpms(struct drm_crtc *crtc, int mode)
>                 REG_WRITE(VGACNTRL, VGA_DISP_DISABLE);
>
>                 /* Turn off vblank interrupts */
> -               drm_vblank_off(dev, pipe);
> +               drm_crtc_vblank_off(crtc);
>
>                 /* Wait for vblank for the disable to take effect */
>                 gma_wait_for_vblank(dev);
> --
> 2.5.5
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ