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

2011-09-01 Thread Michel Dänzer
On Don, 2011-09-01 at 13:46 -0400, alexdeucher at gmail.com wrote: > From: Alex Deucher > > 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://bug

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

2011-09-01 Thread alexdeuc...@gmail.com
From: Alex Deucher 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/p

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

2011-09-01 Thread alexdeuc...@gmail.com
From: Alex Deucher 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 Signed-off-by: Alex Deucher Cc: stable at k

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

2011-09-01 Thread Michel Dänzer
On Don, 2011-09-01 at 13:46 -0400, alexdeuc...@gmail.com wrote: > From: Alex Deucher > > 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://bugzil

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

2011-09-01 Thread alexdeucher
From: Alex Deucher 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/p

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

2011-09-01 Thread alexdeucher
From: Alex Deucher 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 Signed-off-by: Alex Deucher Cc: sta...@kern