]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Allocate PF queue size on pow2 boundary
authorMatthew Brost <matthew.brost@intel.com>
Wed, 2 Jul 2025 21:35:11 +0000 (14:35 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 3 Jul 2025 17:19:35 +0000 (10:19 -0700)
commit491b9783126303755717c0cbde0b08ee59b6abab
tree546a16621f86cff5b7a232f6565f8fff8d57c9e0
parent3fae6918a3e27cce20ded2551f863fb05d4bef8d
drm/xe: Allocate PF queue size on pow2 boundary

CIRC_SPACE does not work unless the size argument is a power of 2,
allocate PF queue size on power of 2 boundary.

Cc: stable@vger.kernel.org
Fixes: 3338e4f90c14 ("drm/xe: Use topology to determine page fault queue size")
Fixes: 29582e0ea75c ("drm/xe: Add page queue multiplier")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://lore.kernel.org/r/20250702213511.3226167-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_gt_pagefault.c