Messages in this thread | | | Date | Wed, 2 Jan 2013 11:43:51 +0200 | From | Terje Bergström <> | Subject | Re: [PATCHv4 3/8] gpu: host1x: Add channel support |
| |
On 02.01.2013 11:31, Mark Zhang wrote: > On 01/02/2013 05:31 PM, Terje Bergström wrote: >> That's intentional. Writing a job to channel is atomic, so lock is taken >> from host1x_cdma_begin() until host1x_cdma_end(). >> > > Okay. So can we consider that lock and unlock this mutex in the function > which calls host1x_cdma_begin and host1x_cdma_end, that means, in > current implementation, function "channel_submit"?
Yes, exactly.
Terje
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |