[Mesa-dev] [PATCH 3/3] winsys/radeon: disable virtual address space by default

Alex Deucher alexdeucher at gmail.com
Thu Aug 30 09:02:29 PDT 2012


On Thu, Aug 30, 2012 at 11:35 AM, Marek Olšák <maraeo at gmail.com> wrote:
> This fixes hangs on Cayman. We should have this patch in stable branches,
> but it would be better to have it in master as well for Cayman to be usable.

There is no VM support in the stable branches, only master so no need
to backport this.  This needs to be on by default for SI chips as they
are VM only.  With those changes, I'm fine with turning it off by
default on cayman for mesa 9.0.

Alex

> ---
>  src/gallium/winsys/radeon/drm/radeon_drm_winsys.c |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
> index c03dd04..f4999ed 100644
> --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
> +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
> @@ -303,6 +303,9 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws)
>                                        &ws->info.r600_ib_vm_max_size))
>                  ws->info.r600_virtual_address = FALSE;
>          }
> +        /* Remove this line once the virtual address space feature is fixed. */
> +        if (!debug_get_bool_option("RADEON_VA", FALSE))
> +            ws->info.r600_virtual_address = FALSE;
>      }
>
>      /* Get max pipes, this is only needed for compute shaders.  All evergreen+
> --
> 1.7.9.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list