diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-07-03 00:35:11 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-07-08 06:57:17 +0300 |
commit | c9a95dbe06102cf01afee4cd83ecb29f8d587a72 (patch) | |
tree | 732fd509f780f8bfac2a6c5cab99356cade3965c /net/lapb/lapb_timer.c | |
parent | 705a412a367f383430fa34bada387af2e52eb043 (diff) | |
download | linux-c9a95dbe06102cf01afee4cd83ecb29f8d587a72.tar.xz |
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
(cherry picked from commit 491b9783126303755717c0cbde0b08ee59b6abab)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions