Skip to content

Commit

Permalink
Update freedreno_bo.c
Browse files Browse the repository at this point in the history
reset for redo
  • Loading branch information
SolDev69 committed Dec 8, 2023
1 parent ed9a9e8 commit fdc268c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/freedreno/drm/freedreno_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ fd_bo_map(struct fd_bo *bo)
if (bo->alloc_flags & FD_BO_NOMAP)
return NULL;

return bo->funcs->map(bo);
return __fd_bo_map(bo);
}

void
Expand All @@ -640,7 +640,7 @@ fd_bo_upload(struct fd_bo *bo, void *src, unsigned off, unsigned len)
return;
}

memcpy((uint8_t *)bo->funcs->map(bo) + off, src, len);
memcpy((uint8_t *)__fd_bo_map(bo) + off, src, len);
}

bool
Expand Down

0 comments on commit fdc268c

Please sign in to comment.