Home
last modified time | relevance | path

Searched refs:hwpipe (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_pipe.c11 struct mdp5_hw_pipe **hwpipe, in mdp5_pipe_assign() argument
27 old_state = &old_global_state->hwpipe; in mdp5_pipe_assign()
28 new_state = &new_global_state->hwpipe; in mdp5_pipe_assign()
59 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < in mdp5_pipe_assign()
60 hweight_long((*hwpipe)->caps & ~caps))) { in mdp5_pipe_assign()
84 *hwpipe = cur; in mdp5_pipe_assign()
88 if (!(*hwpipe)) in mdp5_pipe_assign()
100 DBG("%s: alloc SMP blocks", (*hwpipe)->name); in mdp5_pipe_assign()
102 (*hwpipe)->pipe, blkcfg); in mdp5_pipe_assign()
106 (*hwpipe)->blkcfg = blkcfg; in mdp5_pipe_assign()
[all …]
H A Dmdp5_plane.c70 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state()
71 pstate->hwpipe->name : "(null)"); in mdp5_plane_atomic_print_state()
248 if (!mdp5_state->hwpipe || (caps & ~mdp5_state->hwpipe->caps)) in mdp5_plane_atomic_check_with_state()
267 if (mdp5_state->hwpipe && (mdp5_state->hwpipe->blkcfg != blkcfg)) in mdp5_plane_atomic_check_with_state()
277 struct mdp5_hw_pipe *old_hwpipe = mdp5_state->hwpipe; in mdp5_plane_atomic_check_with_state()
293 mdp5_state->hwpipe = new_hwpipe; in mdp5_plane_atomic_check_with_state()
315 ret = mdp5_pipe_release(state->state, mdp5_state->hwpipe); in mdp5_plane_atomic_check_with_state()
323 mdp5_state->hwpipe = mdp5_state->r_hwpipe = NULL; in mdp5_plane_atomic_check_with_state()
389 if (!mdp5_state->hwpipe) in mdp5_plane_atomic_async_check()
749 struct mdp5_hw_pipe *hwpipe, in mdp5_hwpipe_mode_set() argument
[all …]
H A Dmdp5_smp.c276 struct mdp5_hw_pipe *hwpipe = mdp5_kms->hwpipes[i]; in write_smp_fifo_regs() local
277 enum mdp5_pipe pipe = hwpipe->pipe; in write_smp_fifo_regs()
340 hwpstate = &global_state->hwpipe; in mdp5_smp_dump()
344 struct mdp5_hw_pipe *hwpipe = mdp5_kms->hwpipes[i]; in mdp5_smp_dump() local
345 struct drm_plane *plane = hwpstate->hwpipe_to_plane[hwpipe->idx]; in mdp5_smp_dump()
346 enum mdp5_pipe pipe = hwpipe->pipe; in mdp5_smp_dump()
H A Dmdp5_pipe.h38 struct mdp5_hw_pipe **hwpipe,
40 int mdp5_pipe_release(struct drm_atomic_state *s, struct mdp5_hw_pipe *hwpipe);
H A Dmdp5_kms.c412 struct mdp5_hw_pipe *hwpipe = mdp5_kms->hwpipes[i]; in modeset_init() local
418 else if (hwpipe->caps & MDP_PIPE_CAP_CURSOR) in modeset_init()
585 struct mdp5_hw_pipe *hwpipe; in construct_pipes() local
587 hwpipe = mdp5_pipe_init(dev, pipes[i], offsets[i], caps); in construct_pipes()
588 if (IS_ERR(hwpipe)) { in construct_pipes()
589 ret = PTR_ERR(hwpipe); in construct_pipes()
594 hwpipe->idx = mdp5_kms->num_hwpipes; in construct_pipes()
595 mdp5_kms->hwpipes[mdp5_kms->num_hwpipes++] = hwpipe; in construct_pipes()
H A Dmdp5_kms.h83 struct mdp5_hw_pipe_state hwpipe; member
97 struct mdp5_hw_pipe *hwpipe; member