Re: [PATCH] drm/radeon: move the IB test after the AGP fallback

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

 



On Sun, Aug 24, 2014 at 8:54 AM, Christian König
<deathsimple@xxxxxxxxxxx> wrote:
> From: Christian König <christian.koenig@xxxxxxx>
>
> Otherwise we won't test if the fallback to PCIe GART really worked.
>
> Signed-off-by: Christian König <christian.koenig@xxxxxxx>

Applied to my 3.18 tree.

Alex

> ---
>  drivers/gpu/drm/radeon/radeon_device.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
> index c58f84f..152181d 100644
> --- a/drivers/gpu/drm/radeon/radeon_device.c
> +++ b/drivers/gpu/drm/radeon/radeon_device.c
> @@ -1397,10 +1397,6 @@ int radeon_device_init(struct radeon_device *rdev,
>         if (r)
>                 return r;
>
> -       r = radeon_ib_ring_tests(rdev);
> -       if (r)
> -               DRM_ERROR("ib ring test failed (%d).\n", r);
> -
>         r = radeon_gem_debugfs_init(rdev);
>         if (r) {
>                 DRM_ERROR("registering gem debugfs failed (%d).\n", r);
> @@ -1418,6 +1414,10 @@ int radeon_device_init(struct radeon_device *rdev,
>                         return r;
>         }
>
> +       r = radeon_ib_ring_tests(rdev);
> +       if (r)
> +               DRM_ERROR("ib ring test failed (%d).\n", r);
> +
>         if ((radeon_testing & 1)) {
>                 if (rdev->accel_working)
>                         radeon_test_moves(rdev);
> --
> 1.8.3.2
>
> _______________________________________________
> 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