drm/nouveau/core: xtensa firmware size needs to be 0x40000 no matter what
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 19 Jul 2013 10:27:45 +0000 (06:27 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 30 Jul 2013 03:03:59 +0000 (13:03 +1000)
commitbfcd92a0ae2996a34b1fd020b3e0951946ae6903
tree654dd6bf2be440b6ac6df6842f55533a61099549
parent0108bc808107b97e101b15af9705729626be6447
drm/nouveau/core: xtensa firmware size needs to be 0x40000 no matter what

The current logic is wrong since we send fw->size >> 8 to the
card. Rounding the size up by 0x100 and 0x1000 didn't seem to help,
the card still hung, so go back to what the blob does -- 0x40000.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/xtensa.c