aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2024-06-03 11:18:24 -0700
committerMatthew Brost <matthew.brost@intel.com>2024-06-05 11:40:09 -0700
commit6d3581edffea0b3a64b0d3094d3f09222e0024f7 (patch)
tree507f220354813d0cb9f8ff90a45a459ef4dfbf19 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parent3ad7d18c5dad75ed38098c7cc3bc9594b4701399 (diff)
downloadlinux-6d3581edffea0b3a64b0d3094d3f09222e0024f7.tar.gz
linux-6d3581edffea0b3a64b0d3094d3f09222e0024f7.tar.bz2
linux-6d3581edffea0b3a64b0d3094d3f09222e0024f7.zip
drm/xe: Don't overmap identity VRAM mapping
Overmapping the identity VRAM mapping is triggering hardware bugs on certain platforms. Use 2M pages for the last unaligned (to 1G) VRAM chunk. v2: - Always use 2M pages for last chunk (Fei Yang) - break loop when 2M pages are used - Add assert for usable_size being 2M aligned v3: - Fix checkpatch Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Fei Yang <fei.yang@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Fei Yang <fei.yang@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240603181824.1927675-1-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions