Commit 5c693b2b authored by Matthew Auld's avatar Matthew Auld Committed by Joonas Lahtinen

drm/i915: s/gen8_setup_page_directory/gen8_setup_pdpe/

The function name gen8_setup_page_directory is misleading, and only
serves to confuse the reader, it's not setting up a pd, but rather
encoding a specific pdpe with a given pd.

Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
parent 5d799acd
...@@ -626,7 +626,7 @@ static void gen8_initialize_pml4(struct i915_address_space *vm, ...@@ -626,7 +626,7 @@ static void gen8_initialize_pml4(struct i915_address_space *vm,
} }
static void static void
gen8_setup_page_directory(struct i915_hw_ppgtt *ppgtt, gen8_setup_pdpe(struct i915_hw_ppgtt *ppgtt,
struct i915_page_directory_pointer *pdp, struct i915_page_directory_pointer *pdp,
struct i915_page_directory *pd, struct i915_page_directory *pd,
int index) int index)
...@@ -1366,7 +1366,7 @@ static int gen8_alloc_va_range_3lvl(struct i915_address_space *vm, ...@@ -1366,7 +1366,7 @@ static int gen8_alloc_va_range_3lvl(struct i915_address_space *vm,
kunmap_px(ppgtt, page_directory); kunmap_px(ppgtt, page_directory);
__set_bit(pdpe, pdp->used_pdpes); __set_bit(pdpe, pdp->used_pdpes);
gen8_setup_page_directory(ppgtt, pdp, pd, pdpe); gen8_setup_pdpe(ppgtt, pdp, pd, pdpe);
} }
free_gen8_temp_bitmaps(new_page_dirs, new_page_tables); free_gen8_temp_bitmaps(new_page_dirs, new_page_tables);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment