Skip to content

Commit

Permalink
fix close handle drm
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Dec 7, 2023
1 parent a8bc345 commit cbd7b2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/freedreno/drm/freedreno_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@ fd_bo_fini_fences(struct fd_bo *bo)
void
fd_bo_close_handle_drm(struct fd_bo *bo)
{
bo->dev->funcs->bo_close_handle(dev, handle);
struct drm_gem_close req = {
.handle = bo->handle,
};
drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req);
}

Expand Down

0 comments on commit cbd7b2b

Please sign in to comment.