From: Alex Deucher Date: Thu, 1 Sep 2011 17:46:15 +0000 (+0000) Subject: drm/radeon/kms: make sure pci max read request size is valid on evergreen+ (v2) X-Git-Tag: v3.1-rc5~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d054ac16eeb658bccadb06b12c39cee22243b10f;p=pandora-kernel.git drm/radeon/kms: make sure pci max read request size is valid on evergreen+ (v2) 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 Cc: stable@kernel.org Reviewed-by: Michel Dänzer Signed-off-by: Dave Airlie --- Reading git-diff-tree failed