diff options
author | 2025-02-13 11:35:59 +0200 | |
---|---|---|
committer | 2025-02-18 08:27:11 -0800 | |
commit | eb79d71e506a1caeb0dedd1bab0e6899e8e74f5b (patch) | |
tree | 6c063fa3e5bf52da7aec1b4572a03e36b56542bb /scripts/lib/kdoc/kdoc_output.py | |
parent | drm/xe: s/xe_mmio_init/xe_mmio_probe_early (diff) | |
download | linux-rng-eb79d71e506a1caeb0dedd1bab0e6899e8e74f5b.tar.xz linux-rng-eb79d71e506a1caeb0dedd1bab0e6899e8e74f5b.zip |
drm/xe: Add xe_mmio_init() initialization function
Add a convenience function for minimal initialization of struct xe_mmio.
This function also validates that the entirety of the provided mmio region
is usable with struct xe_reg.
v2: Modify commit message, add kernel doc, refactor assert (Michal)
v3: Fix off-by-one bug, add clarifying macro (Michal)
v4: Derive bitfield width from size (Michal)
Signed-off-by: Ilia Levi <ilia.levi@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250213093559.204652-1-ilia.levi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions