drm/msm: add support for "stolen" mem
authorRob Clark <robdclark@gmail.com>
Tue, 3 Mar 2015 20:04:25 +0000 (15:04 -0500)
committerRob Clark <robdclark@gmail.com>
Wed, 1 Apr 2015 23:29:33 +0000 (19:29 -0400)
commit072f1f9168ed67d6ddc94bb76b1dfc04795062b4
treeb817aa6b4980b0fedc19e34007429a7b340cbc72
parent5bf9c0b614542d69fb9a8681a0411715cc3e8ba8
drm/msm: add support for "stolen" mem

Add support to use the VRAM carveout (if specified in dtb) for fbdev
scanout buffer.  This allows drm/msm to take over a bootloader splash-
screen, and avoids corruption on screen that results if the kernel uses
memory that is still being scanned out for itself.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_fbdev.c
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem.h