iris: Store intel_device_info in iris_bufmgr
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 11 Oct 2022 20:37:29 +0000 (13:37 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 15 Dec 2022 18:55:02 +0000 (18:55 +0000)
commitaff85114fd3593592e2e54ee768c664e16338751
tree4e31b97cd975b08d7acb9f0555c8d1ce0ab9501c
parentb21cd1ee1ba85065b27bf71a7d3b8498dcdd6b76
iris: Store intel_device_info in iris_bufmgr

We can have multiple pipe_screen but only one iris_bufmgr per device.
So better to store intel_device_info into the shared iris_bufmgr and
save some memory.
Also in future patches iris_bufmgr will make more use of
intel_device_info.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19650>
24 files changed:
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_batch.h
src/gallium/drivers/iris/iris_binder.c
src/gallium/drivers/iris/iris_blit.c
src/gallium/drivers/iris/iris_bufmgr.c
src/gallium/drivers/iris/iris_bufmgr.h
src/gallium/drivers/iris/iris_clear.c
src/gallium/drivers/iris/iris_context.c
src/gallium/drivers/iris/iris_disk_cache.c
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_formats.c
src/gallium/drivers/iris/iris_measure.c
src/gallium/drivers/iris/iris_monitor.c
src/gallium/drivers/iris/iris_performance_query.c
src/gallium/drivers/iris/iris_pipe_control.c
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/iris/iris_program_cache.c
src/gallium/drivers/iris/iris_query.c
src/gallium/drivers/iris/iris_resolve.c
src/gallium/drivers/iris/iris_resource.c
src/gallium/drivers/iris/iris_screen.c
src/gallium/drivers/iris/iris_screen.h
src/gallium/drivers/iris/iris_state.c
src/gallium/drivers/iris/iris_utrace.c