diff options
author | 2025-02-21 15:51:42 -0300 | |
---|---|---|
committer | 2025-03-05 12:16:04 -0800 | |
commit | 2d197a1f70be3f3c82858eedc50c93ac5f639bc6 (patch) | |
tree | 805d2b96fec1e6d7968bbc97b797a2be73a4bd88 /mm/memory.c | |
parent | drm/xe: Disambiguate GMDID-based IP names (diff) | |
download | wireguard-linux-2d197a1f70be3f3c82858eedc50c93ac5f639bc6.tar.xz wireguard-linux-2d197a1f70be3f3c82858eedc50c93ac5f639bc6.zip |
drm/xe: Rename gmdid_map to xe_ip
If we pay closer attention to struct gmdid_map, we will realize that it
is actually fully describing an IP (graphics or media): it contains
"release info" and "features info". The former is comprised of fields
"ver" and "name"; and the latter is done via member "ip", which is a
pointer to either struct xe_graphics_desc or xe_media_desc, and can be
reused across releases.
As such let's:
* Rename struct gmdid_map to xe_ip.
* Rename the field ver to verx100 to be consistent with the naming of
members using that encoding of the version.
* Rename the field "ip" to "desc" to make it clear that it is a
pointer to a descriptor of features for the IP, since it will not
contain *all* info (i.e. features + release info).
We sill have release info mapped into struct xe_{graphics,media}_desc
for pre-GMDID IPs. In an upcoming change we will handle that so that we
make a clear separation between "release info" and "feature info".
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250221-xe-unify-ip-descriptors-v2-3-5bc0c6d0c13f@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions