diff options
author | Matthew Auld <matthew.auld@intel.com> | 2023-01-16 13:46:21 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:27:45 +0300 |
commit | c5151fa80060a869c0308067e758a271c217ff61 (patch) | |
tree | ceecb345207877e48f8684be041ac5f7dcbdefca /drivers/hwmon/adm1026.c | |
parent | 5e53d1e806aeb2b05c85d24cd75f848631e8a121 (diff) | |
download | linux-c5151fa80060a869c0308067e758a271c217ff61.tar.xz |
drm/xe/ggtt: fix GGTT scratch usage for DG2
Scratch page is in VRAM, and therefore requires 64K GTT layout. In GGTT
world this just means having 16 consecutive entries, with 64K GTT
alignment for the GTT address of the first entry (also matching physical
alignment). However to keep things simple just dump it into system
memory, like we already do for ppGTT. While we are here, also give it
known default value.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/hwmon/adm1026.c')
0 files changed, 0 insertions, 0 deletions