mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +01:00
intel/dev: provide intel_device_info_is_adln helper
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25671>
This commit is contained in:
parent
ffa458ee8f
commit
3cf71ddfac
2 changed files with 9 additions and 0 deletions
|
|
@ -1151,6 +1151,12 @@ static const struct intel_device_info intel_device_info_mtl_p = {
|
|||
.platform = INTEL_PLATFORM_MTL_P,
|
||||
};
|
||||
|
||||
bool
|
||||
intel_device_info_is_adln(const struct intel_device_info *devinfo)
|
||||
{
|
||||
return devinfo == &intel_device_info_adl_n;
|
||||
}
|
||||
|
||||
void
|
||||
intel_device_info_topology_reset_masks(struct intel_device_info *devinfo)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -101,6 +101,9 @@ enum intel_platform {
|
|||
#define intel_device_info_is_mtl(devinfo) \
|
||||
intel_platform_in_range((devinfo)->platform, MTL)
|
||||
|
||||
bool
|
||||
intel_device_info_is_adln(const struct intel_device_info *devinfo);
|
||||
|
||||
struct intel_memory_class_instance {
|
||||
/* Kernel backend specific class value, no translation needed yet */
|
||||
uint16_t klass;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue