anv: Enable transfer queue only on ACM+ platforms

On older platforms, we have the blitter engine, but it lacks compression
handling and other features we need, unfortunately, so enable the
transfer queue only on ACM+ platforms.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25667>
This commit is contained in:
Sagar Ghuge 2023-10-11 13:59:21 -07:00 committed by Marge Bot
parent 1f77f52bbe
commit bed0542b2f

View file

@ -1152,7 +1152,8 @@ anv_physical_device_init_queue_families(struct anv_physical_device *pdevice)
c_count < 1 ? INTEL_ENGINE_CLASS_RENDER : INTEL_ENGINE_CLASS_COMPUTE;
int blit_count = 0;
if (debug_get_bool_option("INTEL_COPY_CLASS", false)) {
if (debug_get_bool_option("INTEL_COPY_CLASS", false) &&
pdevice->info.verx10 >= 125) {
blit_count = intel_engines_count(pdevice->engine_info,
INTEL_ENGINE_CLASS_COPY);
}