gpu: pvr: fix handle allocation when sharing sync objects
authorImre Deak <imre.deak@nokia.com>
Mon, 10 May 2010 14:31:50 +0000 (17:31 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000 (21:09 +0300)
commitfc6bb86179feaa773425a6cd670c27e3c2844a33
treeeee7d00b49ba7b9367f9f3d982d6d9bb2ca8e8c5
parentd302900503f0d1414e35d030230210df552892d2
gpu: pvr: fix handle allocation when sharing sync objects

This is needed by an upcoming patch fixing sync object sharing, which
requires support for multiple sync object handles pointing to the same
sync object. This will work if the handles are allocated in different
processes, but will fail if allocted within a single process. Fix this
by explicitly allowing the handle framework to allocate multiple
handles for the same object within a single process.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/bridged_pvr_bridge.c