diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2011-09-01 21:46:15 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-09-02 12:40:20 +0400 |
commit | d054ac16eeb658bccadb06b12c39cee22243b10f (patch) | |
tree | 22a3382e7ceb3469e6723cf6ce42828e42a35df6 /fs/9p/vfs_inode.c | |
parent | 9adceaa5b3d2480e2252c4a7f9c4bd7d66b8c4a2 (diff) | |
download | linux-d054ac16eeb658bccadb06b12c39cee22243b10f.tar.xz |
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 <alexander.deucher@amd.com>
Cc: stable@kernel.org
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'fs/9p/vfs_inode.c')
0 files changed, 0 insertions, 0 deletions