diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 35279e9e86d..b692a355530 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -1500,8 +1500,7 @@ iris_resource_from_handle(struct pipe_screen *pscreen, res->bo = NULL; } - if (get_num_planes(&res->base.b) == - iris_get_dmabuf_modifier_planes(pscreen, modifier, whandle->format)) { + if (whandle->plane == 0) { iris_resource_finish_aux_import(pscreen, res); }