Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
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 …]
Dmdp5_pipe.h38 struct mdp5_hw_pipe **hwpipe,
40 void mdp5_pipe_release(struct drm_atomic_state *s, struct mdp5_hw_pipe *hwpipe);
44 void mdp5_pipe_destroy(struct mdp5_hw_pipe *hwpipe);
Dmdp5_plane.c162 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state()
163 pstate->hwpipe->name : "(null)"); in mdp5_plane_atomic_print_state()
336 if (!mdp5_state->hwpipe || (caps & ~mdp5_state->hwpipe->caps)) in mdp5_plane_atomic_check_with_state()
355 if (mdp5_state->hwpipe && (mdp5_state->hwpipe->blkcfg != blkcfg)) in mdp5_plane_atomic_check_with_state()
365 struct mdp5_hw_pipe *old_hwpipe = mdp5_state->hwpipe; in mdp5_plane_atomic_check_with_state()
381 mdp5_state->hwpipe = new_hwpipe; in mdp5_plane_atomic_check_with_state()
397 mdp5_pipe_release(state->state, mdp5_state->hwpipe); in mdp5_plane_atomic_check_with_state()
399 mdp5_state->hwpipe = mdp5_state->r_hwpipe = NULL; in mdp5_plane_atomic_check_with_state()
459 if (!mdp5_state->hwpipe) in mdp5_plane_atomic_async_check()
817 struct mdp5_hw_pipe *hwpipe, in mdp5_hwpipe_mode_set() argument
[all …]
Dmdp5_smp.c278 struct mdp5_hw_pipe *hwpipe = mdp5_kms->hwpipes[i]; in write_smp_fifo_regs() local
279 enum mdp5_pipe pipe = hwpipe->pipe; in write_smp_fifo_regs()
347 hwpstate = &global_state->hwpipe; in mdp5_smp_dump()
351 struct mdp5_hw_pipe *hwpipe = mdp5_kms->hwpipes[i]; in mdp5_smp_dump() local
352 struct drm_plane *plane = hwpstate->hwpipe_to_plane[hwpipe->idx]; in mdp5_smp_dump()
353 enum mdp5_pipe pipe = hwpipe->pipe; in mdp5_smp_dump()
Dmdp5_kms.c500 struct mdp5_hw_pipe *hwpipe = mdp5_kms->hwpipes[i]; in modeset_init() local
506 else if (hwpipe->caps & MDP_PIPE_CAP_CURSOR) in modeset_init()
809 struct mdp5_hw_pipe *hwpipe; in construct_pipes() local
811 hwpipe = mdp5_pipe_init(pipes[i], offsets[i], caps); in construct_pipes()
812 if (IS_ERR(hwpipe)) { in construct_pipes()
813 ret = PTR_ERR(hwpipe); in construct_pipes()
818 hwpipe->idx = mdp5_kms->num_hwpipes; in construct_pipes()
819 mdp5_kms->hwpipes[mdp5_kms->num_hwpipes++] = hwpipe; in construct_pipes()
Dmdp5_kms.h82 struct mdp5_hw_pipe_state hwpipe; member
96 struct mdp5_hw_pipe *hwpipe; member