aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2024-08-29 15:06:22 -0700
committerMatt Roper <matthew.d.roper@intel.com>2024-08-30 08:56:23 -0700
commit20f61c1ead989e5d16f35bd0a546c6233b703b69 (patch)
tree21ec4798c6544115c09a52cd6ce36a072b2ac05d /scripts/generate_rust_analyzer.py
parentdrm/xe/pcode: Treat pcode as per-tile rather than per-GT (diff)
downloadlinux-rng-20f61c1ead989e5d16f35bd0a546c6233b703b69.tar.xz
linux-rng-20f61c1ead989e5d16f35bd0a546c6233b703b69.zip
drm/xe/hwmon: Treat hwmon as a per-device concept
There's only one instance of hwmon per device, and MMIO access to it is always done through the root tile. The code has been passing around a pointer to the root tile's primary GT, which is confusing since this isn't really a GT-level concept. Replace that pointer with an xe_device pointer and use xe_root_mmio_gt(xe) to get a pointer when we need to do register MMIO. This makes things easier to follow, and also cleans up the code in preparation for a much larger MMIO register access overhaul that's coming soon. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240829220619.789159-6-matthew.d.roper@intel.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions