mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-28 14:30:13 +01:00
nouveau: disable m2mf buffer move for the moment
This commit is contained in:
parent
6abbbb2f4f
commit
9096d50df7
1 changed files with 3 additions and 2 deletions
|
|
@ -54,7 +54,8 @@ static int
|
|||
nouveau_bo_fence_type(struct drm_buffer_object *bo,
|
||||
uint32_t *fclass, uint32_t *type)
|
||||
{
|
||||
*fclass = 0;
|
||||
/* When we get called, *fclass is set to the requested fence class */
|
||||
|
||||
if (bo->mem.mask & (DRM_BO_FLAG_READ | DRM_BO_FLAG_WRITE))
|
||||
*type = 3;
|
||||
else
|
||||
|
|
@ -216,7 +217,7 @@ nouveau_bo_move(struct drm_buffer_object *bo, int evict, int no_wait,
|
|||
return drm_bo_move_memcpy(bo, evict, no_wait, new_mem);
|
||||
}
|
||||
else {
|
||||
if (nouveau_bo_move_m2mf(bo, evict, no_wait, new_mem))
|
||||
// if (nouveau_bo_move_m2mf(bo, evict, no_wait, new_mem))
|
||||
return drm_bo_move_memcpy(bo, evict, no_wait, new_mem);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue