diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index e61e9fd..4e1d673 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -823,16 +823,10 @@ radeon_winsys_bo_create(struct radeon_winsys *rws, /* Assign a buffer manager. */ if (use_reusable_pool) { - if (domain == RADEON_DOMAIN_VRAM) { - if (flags & RADEON_FLAG_GTT_WC) - provider = ws->cman_vram_gtt_wc; - else - provider = ws->cman_vram; - } else if (flags & RADEON_FLAG_GTT_WC) { - provider = ws->cman_gtt_wc; - } else { + if (domain == RADEON_DOMAIN_VRAM) + provider = ws->cman_vram; + else provider = ws->cman_gtt; - } } else { provider = ws->kman; }