]> Gentwo Git Trees - linux/.git/commit
drm/xe: Make page size consistent in loop
authorSimon Richter <Simon.Richter@hogyros.de>
Mon, 18 Aug 2025 06:47:35 +0000 (15:47 +0900)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 18 Aug 2025 17:52:31 +0000 (10:52 -0700)
commitb85bb2d677153d990924d31be9416166d22382eb
treeb16b57aba71a9b146cada5d54a387f12cc889ffd
parentaa81d55a5997b190660e21e72177f1542c4e3d59
drm/xe: Make page size consistent in loop

If PAGE_SIZE != XE_PAGE_SIZE (which is currently locked behind
CONFIG_BROKEN), this would generate the wrong number of PDEs.

Since these PDEs are consumed by the GPU, the GPU page size needs to be
used.

Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250818064806.2835-1-Simon.Richter@hogyros.de
drivers/gpu/drm/xe/xe_migrate.c