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 <>
Reviewed-by: Kenneth Graunke <>
38 jobs for !2006 with iris-close-screen-fd in 23 minutes and 32 seconds (queued for 5 seconds)
merge request