Benjamin Herrenschmidt 722defc124 offb: Fix bug in calculating requested vram size
commit c055fe0797b7bd8f6f21a13598a55a16d5c13ae7 upstream.

We used to try to request 8 times more vram than needed, which would
fail if the card has a too small BAR (observed with qemu & kvm).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-12 11:33:10 -08:00
..
2011-07-11 14:15:55 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-07-26 16:49:47 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:43:59 -07:00
2011-03-31 11:26:23 -03:00
2009-01-12 20:56:32 +01:00
2008-07-24 10:47:34 -07:00
2009-12-16 07:20:04 -08:00
2009-05-06 16:36:10 -07:00
2011-03-22 16:18:51 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-06 15:48:13 +09:00
2010-05-25 08:07:09 -07:00
2011-03-22 16:07:32 +09:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2011-04-10 17:01:05 +02:00
2009-01-06 15:59:27 -08:00
2011-03-31 11:26:23 -03:00
2009-01-06 15:59:27 -08:00
2011-03-31 11:26:23 -03:00
2010-12-21 01:05:43 +09:00
2010-05-25 08:07:09 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-16 18:05:05 +02:00
2011-07-11 14:15:55 +02:00
2010-02-27 18:31:13 +01:00
2010-02-27 18:31:13 +01:00
2011-07-04 16:02:48 +09:00
2010-05-25 08:07:08 -07:00
2011-03-31 11:26:23 -03:00