mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +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> (cherry picked from commit631255387f)
This commit is contained in:
parent
b94ab6f5e3
commit
2e9a37cf1c
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue