intel/rt: Add a brw_rt.h header with #defines for basic RT data structures

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7356>
This commit is contained in:
Jason Ekstrand
2020-08-06 12:53:47 -05:00
committed by Marge Bot
parent 7280b0911d
commit 6d5b57aeb7
4 changed files with 171 additions and 0 deletions
+6
View File
@@ -294,6 +294,12 @@ gen_device_info_eu_available(const struct gen_device_info *devinfo,
return (devinfo->eu_masks[subslice_offset + eu / 8] & (1U << eu % 8)) != 0;
}
static inline unsigned
gen_device_info_num_dual_subslices(const struct gen_device_info *devinfo)
{
unreachable("TODO");
}
int gen_device_name_to_pci_device_id(const char *name);
const char *gen_get_device_name(int devid);