]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/nouveau/bios: fetch the vbios from PROM using only aligned 32-bit accesses
authorMartin Peres <martin.peres@free.fr>
Tue, 25 Mar 2014 21:23:23 +0000 (22:23 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 04:08:26 +0000 (14:08 +1000)
commit18acc6d84eba960804f38a21842c02f3981c1c18
tree40d125954358c0084bf50071af74f1cbe360b134
parent0e994d645627bb67088ae4860e9a0295b123f7b0
drm/nouveau/bios: fetch the vbios from PROM using only aligned 32-bit accesses

Other kind of accesses are unreliable on Kepler cards. As advised by NVIDIA,
let's only use 32-bit accesses to fetch the vbios from PROM.

This fixes vbios fetching on my nve7 which failed in certain specific
conditions.

I suggest we Cc stable, for all kernels they still maintain after the big
rewrite.

Suggested-by: Christian Zander <czander@nvidia.com>
Signed-off-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/base.c