Commit a08b588e4199e4200d26027ffcdf3ab2fa906412
Committed by
Alex Deucher
1 parent
86b276385c
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
drm/radeon: Ignore RADEON_GEM_GTT_WC on 32-bit x86
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84627 Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff
drivers/gpu/drm/radeon/radeon_object.c
... | ... | @@ -213,6 +213,13 @@ |
213 | 213 | if (!(rdev->flags & RADEON_IS_PCIE)) |
214 | 214 | bo->flags &= ~(RADEON_GEM_GTT_WC | RADEON_GEM_GTT_UC); |
215 | 215 | |
216 | +#ifdef CONFIG_X86_32 | |
217 | + /* XXX: Write-combined CPU mappings of GTT seem broken on 32-bit | |
218 | + * See https://bugs.freedesktop.org/show_bug.cgi?id=84627 | |
219 | + */ | |
220 | + bo->flags &= ~RADEON_GEM_GTT_WC; | |
221 | +#endif | |
222 | + | |
216 | 223 | radeon_ttm_placement_from_domain(bo, domain); |
217 | 224 | /* Kernel allocation are uninterruptible */ |
218 | 225 | down_read(&rdev->pm.mclk_lock); |