summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gem/i915_gem_mman.c
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2021-06-01 09:46:42 +0200
committerMatthew Auld <matthew.auld@intel.com>2021-06-01 09:33:08 +0100
commit62445a97c5fa85c4c6966c936155fc6a0dcfac5b (patch)
tree44c92972a63d51fc28cb7eb9a085ec3905a8a224 /drivers/gpu/drm/i915/gem/i915_gem_mman.c
parent4d8151ae5329cf50781a02fd2298a909589a5bab (diff)
drm/i915: Fix i915_sg_page_sizes to record dma segments rather than physical pages
All users of this function actually want the dma segment sizes, but that's not what's calculated. Fix that and rename the function to i915_sg_dma_sizes to reflect what's calculated. Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210601074654.3103-4-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_mman.c')
0 files changed, 0 insertions, 0 deletions