summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/tests/xe_migrate.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-03-24 08:17:52 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:30:27 +0300
commit6b8ddaf3721e86bacc0be72bf12fa76233b9becf (patch)
treedc5917f2c24187dda6ddbe3a92bf8ffd15e9eebb /drivers/gpu/drm/xe/tests/xe_migrate.c
parent1bf1d86f12d4d07108d480878193acd1e4d87668 (diff)
downloadlinux-6b8ddaf3721e86bacc0be72bf12fa76233b9becf.tar.xz
drm/xe: Remove unused revid from firmware name
The rev field is always 0 so it ends up never used. In i915 it was introduced because of CML: up to rev 5 it reuses the guc and huc firmware blobs from KBL. After that there is a specific firmware for that platform. This can be reintroduced later if ever needed. With the removal of revid the packed attribute in uc_fw_platform_requirement, which is there only for reducing the space these tables take, can also be removed since it has even more limited usefulness: currently there's only padding of 2 bytes. Remove the attribute to avoid the unaligned access. $ pahole -C uc_fw_platform_requirement build64/drivers/gpu/drm/xe/xe_uc_fw.o struct uc_fw_platform_requirement { enum xe_platform p; /* 0 4 */ const struct uc_fw_blob blob; /* 4 10 */ /* size: 16, cachelines: 1, members: 2 */ /* padding: 2 */ /* last cacheline: 16 bytes */ }; Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20230324051754.1346390-2-lucas.demarchi@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/tests/xe_migrate.c')
0 files changed, 0 insertions, 0 deletions