drm/msm: bigger synchronization hammer
authorRob Clark <robdclark@gmail.com>
Fri, 7 Feb 2014 00:19:20 +0000 (19:19 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 7 Feb 2014 15:26:25 +0000 (10:26 -0500)
commitc2703b13a63da335053a2f3cb560bb806bdda0ae
treed7f4bfd1dac7d4c0a71b6823e2e29365a73fb2cb
parent9999f105e76977d97304d7cb2030a52d96800d69
drm/msm: bigger synchronization hammer

Because we use a list_head in the bo to track it's position in a submit,
we need to serialize at a higher layer.  Otherwise there are problems
when multiple contexts are SUBMIT'ing in parallel cmdstreams referencing
a shared bo.

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