drm/radeon: enable pci bus mastering after card is initialised (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 3 Apr 2012 10:53:05 +0000 (11:53 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Apr 2012 08:27:47 +0000 (09:27 +0100)
commit2099810f903caa1920f3ef6014fb7f36e4786490
treed1cc8db0b4e224c83ccd5ea071102212b37185a3
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
drm/radeon: enable pci bus mastering after card is initialised (v2)

This closes a race seen with kexec where we enable PCI bus mastering
but the card has been reinitialised fully yet.

This was previously fixed by a patch from Jerome, but this should
close the race completely.

v2: add SI support as suggested by Alex.

Reported-and-tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/si.c