summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorIlia Levi <ilia.levi@intel.com>2025-02-13 12:35:59 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2025-02-18 19:27:11 +0300
commiteb79d71e506a1caeb0dedd1bab0e6899e8e74f5b (patch)
tree6c063fa3e5bf52da7aec1b4572a03e36b56542bb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent5bee1e2de39fe41be132ee389529407212894582 (diff)
downloadlinux-eb79d71e506a1caeb0dedd1bab0e6899e8e74f5b.tar.xz
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions