mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/xe: rename XE_WA to XE_GT_WA
Now that there are two types of wa tables and infrastructure, be more concise in the naming of GT wa macros. v2: update the documentation Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://lore.kernel.org/r/20250807214224.32728-1-matthew.s.atwood@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
80944d3341
commit
4d5c98eb77
@@ -477,7 +477,7 @@ static size_t calc_topo_query_size(struct xe_device *xe)
|
||||
sizeof_field(struct xe_gt, fuse_topo.eu_mask_per_dss);
|
||||
|
||||
/* L3bank mask may not be available for some GTs */
|
||||
if (!XE_WA(gt, no_media_l3))
|
||||
if (!XE_GT_WA(gt, no_media_l3))
|
||||
query_size += sizeof(struct drm_xe_query_topology_mask) +
|
||||
sizeof_field(struct xe_gt, fuse_topo.l3_bank_mask);
|
||||
}
|
||||
@@ -540,7 +540,7 @@ static int query_gt_topology(struct xe_device *xe,
|
||||
* mask, then it's better to omit L3 from the query rather than
|
||||
* reporting bogus or zeroed information to userspace.
|
||||
*/
|
||||
if (!XE_WA(gt, no_media_l3)) {
|
||||
if (!XE_GT_WA(gt, no_media_l3)) {
|
||||
topo.type = DRM_XE_TOPO_L3_BANK;
|
||||
err = copy_mask(&query_ptr, &topo, gt->fuse_topo.l3_bank_mask,
|
||||
sizeof(gt->fuse_topo.l3_bank_mask));
|
||||
|
||||
Reference in New Issue
Block a user