Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915: Remove unused dpt_total_entries()

dpt_total_entries() is not used anywhere. Remove it.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250717171353.23090-6-ville.syrjala@linux.intel.com

-2
-2
drivers/gpu/drm/i915/display/intel_dpt.c
··· 33 33 return container_of(vm, struct i915_dpt, vm); 34 34 } 35 35 36 - #define dpt_total_entries(dpt) ((dpt)->vm.total >> PAGE_SHIFT) 37 - 38 36 static void gen8_set_pte(void __iomem *addr, gen8_pte_t pte) 39 37 { 40 38 writeq(pte, addr);