summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
diff options
context:
space:
mode:
authorNirmoy Das <nirmoy.das@intel.com>2024-04-29 22:30:39 +0200
committerLucas De Marchi <lucas.demarchi@intel.com>2024-04-30 15:13:33 +0200
commite29a7a34c3cf140ceb2f994a8eae0b68d21e357e (patch)
treef0378f6a1b071b33a3d02fe064f49b5560fc02e1 /drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
parentdrm/xe: Merge 16021540221 and 18034896535 WAs (diff)
downloadlinux-e29a7a34c3cf140ceb2f994a8eae0b68d21e357e.tar.xz
linux-e29a7a34c3cf140ceb2f994a8eae0b68d21e357e.zip
drm/xe: Remove uninitialized end var from xe_gt_tlb_invalidation_range()
This fixes commit c4f18703629d ("drm/xe: Add xe_gt_tlb_invalidation_range and convert PT layer to use this") which added the end variable as part of the function param. v2: Add fixes tag(Matt) Fixes: c4f18703629d ("drm/xe: Add xe_gt_tlb_invalidation_range and convert PT layer to use this") Cc: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240429203039.26918-1-nirmoy.das@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c')
-rw-r--r--drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c b/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
index d0ee1e0df0bd..c3d015a7ac33 100644
--- a/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
+++ b/drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
@@ -305,7 +305,7 @@ int xe_gt_tlb_invalidation_range(struct xe_gt *gt,
} else {
u64 orig_start = start;
u64 length = end - start;
- u64 align, end;
+ u64 align;
if (length < SZ_4K)
length = SZ_4K;