diff options
author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2024-05-24 00:30:42 +0200 |
---|---|---|
committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2024-05-24 10:08:28 +0200 |
commit | fcc6b719ae8576a00ddd3e261b18443594250189 (patch) | |
tree | ab7855668eaa9d90810035a118d6be725897f52c /tools/perf/scripts/python/stackcollapse.py | |
parent | 2948b24233cfe3c8f2c071b6c83efc3e05881023 (diff) |
drm/xe/vf: Provide early access to GMDID register
VFs do not have direct access to the GMDID register and must obtain
its value from the GuC. Since we need GMDID value very early in the
driver probe flow, before we even start the full setup of GT and GuC
data structures, we must do some early initializations ourselves.
Additionally, since we also need GMDID for the media GT, which isn't
created yet, temporarly tweak the root GT type into MEDIA to allow
communication with the correct GuC, as only it can provide the value
of the media GMDID register.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240523223042.888-1-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions