Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c73 if (state->hwindex == -1) in rcar_du_plane_hwmask()
76 mask = 1 << state->hwindex; in rcar_du_plane_hwmask()
78 mask |= 1 << ((state->hwindex + 1) % 8); in rcar_du_plane_hwmask()
166 new_plane_state->hwindex = -1; in rcar_du_atomic_check_planes()
182 new_plane_state->hwindex = -1; in rcar_du_atomic_check_planes()
240 new_plane_state->hwindex); in rcar_du_atomic_check_planes()
300 new_plane_state->hwindex = idx; in rcar_du_atomic_check_planes()
333 unsigned int index = state->hwindex; in rcar_du_plane_setup_scanout()
481 if (state->hwindex != index) { in rcar_du_plane_setup_format_gen2()
547 rcar_du_plane_setup_format(rgrp, state->hwindex, state); in __rcar_du_plane_setup()
[all …]
Drcar_du_crtc.c374 unsigned int index = to_rcar_plane_state(state)->hwindex; in rcar_du_crtc_update_planes()
1203 unsigned int hwindex) in rcar_du_crtc_create() argument
1223 sprintf(clk_name, "du.%u", hwindex); in rcar_du_crtc_create()
1231 dev_err(rcdu->dev, "no clock for DU channel %u\n", hwindex); in rcar_du_crtc_create()
1235 sprintf(clk_name, "dclkin.%u", hwindex); in rcar_du_crtc_create()
1241 } else if (rcdu->info->dpll_mask & BIT(hwindex)) { in rcar_du_crtc_create()
1247 dev_err(rcdu->dev, "can't get dclkin.%u: %d\n", hwindex, ret); in rcar_du_crtc_create()
1257 rcrtc->mmio_offset = mmio_offsets[hwindex]; in rcar_du_crtc_create()
1258 rcrtc->index = hwindex; in rcar_du_crtc_create()
1279 rgrp->cmms_mask |= BIT(hwindex % 2); in rcar_du_crtc_create()
Drcar_du_kms.c819 unsigned int hwindex; in rcar_du_modeset_init() local
909 for (swindex = 0, hwindex = 0; swindex < rcdu->num_crtcs; ++hwindex) { in rcar_du_modeset_init()
913 if (!(rcdu->info->channels_mask & BIT(hwindex))) in rcar_du_modeset_init()
916 rgrp = &rcdu->groups[hwindex / 2]; in rcar_du_modeset_init()
918 ret = rcar_du_crtc_create(rgrp, swindex++, hwindex); in rcar_du_modeset_init()
Drcar_du_plane.h54 int hwindex; member
Drcar_du_crtc.h97 unsigned int hwindex);
Drcar_du_vsp.c81 state.hwindex = (crtc->index % 2) ? 2 : 0; in rcar_du_vsp_enable()
83 state.hwindex = crtc->index % 2; in rcar_du_vsp_enable()