diff options
author | Marek Olšák <[email protected]> | 2019-12-27 18:02:33 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-12-30 20:20:59 -0500 |
commit | 84b82f8cd1c9d0a03e68af3a68fb0b009be70780 (patch) | |
tree | 8c226165e7ad9adc204fa5bfcb5fb9b08850bc98 /src/gallium/winsys | |
parent | 5c9dcbea77a11836907d6ba0c8a9259b9b27630c (diff) |
winsys/radeon: initialize pte_fragment_size
Cc: 19.2 19.3 <[email protected]>
Closes: #2179
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |