mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 06:38:09 +02:00
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: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
34d51f931b
commit
631255387f
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue