From: Marek Olšák Date: Fri, 27 Dec 2019 23:02:33 +0000 (-0500) Subject: winsys/radeon: initialize pte_fragment_size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84b82f8cd1c9d0a03e68af3a68fb0b009be70780;p=mesa.git winsys/radeon: initialize pte_fragment_size Cc: 19.2 19.3 Closes: #2179 Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 0a4da02262e..31a6758fe90 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -946,6 +946,7 @@ radeon_drm_winsys_create(int fd, const struct pipe_screen_config *config, /* TTM aligns the BO size to the CPU page size */ ws->info.gart_page_size = sysconf(_SC_PAGESIZE); + ws->info.pte_fragment_size = 64 * 1024; /* GPUVM page size */ if (ws->num_cpus > 1 && debug_get_option_thread()) util_queue_init(&ws->cs_queue, "rcs", 8, 1, 0);