blob: 68b5a632d9d8578a3df387ee05defdb0835d6816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* Samsung Exynos SoC series VPU driver
*
* Copyright (c) 2016 Samsung Electronics Co., Ltd
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef VPUL_LATENCY_BALANCING_H_
#define VPUL_LATENCY_BALANCING_H_
#include "vpu-hardware.h"
#include "lib/vpul-ds.h"
/* on a "per subchain" basis */
#define NUMBER_OF_SPARE_PUS_FOR_LATENCY_BALANCING 5
__u32 is_pu_dma_in(const struct vpul_pu *pu);
__u32 is_pu_dma_out(const struct vpul_pu *pu);
__s32 latency_balancing(struct vpul_task *task,
struct vpul_vertex *vertex,
struct vpul_subchain *subchain,
__u32 *calculated_sizes);
__u32 get_filter_size_index_for_linear_filter(__u32 filter_size);
__u32 get_filter_size_idx_for_non_linear_filter(__u32 nlf_mode);
#endif
|