Commit 9985cf23 authored by Mika Kuoppala's avatar Mika Kuoppala Committed by Chris Wilson

lib: Fix interface descriptor fills

For gen8+ we need to increment the pointer for interface
descriptor size amount. Otherwise the next indirect item
introduced will overwrite our descriptor.

Apparently this has not caused much havoc as interface
descs has been the last item.

Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Zbigniew Kempczyński's avatarZbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent df9004c5
Pipeline #171350 passed with stages
in 11 minutes and 38 seconds
......@@ -363,6 +363,8 @@ gen8_fill_interface_descriptor(struct intel_bb *ibb,
idd->desc6.num_threads_in_tg = 1;
intel_bb_ptr_add(ibb, sizeof(*idd));
return offset;
}
......@@ -399,6 +401,8 @@ gen11_fill_interface_descriptor(struct intel_bb *ibb,
idd->desc6.num_threads_in_tg = 1;
intel_bb_ptr_add(ibb, sizeof(*idd));
return offset;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment