]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7d12a279d421255792f2092f68262a79e3311dc2
tree341f238774f04c5c448c2804f576fbba3fefb668
parent340ff4104f4454f8f1c3bf793c46411115309545
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