Home
last modified time | relevance | path

Searched refs:nblks (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c164 int i, hsub, nlines, nblks, ret; in request_smp_blocks() local
171 for (i = 0, nblks = 0; i < nplanes; i++) { in request_smp_blocks()
191 nblks += n; in request_smp_blocks()
195 return nblks; in request_smp_blocks()
198 static void set_fifo_thresholds(struct drm_plane *plane, int nblks) in set_fifo_thresholds() argument
206 val = (nblks * SMP_ENTRIES_PER_BLK) / 4; in set_fifo_thresholds()
228 int i, nblks; in mdp5_plane_mode_set() local
249 nblks = request_smp_blocks(plane, fb->pixel_format, nplanes, src_w); in mdp5_plane_mode_set()
250 if (nblks < 0) in mdp5_plane_mode_set()
251 return nblks; in mdp5_plane_mode_set()
[all …]
Dmdp5_smp.c69 enum mdp5_client_id cid, int nblks) in mdp5_smp_request() argument
78 if (nblks > avail) { in mdp5_smp_request()
84 if (nblks > cur_nblks) { in mdp5_smp_request()
86 for (i = cur_nblks; i < nblks; i++) { in mdp5_smp_request()
93 for (i = cur_nblks; i > nblks; i--) { in mdp5_smp_request()
Dmdp5_smp.h36 int mdp5_smp_request(struct mdp5_kms *mdp5_kms, enum mdp5_client_id cid, int nblks);