On Thu, Nov 27, 2014 at 4:00 AM, Michel Dänzer <michel@xxxxxxxxxxx> wrote: > From: Michel Dänzer <michel.daenzer@xxxxxxx> > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84627 > Signed-off-by: Michel Dänzer <michel.daenzer@xxxxxxx> Applied to my -fixes tree. Thanks, Alex > --- > drivers/gpu/drm/radeon/radeon_object.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c > index 33e6c7a..d4f472b 100644 > --- a/drivers/gpu/drm/radeon/radeon_object.c > +++ b/drivers/gpu/drm/radeon/radeon_object.c > @@ -233,6 +233,13 @@ int radeon_bo_create(struct radeon_device *rdev, > if (!(rdev->flags & RADEON_IS_PCIE)) > bo->flags &= ~(RADEON_GEM_GTT_WC | RADEON_GEM_GTT_UC); > > +#ifdef CONFIG_X86_32 > + /* XXX: Write-combined CPU mappings of GTT seem broken on 32-bit > + * See https://bugs.freedesktop.org/show_bug.cgi?id=84627 > + */ > + bo->flags &= ~RADEON_GEM_GTT_WC; > +#endif > + > radeon_ttm_placement_from_domain(bo, domain); > /* Kernel allocation are uninterruptible */ > down_read(&rdev->pm.mclk_lock); > -- > 2.1.3 > > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/dri-devel _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel