msm: vidc: add wrapper for locks
Add wrapper to acquire and release inst and core locks. Change-Id: I35a1c3a5c4ea3e1e177eb894d6dc4af2e5a7c174 Signed-off-by: Darshana Patil <darshana@codeaurora.org>
This commit is contained in:

committad av
Maheshwar Ajja

förälder
6246ad4ce9
incheckning
55efff9d9f
@@ -103,5 +103,11 @@ struct msm_vidc_map_info *msm_vidc_get_map_info(struct msm_vidc_inst *inst,
|
||||
enum msm_vidc_buffer_type buffer_type);
|
||||
struct msm_vidc_alloc_info *msm_vidc_get_alloc_info(struct msm_vidc_inst *inst,
|
||||
enum msm_vidc_buffer_type buffer_type);
|
||||
|
||||
void core_lock(struct msm_vidc_core *core, const char *function);
|
||||
void core_unlock(struct msm_vidc_core *core, const char *function);
|
||||
void inst_lock(struct msm_vidc_inst *inst, const char *function);
|
||||
void inst_unlock(struct msm_vidc_inst *inst, const char *function);
|
||||
|
||||
#endif // _MSM_VIDC_DRIVER_H_
|
||||
|
||||
|
Referens i nytt ärende
Block a user