diff --git a/src/gallium/drivers/ethosu/ethosu_device.c b/src/gallium/drivers/ethosu/ethosu_device.c index ee665ce94fb..55033f7e92b 100644 --- a/src/gallium/drivers/ethosu/ethosu_device.c +++ b/src/gallium/drivers/ethosu/ethosu_device.c @@ -293,7 +293,9 @@ ethosu_screen_create(int fd, screen->resource_destroy = ethosu_resource_destroy; screen->get_ml_device = ethosu_ml_device_create_accel; - ethosu_screen->ml_device.base.id = "ethosu-65-256"; + ethosu_screen->ml_device.base.id = + ralloc_asprintf(ethosu_screen, "ethosu-%u-256-%u", + is_u65 ? 65 : 85, ethosu_screen->info.sram_size); set_device_callbacks(ðosu_screen->ml_device); return screen;