diff options
| author | Ilia Levi <[email protected]> | 2025-02-13 09:35:59 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-02-18 16:27:11 +0000 |
| commit | eb79d71e506a1caeb0dedd1bab0e6899e8e74f5b (patch) | |
| tree | 6c063fa3e5bf52da7aec1b4572a03e36b56542bb /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | drm/xe: s/xe_mmio_init/xe_mmio_probe_early (diff) | |
| download | kernel-eb79d71e506a1caeb0dedd1bab0e6899e8e74f5b.tar.gz kernel-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 <[email protected]>
Reviewed-by: Michal Wajdeczko <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
