Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_plane.c74 if (state->hwindex == -1) in rcar_du_plane_hwmask()
77 mask = 1 << state->hwindex; in rcar_du_plane_hwmask()
79 mask |= 1 << ((state->hwindex + 1) % 8); in rcar_du_plane_hwmask()
167 new_plane_state->hwindex = -1; in rcar_du_atomic_check_planes()
183 new_plane_state->hwindex = -1; in rcar_du_atomic_check_planes()
241 new_plane_state->hwindex); in rcar_du_atomic_check_planes()
301 new_plane_state->hwindex = idx; in rcar_du_atomic_check_planes()
334 unsigned int index = state->hwindex; in rcar_du_plane_setup_scanout()
482 if (state->hwindex != index) { in rcar_du_plane_setup_format_gen2()
566 rcar_du_plane_setup_format(rgrp, state->hwindex, state); in __rcar_du_plane_setup()
[all …]
H A Drcar_du_crtc.c373 unsigned int index = to_rcar_plane_state(state)->hwindex; in rcar_du_crtc_update_planes()
1228 unsigned int hwindex) in rcar_du_crtc_create() argument
1248 sprintf(clk_name, "du.%u", hwindex); in rcar_du_crtc_create()
1256 dev_err(rcdu->dev, "no clock for DU channel %u\n", hwindex); in rcar_du_crtc_create()
1260 sprintf(clk_name, "dclkin.%u", hwindex); in rcar_du_crtc_create()
1266 } else if (rcdu->info->dpll_mask & BIT(hwindex)) { in rcar_du_crtc_create()
1272 dev_err(rcdu->dev, "can't get dclkin.%u: %d\n", hwindex, ret); in rcar_du_crtc_create()
1282 rcrtc->mmio_offset = mmio_offsets[hwindex]; in rcar_du_crtc_create()
1283 rcrtc->index = hwindex; in rcar_du_crtc_create()
1304 rgrp->cmms_mask |= BIT(hwindex % 2); in rcar_du_crtc_create()
H A Drcar_du_kms.c851 unsigned int hwindex; in rcar_du_modeset_init() local
942 for (swindex = 0, hwindex = 0; swindex < rcdu->num_crtcs; ++hwindex) { in rcar_du_modeset_init()
946 if (!(rcdu->info->channels_mask & BIT(hwindex))) in rcar_du_modeset_init()
949 rgrp = &rcdu->groups[hwindex / 2]; in rcar_du_modeset_init()
951 ret = rcar_du_crtc_create(rgrp, swindex++, hwindex); in rcar_du_modeset_init()
H A Drcar_du_plane.h54 int hwindex; member
H A Drcar_du_crtc.h97 unsigned int hwindex);
H A Drcar_du_vsp.c83 state.hwindex = (crtc->index % 2) ? 2 : 0; in rcar_du_vsp_enable()
85 state.hwindex = crtc->index % 2; in rcar_du_vsp_enable()