On Fri, 2017-10-13 at 11:11 +0000, Michal Wajdeczko wrote: > Checking GuC firmware size can be done in GuC specific code > right before DMA copy as it is unlikely to fail anyway. > > v2: rebased > > Signed-off-by: Michal Wajdeczko <[email protected]> > Cc: Sagar Arun Kamble <[email protected]> > Cc: Joonas Lahtinen <[email protected]> > Reviewed-by: Sagar Arun Kamble <[email protected]> #1
<SNIP> So, lets move this code under the "uc_fw->ucode_size = (css->size_dw - css->header_size_dw) * sizeof(u32);" line and consider any firmware with conflicting information a corrupt file. Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
