]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: Don't map command buffers with nr_relocs equal to 0
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 15 Oct 2018 21:31:54 +0000 (15:31 -0600)
committerSean Paul <seanpaul@chromium.org>
Mon, 3 Dec 2018 13:46:13 +0000 (08:46 -0500)
commit8eda2af6091b42e83e9b7baa3341f6ce159c683f
tree320db0e824a7291bcc31a980f791379647848a7b
parent88d95c2cd3cc3b7bc2ec4ec4ad5a169361a70dff
drm/msm/gpu: Don't map command buffers with nr_relocs equal to 0

If a command buffer doesn't have any relocs assigned to it there then
is no need to map it in the kernel address space.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/msm/msm_gem_submit.c