diff options
| author | Faith Ekstrand <faith.ekstrand@collabora.com> | 2026-08-21 23:42:59 -0500 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-09-01 22:05:10 +0200 |
| commit | 774b73428e6eabb4f0382aeeb76e569c7b106a29 (patch) | |
| tree | f06f240b4a84ff703960c4e7f5cdd76074716ce3 /scripts/Makefile.thinlto | |
| parent | 0ba8e0f90039da68342febf613019f4a68d86620 (diff) | |
drm/nouveau: Use write-combined maps for coherent
On Tegra devices, uncached maps translate to device memory, causing
unaligned accesses by userspace resulting in a SIGBUS. Instead, use
write-combined maps to ensure proper access.
This would also affect discrete cards on any Arm device. It was
determined that discrete cards regardless of cpu arch should use
write-combined maps for coherent anyways. Thus this change is made for
all gpu types.
Cc: stable@vger.kernel.org
Signed-off-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Co-developed-by: Aaron Kling <webgeek1234@gmail.com>
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Fixes: 1b4ea4c5980f ("drm/ttm: set the tt caching state at creation time")
Link: https://patch.msgid.link/20260821-tegra-coherent-wc-v2-1-2b1ddb67bf18@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
