]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe: Carve out top of DSM as reserved
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 26 Jul 2023 16:07:07 +0000 (09:07 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:39:14 +0000 (11:39 -0500)
commitc0d6b6163fd99c5e73eca3b747e704877e070acc
tree05b7d20aaebdbbf38b6ea92fde6c61b824ac3aba
parent58052eb70cdeaaa2a48ec4369e702d097fee13f6
drm/xe: Carve out top of DSM as reserved

Top of DSM contains the WOPCM where kernel driver shouldn't access as
it contains data from other HW agents. Carve it out from the stolen
memory. On a MTL system, the output now matches the expected values:

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20230726160708.3967790-10-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/regs/xe_regs.h
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c