Re: [PATCH 1/7] drm/radeon/kms: make some DRM errors more informative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 18, 2012 at 10:09 PM, Marek Olšák <maraeo@xxxxxxxxx> wrote:
> Signed-off-by: Marek Olšák <maraeo@xxxxxxxxx>

For the series:

Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>

> ---
>  drivers/gpu/drm/radeon/evergreen_cs.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/evergreen_cs.c b/drivers/gpu/drm/radeon/evergreen_cs.c
> index 8bf576a..4674a68 100644
> --- a/drivers/gpu/drm/radeon/evergreen_cs.c
> +++ b/drivers/gpu/drm/radeon/evergreen_cs.c
> @@ -308,8 +308,8 @@ static int evergreen_surface_check(struct radeon_cs_parser *p,
>        case ARRAY_2D_TILED_THIN1:
>                return evergreen_surface_check_2d(p, surf, prefix);
>        default:
> -               dev_warn(p->dev, "%s:%d invalid array mode %d\n",
> -                               __func__, __LINE__, surf->mode);
> +               dev_warn(p->dev, "%s:%d %s invalid array mode %d\n",
> +                               __func__, __LINE__, prefix, surf->mode);
>                return -EINVAL;
>        }
>        return -EINVAL;
> @@ -327,8 +327,8 @@ static int evergreen_surface_value_conv_check(struct radeon_cs_parser *p,
>        case ARRAY_1D_TILED_THIN1:
>                return 0;
>        default:
> -               dev_warn(p->dev, "%s:%d invalid array mode %d\n",
> -                               __func__, __LINE__, surf->mode);
> +               dev_warn(p->dev, "%s:%d %s invalid array mode %d\n",
> +                               __func__, __LINE__, prefix, surf->mode);
>                return -EINVAL;
>        }
>
> --
> 1.7.5.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux