]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: Fix disabling PCI bus mastering on big endian hosts.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 5 Jan 2012 17:42:17 +0000 (18:42 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 6 Jan 2012 09:40:00 +0000 (09:40 +0000)
commit1d7a1c42e3d06083070d86bc931f05f9efffd351
tree5dab156e43a91bde13166621b26346c1efb5fc02
parent48474b389f3a9d5d0173d39a36175f883af6157d
radeon: Fix disabling PCI bus mastering on big endian hosts.

It would previously write basically random bits to PCI configuration space...
Not very surprising that the GPU tended to stop responding completely. The
resulting MCE even froze the whole machine sometimes.

Now resetting the GPU after a lockup has at least a fighting chance of
succeeding.

Cc: stable@vger.kernel.org
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/rs600.c