[PATCH 1/3] xfree86: vgaarb: close and cleanup vga arbiter

Dave Airlie airlied at redhat.com
Thu Sep 10 16:15:07 PDT 2009


On Thu, 2009-09-10 at 17:52 +0300, Tiago Vignatti wrote:
> So far there are no apparently issues on not closing the fd. But let's do the
> right job here.
> 
> Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>

Acked-by: Dave Airlie <airlied at redhat.com>

> ---
>  hw/xfree86/common/xf86Init.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
> index f9224b1..8f2cdf6 100644
> --- a/hw/xfree86/common/xf86Init.c
> +++ b/hw/xfree86/common/xf86Init.c
> @@ -1181,6 +1181,8 @@ ddxGiveUp(void)
>  {
>      int i;
>  
> +    xf86VGAarbiterFini();
> +
>  #ifdef XF86PM
>      if (xf86OSPMClose)
>  	xf86OSPMClose();



More information about the xorg-devel mailing list