diff --git a/shared/source/gmm_helper/gmm_helper.h b/shared/source/gmm_helper/gmm_helper.h index 17d473051e..265ea788f6 100644 --- a/shared/source/gmm_helper/gmm_helper.h +++ b/shared/source/gmm_helper/gmm_helper.h @@ -27,7 +27,7 @@ class GmmHelper { const HardwareInfo *getHardwareInfo(); uint32_t getMOCS(uint32_t type) const; - static constexpr uint64_t maxPossiblePitch = 2147483648; + static constexpr uint64_t maxPossiblePitch = (1ull << 31); static uint64_t canonize(uint64_t address) { return static_cast(address << (64 - GmmHelper::addressWidth)) >> (64 - GmmHelper::addressWidth);