video: driver: enable buffer pool for mostly used structures

Enabled recycling for below structure types.

- struct msm_vidc_buffer
- struct msm_vidc_alloc
- struct msm_vidc_map.

Change-Id: I062abef85db24385745119b821f87e5b72a4e835
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
このコミットが含まれているのは:
Govindaraj Rajagopal
2021-04-05 18:09:02 +05:30
コミット a13f0e1416
8個のファイルの変更254行の追加57行の削除

ファイルの表示

@@ -27,6 +27,12 @@ struct msm_vidc_session_ops {
int (*extra_count)(struct msm_vidc_inst *inst, enum msm_vidc_buffer_type type);
};
struct msm_vidc_pool_info {
struct msm_vidc_pool allocations;
struct msm_vidc_pool mappings;
struct msm_vidc_pool buffers;
};
struct msm_vidc_allocations_info {
struct msm_vidc_allocations bin;
struct msm_vidc_allocations arp;
@@ -111,6 +117,7 @@ struct msm_vidc_inst {
struct msm_vidc_rectangle compose;
struct msm_vidc_power power;
struct vidc_bus_vote_data bus_data;
struct msm_vidc_pool_info pool;
struct msm_vidc_buffers_info buffers;
struct msm_vidc_mappings_info mappings;
struct msm_vidc_allocations_info allocations;