Skip to content
Snippets Groups Projects
Commit 2e9a37cf authored by Tapani Pälli's avatar Tapani Pälli Committed by Dylan Baker
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>
(cherry picked from commit 63125538)
parent b94ab6f5
No related branches found
No related tags found
No related merge requests found
......@@ -521,6 +521,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