diff options
author | Matthew Auld <matthew.auld@intel.com> | 2022-04-20 19:16:12 +0100 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2022-04-21 10:10:56 +0100 |
commit | 9707cc4bbaa97f289083d437b8f4d060157f2394 (patch) | |
tree | ce40f66851e1e6bc3518191897b7cac39ccb177b /drivers/gpu/drm/i915/intel_pcode.c | |
parent | be77bb3e8d4d47a3ab7bd2dd5bf76092b33e08a2 (diff) | |
download | linux-9707cc4bbaa97f289083d437b8f4d060157f2394.tar.bz2 |
drm/i915/selftests: fixup min_alignment usage
Trying to cast the region id into the region type doesn't work too well,
since the i915_vm_min_alignment() won't give us the correct value for
the stolen-lmem case.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Nirmoy Das <nirmoy.das@linux.intel.com>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@linux.intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220420181613.70033-3-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pcode.c')
0 files changed, 0 insertions, 0 deletions