Home
last modified time | relevance | path

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

/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.c373 unsigned int index = to_rcar_plane_state(state)->hwindex; in rcar_du_crtc_update_planes()
1198 unsigned int hwindex) in rcar_du_crtc_create() argument
1218 sprintf(clk_name, "du.%u", hwindex); in rcar_du_crtc_create()
1226 dev_err(rcdu->dev, "no clock for DU channel %u\n", hwindex); in rcar_du_crtc_create()
1230 sprintf(clk_name, "dclkin.%u", hwindex); in rcar_du_crtc_create()
1236 } else if (rcdu->info->dpll_mask & BIT(hwindex)) { in rcar_du_crtc_create()
1242 dev_err(rcdu->dev, "can't get dclkin.%u: %d\n", hwindex, ret); in rcar_du_crtc_create()
1252 rcrtc->mmio_offset = mmio_offsets[hwindex]; in rcar_du_crtc_create()
1253 rcrtc->index = hwindex; in rcar_du_crtc_create()
1271 rgrp->cmms_mask |= BIT(hwindex % 2); in rcar_du_crtc_create()
Drcar_du_kms.c761 unsigned int hwindex; in rcar_du_modeset_init() local
847 for (swindex = 0, hwindex = 0; swindex < rcdu->num_crtcs; ++hwindex) { in rcar_du_modeset_init()
851 if (!(rcdu->info->channels_mask & BIT(hwindex))) in rcar_du_modeset_init()
854 rgrp = &rcdu->groups[hwindex / 2]; in rcar_du_modeset_init()
856 ret = rcar_du_crtc_create(rgrp, swindex++, hwindex); in rcar_du_modeset_init()
Drcar_du_plane.h54 int hwindex; member
Drcar_du_crtc.h108 unsigned int hwindex);
Drcar_du_vsp.c79 state.hwindex = (crtc->index % 2) ? 2 : 0; in rcar_du_vsp_enable()
81 state.hwindex = crtc->index % 2; in rcar_du_vsp_enable()