]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: simplify tracking in-flight bo's
authorRob Clark <robdclark@gmail.com>
Wed, 16 Mar 2016 20:07:38 +0000 (16:07 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 8 May 2016 14:16:03 +0000 (10:16 -0400)
commit5da9377d6e8e9f81e2b29e158c48263a89e260a1
tree341f238774f04c5c448c2804f576fbba3fefb668
parent8866ad2096d5c53a9ab0854f9368f0bf6772a50c
drm/msm/gpu: simplify tracking in-flight bo's

Since we already track the array of bo's in the submit object, just
unconditionally take and drop ref's per submit (rather than only taking
ref's if bo is not already active).  This simplifies later patches.

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