acrtc 164 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc]; acrtc 166 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->base.state); acrtc 187 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc]; acrtc 189 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->base.state); acrtc 370 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc; acrtc 374 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VUPDATE); acrtc 376 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (acrtc) { acrtc 377 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc_state = to_dm_crtc_state(acrtc->base.state); acrtc 379 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c DRM_DEBUG_DRIVER("crtc:%d, vupdate-vrr:%d\n", acrtc->crtc_id, acrtc 389 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_crtc_handle_vblank(&acrtc->base); acrtc 414 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc; acrtc 418 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VBLANK); acrtc 420 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (acrtc) { acrtc 421 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc_state = to_dm_crtc_state(acrtc->base.state); acrtc 423 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c DRM_DEBUG_DRIVER("crtc:%d, vupdate-vrr:%d\n", acrtc->crtc_id, acrtc 432 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_crtc_handle_vblank(&acrtc->base); acrtc 437 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_crtc_handle_crc_irq(&acrtc->base); acrtc 3748 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); acrtc 3752 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c irq_source = IRQ_TYPE_VUPDATE + acrtc->otg_inst; acrtc 3757 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->crtc_id, enable ? "en" : "dis", rc); acrtc 3764 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); acrtc 3781 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c irq_source = IRQ_TYPE_VBLANK + acrtc->otg_inst; acrtc 4785 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = NULL; acrtc 4797 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc = kzalloc(sizeof(struct amdgpu_crtc), GFP_KERNEL); acrtc 4798 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!acrtc) acrtc 4803 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c &acrtc->base, acrtc 4811 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_crtc_helper_add(&acrtc->base, &amdgpu_dm_crtc_helper_funcs); acrtc 4814 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (acrtc->base.funcs->reset) acrtc 4815 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->base.funcs->reset(&acrtc->base); acrtc 4817 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->max_cursor_width = dm->adev->dm.dc->caps.max_cursor_size; acrtc 4818 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->max_cursor_height = dm->adev->dm.dc->caps.max_cursor_size; acrtc 4820 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->crtc_id = crtc_index; acrtc 4821 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->base.enabled = false; acrtc 4822 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->otg_inst = -1; acrtc 4824 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm->adev->mode_info.crtcs[crtc_index] = acrtc; acrtc 4825 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_crtc_enable_color_mgmt(&acrtc->base, MAX_COLOR_LUT_ENTRIES, acrtc 4827 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_mode_crtc_set_gamma_size(&acrtc->base, MAX_COLOR_LEGACY_LUT_ENTRIES); acrtc 4832 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c kfree(acrtc); acrtc 5306 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc, acrtc 5316 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->crtc_id); acrtc 5319 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_crtc_vblank_on(&acrtc->base); acrtc 5330 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_crtc_vblank_off(&acrtc->base); acrtc 5353 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc, acrtc 5358 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->otg_inst = -1; acrtc 5359 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->enabled = false; acrtc 5479 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static void prepare_flip_isr(struct amdgpu_crtc *acrtc) acrtc 5482 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c assert_spin_locked(&acrtc->base.dev->event_lock); acrtc 5483 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c WARN_ON(acrtc->event); acrtc 5485 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->event = acrtc->base.state->event; acrtc 5488 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->pflip_status = AMDGPU_FLIP_SUBMITTED; acrtc 5491 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->base.state->event = NULL; acrtc 5494 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->crtc_id); acrtc 6056 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); acrtc 6074 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c manage_dm_interrupts(adev, acrtc, true); acrtc 6129 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); acrtc 6134 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c manage_dm_interrupts(adev, acrtc, false); acrtc 6186 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); acrtc 6195 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->crtc_id, acrtc 6215 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c DRM_DEBUG_DRIVER("Atomic commit: SET crtc id %d: [%p]\n", acrtc->crtc_id, acrtc); acrtc 6234 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c __func__, acrtc->base.base.id); acrtc 6239 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c remove_stream(adev, acrtc, dm_old_crtc_state->stream); acrtc 6243 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->enabled = true; acrtc 6244 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->hw_mode = new_crtc_state->mode; acrtc 6247 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c DRM_DEBUG_DRIVER("Atomic commit: RESET. crtc id %d:[%p]\n", acrtc->crtc_id, acrtc); acrtc 6251 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c remove_stream(adev, acrtc, dm_old_crtc_state->stream); acrtc 6263 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); acrtc 6276 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c DC_ERR("got no status for stream %p on acrtc%p\n", dm_new_crtc_state->stream, acrtc); acrtc 6278 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->otg_inst = status->primary_otg_inst; acrtc 6286 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = to_amdgpu_crtc(dm_new_con_state->base.crtc); acrtc 6296 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (acrtc) { acrtc 6297 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_crtc_state = drm_atomic_get_new_crtc_state(state, &acrtc->base); acrtc 6298 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c old_crtc_state = drm_atomic_get_old_crtc_state(state, &acrtc->base); acrtc 6302 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!acrtc || drm_atomic_crtc_needs_modeset(new_crtc_state)) acrtc 6635 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = NULL; acrtc 6644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc = to_amdgpu_crtc(crtc); acrtc 6680 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c __func__, acrtc->base.base.id); acrtc 6718 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c acrtc->crtc_id, acrtc 7413 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct amdgpu_crtc *acrtc = to_amdgpu_crtc(dm_new_con_state->base.crtc); acrtc 7416 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!acrtc || drm_atomic_crtc_needs_modeset( acrtc 7417 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_atomic_get_new_crtc_state(state, &acrtc->base))) acrtc 624 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c struct amdgpu_crtc *acrtc = adev->mode_info.crtcs[crtc_id]; acrtc 626 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c if (!acrtc) { acrtc 634 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c if (acrtc->otg_inst == -1) acrtc 637 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c irq_source = dal_irq_type + acrtc->otg_inst;