From: Alexandre Courbot Date: Fri, 20 Feb 2015 09:22:59 +0000 (+0900) Subject: make RAM device optional X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~6^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaecf0326f096faaba462eae48a3b30bcb1f7009;p=pandora-kernel.git make RAM device optional Having a RAM device does not make sense for chips like GK20A which have no dedicated video memory. The dummy RAM device that we used so far works as a temporary band-aid, but in the longer term it is desirable for the driver to be able to work without any kind of VRAM. This patch adds a few conditionals in places where a RAM device was assumed to be present and allows some more objects to be allocated from the TT domain, allowing Nouveau to handle GPUs for which pfb->ram == NULL. Signed-off-by: Alexandre Courbot Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed