• R
    drm/msm: refactor how we handle vram carveout buffers · f4839bd5
    Rob Clark 提交于
    Pull some of the logic out into msm_gem_new() (since we don't need to
    care about the imported-bo case), and don't defer allocating pages.  The
    latter is generally a good idea, since if we are using VRAM carveout to
    allocate contiguous buffers (ie. no IOMMU), the allocation is more
    likely to fail.  So failing at allocation time is a more sane option.
    Plus this simplifies things in the next patch.
    Signed-off-by: NRob Clark <robdclark@gmail.com>
    f4839bd5
msm_gem.c 21.9 KB