[PATCH] drm/radeon/kms: make sure pci max read request size is valid on evergreen+ (v2)

Michel Dänzer michel at daenzer.net
Thu Sep 1 10:53:48 PDT 2011


On Don, 2011-09-01 at 13:46 -0400, alexdeucher at gmail.com wrote: 
> From: Alex Deucher <alexander.deucher at amd.com>
> 
> If the bios or OS sets the pci max read request size to 0 or an
> invalid value (6,7), it can result in a hang or slowdown.  Check
> and set it to something sane if it's invalid.
> 
> Fixes:
> https://bugzilla.kernel.org/show_bug.cgi?id=42162
> 
> v2: use pci reg defines from include/linux/pci_regs.h
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the dri-devel mailing list