[PATCH] drm/radeon: don't print error on -ERESTARTSYS

Alex Deucher alexdeucher at gmail.com
Fri Jan 9 05:28:34 PST 2015


On Fri, Jan 9, 2015 at 5:07 AM, Christian König <deathsimple at vodafone.de> wrote:
> From: Christian König <christian.koenig at amd.com>
>
> Signed-off-by: Christian König <christian.koenig at amd.com>

Applied to my -fixes tree.  Thanks!

Alex

> ---
>  drivers/gpu/drm/radeon/radeon_gem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
> index a46f737..d0b4f7d 100644
> --- a/drivers/gpu/drm/radeon/radeon_gem.c
> +++ b/drivers/gpu/drm/radeon/radeon_gem.c
> @@ -576,7 +576,7 @@ error_unreserve:
>  error_free:
>         drm_free_large(vm_bos);
>
> -       if (r)
> +       if (r && r != -ERESTARTSYS)
>                 DRM_ERROR("Couldn't update BO_VA (%d)\n", r);
>  }
>
> --
> 1.9.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list