diff options
| author | Matthew Brost <[email protected]> | 2024-06-03 18:18:24 +0000 |
|---|---|---|
| committer | Matthew Brost <[email protected]> | 2024-06-05 18:40:09 +0000 |
| commit | 6d3581edffea0b3a64b0d3094d3f09222e0024f7 (patch) | |
| tree | 507f220354813d0cb9f8ff90a45a459ef4dfbf19 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/xe: flush engine buffers before signalling user fence on all engines (diff) | |
| download | kernel-6d3581edffea0b3a64b0d3094d3f09222e0024f7.tar.gz kernel-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 <[email protected]>
Cc: Fei Yang <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Fei Yang <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
