Skip to content
Snippets Groups Projects
Commit 63125538 authored by Tapani Pälli's avatar Tapani Pälli
Browse files

iris: close screen fd on iris_destroy_screen


Otherwise it never gets closed, this fixes errors seen with deqp-egl
where we end up opening 1024 files.

Fixes: 2dce0e94 ("iris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.")
Signed-off-by: default avatarTapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 34d51f93
No related branches found
No related tags found
No related merge requests found
......@@ -525,6 +525,7 @@ iris_destroy_screen(struct pipe_screen *pscreen)
u_transfer_helper_destroy(pscreen->transfer_helper);
iris_bufmgr_destroy(screen->bufmgr);
disk_cache_destroy(screen->disk_cache);
close(screen->fd);
ralloc_free(screen);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment