mesa/src/intel
Jordan Justen e02c6663e9 intel/tools: Fix intel_dev_info --hwconfig switch
Since a42a5bf87e, we've been closing the file descriptor immediately
after loading the devinfo struct.

intel_get_and_print_hwconfig_table() re-queries the hwconfig info from
the device to print out all the entries, so we need to leave the fd
open for this use. I moved the close() call to all paths which exit
the for loop's current iteration.

Ref: a42a5bf87e ("intel/devinfo: add an option to pick platform to print")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29549>
2024-06-06 00:41:13 +00:00
..
blorp intel/blorp: Allow gfx12 fast-clears without CCS surf 2024-06-05 20:08:26 +00:00
ci ci/intel: add new jsl flake 2024-05-16 22:50:09 +00:00
common intel: Compute the optimal preferred SLM size per subslice 2024-05-30 16:46:16 +00:00
compiler intel/fs: Adjust destination register size for global atomic on Xe2+ 2024-06-06 00:18:37 +00:00
decoder intel/decoder: Add intel_print_group_custom_spacing() 2024-04-24 17:07:50 +00:00
dev intel/xe2+: Enable native 64-bit integer arithmetic. 2024-05-31 09:14:01 -07:00
ds u_trace: extend tracepoint end_of_pipe bit into flags 2024-05-30 06:38:04 +00:00
genxml intel/genxml: Add RESOURCE_BARRIER for xe2 2024-06-05 15:22:25 +00:00
isl isl: Enable volumetric STC_CCS,HiZ+CCS on gfx12.0 2024-05-29 15:50:23 +00:00
nullhw-layer docs: replace references to the deprecated VK_INSTANCE_LAYERS with the new VK_LOADER_LAYERS_ENABLE 2024-04-02 18:08:52 +00:00
perf intel/perf: Add intel_perf_stream_read_samples() 2024-05-27 19:34:06 +00:00
shaders meson: use glslang --depfile argument when possible 2024-05-20 17:34:17 +00:00
tools intel/tools: Fix intel_dev_info --hwconfig switch 2024-06-06 00:41:13 +00:00
vulkan anv: fix pipeline flag fields 2024-06-05 20:30:16 +00:00
vulkan_hasvk hasvk: Advertise VK_EXT_shader_replicated_composites 2024-06-04 16:34:48 +00:00
meson.build intel: Only build shaders with anv and iris 2024-02-21 20:53:36 +00:00