]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/gt_pagefault: Change vma_pagefault unit to kilobyte
authorFrancois Dugast <francois.dugast@intel.com>
Tue, 25 Feb 2025 19:57:34 +0000 (20:57 +0100)
committerFrancois Dugast <francois.dugast@intel.com>
Wed, 26 Feb 2025 10:01:00 +0000 (11:01 +0100)
commit278d4f429143d1c5e7c4deb7d7147063da12606d
tree074232c9800ed6898e406a60372ce087d36be383
parent4f109b061c12d63b332338ce9192593842fa09a4
drm/xe/gt_pagefault: Change vma_pagefault unit to kilobyte

Increase the amount of bytes that can be counted before the counter
overflows, while not losing information as the VMA is not expected
to have sub-kilobyte size.

Suggested-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250225195902.1247100-3-francois.dugast@intel.com
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
drivers/gpu/drm/xe/xe_gt_pagefault.c
drivers/gpu/drm/xe/xe_gt_stats.c
drivers/gpu/drm/xe/xe_gt_stats_types.h