aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2025-07-17 20:13:51 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2025-07-19 20:55:32 +0300
commita9298b3bfebc6cacca3363a884dde14bf05f14d2 (patch)
tree9ea7d1623b0f37a35a781d83d41126a2eb6250e9 /drivers/gpu/drm
parentdrm/i915: Use i915_vma_offset() in intel_dpt_offset() (diff)
downloadlinux-a9298b3bfebc6cacca3363a884dde14bf05f14d2.tar.gz
linux-a9298b3bfebc6cacca3363a884dde14bf05f14d2.zip
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
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/i915/display/intel_dpt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dpt.c b/drivers/gpu/drm/i915/display/intel_dpt.c
index 4743d8b0bf40..c0a817018d08 100644
--- a/drivers/gpu/drm/i915/display/intel_dpt.c
+++ b/drivers/gpu/drm/i915/display/intel_dpt.c
@@ -33,8 +33,6 @@ i915_vm_to_dpt(struct i915_address_space *vm)
return container_of(vm, struct i915_dpt, vm);
}
-#define dpt_total_entries(dpt) ((dpt)->vm.total >> PAGE_SHIFT)
-
static void gen8_set_pte(void __iomem *addr, gen8_pte_t pte)
{
writeq(pte, addr);