diff options
author | Gustavo Sousa <gustavo.sousa@intel.com> | 2025-02-21 15:51:42 -0300 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2025-03-05 12:16:04 -0800 |
commit | 2d197a1f70be3f3c82858eedc50c93ac5f639bc6 (patch) | |
tree | 805d2b96fec1e6d7968bbc97b797a2be73a4bd88 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0695c746f55c875f4cf20bab92533a800a0fe4d6 (diff) |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions