diff options
author | Rob Clark <robdclark@gmail.com> | 2017-06-13 11:50:05 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-06-16 11:16:05 -0400 |
commit | f4839bd5126310635314610a85468e87b40ce4c8 (patch) | |
tree | d1557b893dcf931540557060c395724e03ae0383 /crypto | |
parent | 8bdcd949bbe7e7f9e60a3564baa600884f8f4ba7 (diff) | |
download | op-kernel-dev-f4839bd5126310635314610a85468e87b40ce4c8.zip op-kernel-dev-f4839bd5126310635314610a85468e87b40ce4c8.tar.gz |
drm/msm: refactor how we handle vram carveout buffers
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: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions