Rohan Garg
628c10f14e
intel/genxml: Free resource before exiting
...
Signed-off-by: Rohan Garg <rohan.garg@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8162 >
2021-02-16 15:07:52 +01:00
Lionel Landwerlin
320d80f2ce
intel/genxml: make sure test assert are compiled in
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Anuj Phogat anuj.phogat@gmail.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6678 >
2020-09-15 06:14:34 +00:00
Mark Janes
086c486a75
intel/device: rename gen_get_device_info
...
Rename the original device info initialization routine so callers
don't mistakenly call the wrong one:
gen_get_device_info_from_fd:
Queries kernel for full device info, including topology
details.
gen_get_device_info_from_pci_id:
Partially initializes device info based on PCI ID lookup, when
the kernel is not available.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-08-01 16:39:56 -07:00
Kenneth Graunke
fe08aa67a8
intel/mi: Add a unit test for gen_mi_store_if().
...
This tests that predicated stores work.
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
2019-07-25 18:42:55 +00:00
Rafael Antognolli
1f4cbc9a06
intel/genxml: Add new test for subgroups.
...
Make sure that a <group> tag within another <group> tag work just fine.
v2: rename 'halfbyte' to 'byte' to match the size (Lionel).
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-07-23 17:45:19 +00:00
Rafael Antognolli
fe5ae96d66
intel/genxml: Add basic infra for encoding/decoding unit tests.
...
Adding option to print quiet.
v2: Add license header.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-07-23 17:45:19 +00:00
Jason Ekstrand
583a4d9a27
intel/mi_builder: Disable mem_mem tests on IVB
...
Tested-by: Clayton Craft <clayton.a.craft@intel.com>
2019-04-16 12:59:12 -05:00
Jason Ekstrand
316a98dec9
intel/common: Support bigger right-shifts with mi_builder
...
Because why not?
2019-04-11 18:04:09 +00:00
Jason Ekstrand
d17dd46b09
anv: Move mi_memcpy and mi_memset to gen_mi_builder
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-04-11 18:04:09 +00:00
Jason Ekstrand
8b8deeca78
intel/common: Add unit tests for gen_mi_builder
...
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-04-11 18:04:09 +00:00