Home
last modified time | relevance | path

Searched refs:drm_WARN_ON (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_pch.c16 drm_WARN_ON(&dev_priv->drm, !IS_GEN(dev_priv, 5)); in intel_pch_type()
20 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
25 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
31 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
33 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
38 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
40 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
45 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
47 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
53 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
[all …]
Di915_irq.c298 drm_WARN_ON(&dev_priv->drm, bits & ~mask); in i915_hotplug_interrupt_update_locked()
341 drm_WARN_ON(&dev_priv->drm, enabled_irq_mask & ~interrupt_mask); in ilk_update_display_irq()
343 if (drm_WARN_ON(&dev_priv->drm, !intel_irqs_enabled(dev_priv))) in ilk_update_display_irq()
372 drm_WARN_ON(&dev_priv->drm, enabled_irq_mask & ~interrupt_mask); in bdw_update_port_irq()
374 if (drm_WARN_ON(&dev_priv->drm, !intel_irqs_enabled(dev_priv))) in bdw_update_port_irq()
405 drm_WARN_ON(&dev_priv->drm, enabled_irq_mask & ~interrupt_mask); in bdw_update_pipe_irq()
407 if (drm_WARN_ON(&dev_priv->drm, !intel_irqs_enabled(dev_priv))) in bdw_update_pipe_irq()
435 drm_WARN_ON(&dev_priv->drm, enabled_irq_mask & ~interrupt_mask); in ibx_display_interrupt_update()
439 if (drm_WARN_ON(&dev_priv->drm, !intel_irqs_enabled(dev_priv))) in ibx_display_interrupt_update()
501 drm_WARN_ON(&dev_priv->drm, !intel_irqs_enabled(dev_priv)); in i915_enable_pipestat()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dmmio.c118 if (drm_WARN_ON(&i915->drm, bytes > 8)) in intel_vgpu_emulate_mmio_read()
122 if (drm_WARN_ON(&i915->drm, !IS_ALIGNED(offset, 4) && in intel_vgpu_emulate_mmio_read()
125 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_read()
127 if (drm_WARN_ON(&i915->drm, in intel_vgpu_emulate_mmio_read()
143 if (drm_WARN_ON(&i915->drm, !reg_is_mmio(gvt, offset + bytes - 1))) in intel_vgpu_emulate_mmio_read()
147 if (drm_WARN_ON(&i915->drm, !IS_ALIGNED(offset, bytes))) in intel_vgpu_emulate_mmio_read()
194 if (drm_WARN_ON(&i915->drm, bytes > 8)) in intel_vgpu_emulate_mmio_write()
198 if (drm_WARN_ON(&i915->drm, !IS_ALIGNED(offset, 4) && in intel_vgpu_emulate_mmio_write()
201 if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8)) in intel_vgpu_emulate_mmio_write()
203 if (drm_WARN_ON(&i915->drm, in intel_vgpu_emulate_mmio_write()
Dcfg_space.c121 if (drm_WARN_ON(&i915->drm, bytes > 4)) in intel_vgpu_emulate_cfg_read()
124 if (drm_WARN_ON(&i915->drm, in intel_vgpu_emulate_cfg_read()
316 if (drm_WARN_ON(&i915->drm, bytes > 4)) in intel_vgpu_emulate_cfg_write()
319 if (drm_WARN_ON(&i915->drm, in intel_vgpu_emulate_cfg_write()
325 if (drm_WARN_ON(&i915->drm, bytes > 2)) in intel_vgpu_emulate_cfg_write()
332 if (drm_WARN_ON(&i915->drm, !IS_ALIGNED(offset, 4))) in intel_vgpu_emulate_cfg_write()
337 if (drm_WARN_ON(&i915->drm, !IS_ALIGNED(offset, 4))) in intel_vgpu_emulate_cfg_write()
342 if (drm_WARN_ON(&i915->drm, !IS_ALIGNED(offset, 4))) in intel_vgpu_emulate_cfg_write()
350 if (drm_WARN_ON(&i915->drm, !IS_ALIGNED(offset, 4))) in intel_vgpu_emulate_cfg_write()
Dedid.c156 if (drm_WARN_ON(&i915->drm, port < 0)) in gmbus0_mmio_write()
281 drm_WARN_ON(&i915->drm, 1); in gmbus3_mmio_write()
378 if (drm_WARN_ON(&i915->drm, bytes > 8 && (offset & (bytes - 1)))) in intel_gvt_i2c_handle_gmbus_read()
408 if (drm_WARN_ON(&i915->drm, bytes > 8 && (offset & (bytes - 1)))) in intel_gvt_i2c_handle_gmbus_write()
542 if (drm_WARN_ON(&i915->drm, (op & 0x1) != GVT_AUX_I2C_READ)) in intel_gvt_i2c_handle_aux_ch_write()
544 if (drm_WARN_ON(&i915->drm, msg_length != 4)) in intel_gvt_i2c_handle_aux_ch_write()
Dinterrupt.c259 if (drm_WARN_ON(&i915->drm, !info)) in intel_vgpu_reg_ier_handler()
294 if (drm_WARN_ON(&i915->drm, !info)) in intel_vgpu_reg_iir_handler()
346 drm_WARN_ON(&i915->drm, up_irq_info != in update_upstream_irq()
357 if (drm_WARN_ON(&i915->drm, !up_irq_info)) in update_upstream_irq()
632 drm_WARN_ON(&i915->drm, !handler); in intel_vgpu_trigger_virtual_event()
Daperture_gm.c139 if (drm_WARN_ON(&i915->drm, fence >= vgpu_fence_sz(vgpu))) in intel_vgpu_write_fence()
143 if (drm_WARN_ON(&i915->drm, !reg)) in intel_vgpu_write_fence()
173 if (drm_WARN_ON(&gvt->gt->i915->drm, !vgpu_fence_sz(vgpu))) in free_vgpu_fence()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_tc.c79 drm_WARN_ON(&i915->drm, !enabled); in assert_tc_cold_blocked()
91 drm_WARN_ON(&i915->drm, lane_mask == 0xffffffff); in intel_tc_port_get_lane_mask()
107 drm_WARN_ON(&i915->drm, pin_mask == 0xffffffff); in intel_tc_port_get_pin_assignment_mask()
154 drm_WARN_ON(&i915->drm, in intel_tc_port_set_fia_lane_count()
235 if (!drm_WARN_ON(&i915->drm, hweight32(mask) > 1)) in tc_port_live_status_mask()
333 !drm_WARN_ON(&i915->drm, dig_port->tc_legacy_port)) in icl_tc_phy_connect()
338 drm_WARN_ON(&i915->drm, max_lanes != 4); in icl_tc_phy_connect()
424 drm_WARN_ON(&i915->drm, !icl_tc_phy_status_complete(dig_port))) in intel_tc_port_get_current_mode()
431 if (!drm_WARN_ON(&i915->drm, live_mode == TC_PORT_TBT_ALT)) in intel_tc_port_get_current_mode()
464 drm_WARN_ON(&i915->drm, aux_powered); in intel_tc_port_reset_mode()
[all …]
Dintel_psr.c98 drm_WARN_ON(&dev_priv->drm, crtc_state->dsc.compression_enable && in intel_psr2_enabled()
474 if (drm_WARN_ON(&dev_priv->drm, idle_frames > 0xf)) in psr_compute_idle_frames()
676 if (drm_WARN_ON(&dev_priv->drm, exit_scanlines > crtc_vdisplay)) in tgl_dc3co_exitline_compute_config()
872 drm_WARN_ON(&dev_priv->drm, in intel_psr_activate()
875 drm_WARN_ON(&dev_priv->drm, in intel_psr_activate()
877 drm_WARN_ON(&dev_priv->drm, dev_priv->psr.active); in intel_psr_activate()
960 drm_WARN_ON(&dev_priv->drm, dev_priv->psr.enabled); in intel_psr_enable_locked()
1029 drm_WARN_ON(&dev_priv->drm, dev_priv->drrs.dp); in intel_psr_enable()
1052 drm_WARN_ON(&dev_priv->drm, val & EDP_PSR2_ENABLE); in intel_psr_exit()
1057 drm_WARN_ON(&dev_priv->drm, val & EDP_PSR_ENABLE); in intel_psr_exit()
[all …]
Dintel_fbc.c419 drm_WARN_ON(&dev_priv->drm, !mutex_is_locked(&fbc->lock)); in intel_fbc_deactivate()
493 drm_WARN_ON(&dev_priv->drm, in intel_fbc_alloc_cfb()
737 drm_WARN_ON(&dev_priv->drm, plane_state->flags & PLANE_HAS_FENCE && in intel_fbc_update_state_cache()
1042 drm_WARN_ON(&dev_priv->drm, !mutex_is_locked(&fbc->lock)); in __intel_fbc_disable()
1043 drm_WARN_ON(&dev_priv->drm, !fbc->crtc); in __intel_fbc_disable()
1044 drm_WARN_ON(&dev_priv->drm, fbc->active); in __intel_fbc_disable()
1059 drm_WARN_ON(&dev_priv->drm, !mutex_is_locked(&fbc->lock)); in __intel_fbc_post_update()
1261 drm_WARN_ON(&dev_priv->drm, fbc->active); in intel_fbc_enable()
1324 drm_WARN_ON(&dev_priv->drm, fbc->crtc->active); in intel_fbc_global_disable()
Dintel_overlay.c254 drm_WARN_ON(&dev_priv->drm, overlay->active); in intel_overlay_on()
288 drm_WARN_ON(&overlay->i915->drm, overlay->old_vma); in intel_overlay_flip_prepare()
320 drm_WARN_ON(&dev_priv->drm, !overlay->active); in intel_overlay_continue()
355 if (drm_WARN_ON(&overlay->i915->drm, !vma)) in intel_overlay_release_old_vma()
401 drm_WARN_ON(&overlay->i915->drm, !overlay->active); in intel_overlay_off()
769 drm_WARN_ON(&dev_priv->drm, in intel_overlay_do_put_image()
874 drm_WARN_ON(&dev_priv->drm, in intel_overlay_switch_off()
1411 drm_WARN_ON(&dev_priv->drm, overlay->active); in intel_overlay_cleanup()
Dintel_frontbuffer.c307 drm_WARN_ON(old->obj->base.dev, in intel_frontbuffer_track()
313 drm_WARN_ON(new->obj->base.dev, in intel_frontbuffer_track()
Dintel_dpll_mgr.c83 drm_WARN_ON(s->dev, !drm_modeset_is_locked(&s->dev->mode_config.connection_mutex)); in intel_atomic_get_shared_dpll_state()
124 if (drm_WARN_ON(&dev_priv->drm, in intel_get_shared_dpll_id()
175 if (drm_WARN_ON(&dev_priv->drm, pll == NULL)) in intel_prepare_shared_dpll()
179 drm_WARN_ON(&dev_priv->drm, !pll->state.crtc_mask); in intel_prepare_shared_dpll()
182 drm_WARN_ON(&dev_priv->drm, pll->on); in intel_prepare_shared_dpll()
204 if (drm_WARN_ON(&dev_priv->drm, pll == NULL)) in intel_enable_shared_dpll()
210 if (drm_WARN_ON(&dev_priv->drm, !(pll->state.crtc_mask & crtc_mask)) || in intel_enable_shared_dpll()
211 drm_WARN_ON(&dev_priv->drm, pll->active_mask & crtc_mask)) in intel_enable_shared_dpll()
222 drm_WARN_ON(&dev_priv->drm, !pll->on); in intel_enable_shared_dpll()
226 drm_WARN_ON(&dev_priv->drm, pll->on); in intel_enable_shared_dpll()
[all …]
Dintel_ddi.c1418 drm_WARN_ON(&dev_priv->drm, ddi_pll_sel != PORT_CLK_SEL_SPLL); in hsw_fdi_link_train()
1596 drm_WARN_ON(&dev_priv->drm, transcoder_is_dsi(cpu_transcoder)); in intel_ddi_set_dp_msa()
1619 drm_WARN_ON(&dev_priv->drm, crtc_state->limited_color_range && in intel_ddi_set_dp_msa()
1744 drm_WARN_ON(&dev_priv->drm, in intel_ddi_transcoder_func_reg_val_get()
1824 drm_WARN_ON(crtc->base.dev, ctl & TRANS_DDI_HDCP_SIGNALLING); in intel_ddi_disable_transcoder_func()
1864 if (drm_WARN_ON(dev, !wakeref)) in intel_ddi_toggle_hdcp_signalling()
2101 if (drm_WARN_ON(&dev_priv->drm, in intel_ddi_get_power_domains()
2294 if (drm_WARN_ON(&dev_priv->drm, n_entries < 1)) in intel_ddi_dp_voltage_max()
2296 if (drm_WARN_ON(&dev_priv->drm, in intel_ddi_dp_voltage_max()
2922 drm_WARN_ON(&dev_priv->drm, in icl_map_plls_to_ports()
[all …]
Dintel_display_power.c342 drm_WARN_ON(&dev_priv->drm, !timeout_expected); in hsw_wait_for_power_well_enable()
396 drm_WARN_ON(&dev_priv->drm, in gen9_wait_for_power_well_fuses()
481 drm_WARN_ON(&dev_priv->drm, !IS_ICELAKE(dev_priv)); in icl_combo_phy_aux_power_well_enable()
513 drm_WARN_ON(&dev_priv->drm, !IS_ICELAKE(dev_priv)); in icl_combo_phy_aux_power_well_disable()
536 drm_WARN_ON(&dev_priv->drm, refs > power_well->count); in power_well_async_ref_count()
550 if (drm_WARN_ON(&dev_priv->drm, !dig_port)) in icl_tc_port_assert_ref_held()
556 drm_WARN_ON(&dev_priv->drm, !intel_tc_port_ref_held(dig_port)); in icl_tc_port_assert_ref_held()
1007 if (drm_WARN_ON(&dev_priv->drm, !power_well)) in intel_display_power_set_target_dc_state()
1186 drm_WARN_ON(&dev_priv->drm, in gen9_disable_dc_states()
1345 drm_WARN_ON(&dev_priv->drm, state != PUNIT_PWRGT_PWR_ON(pw_idx) && in vlv_power_well_enabled()
[all …]
Dintel_dp.c319 drm_WARN_ON(&dev_priv->drm, in intel_dp_set_source_rates()
396 drm_WARN_ON(&i915->drm, in intel_dp_set_common_rates()
406 if (drm_WARN_ON(&i915->drm, intel_dp->num_common_rates == 0)) { in intel_dp_set_common_rates()
882 drm_WARN_ON(&dev_priv->drm, in vlv_find_free_pps()
890 drm_WARN_ON(&dev_priv->drm, in vlv_find_free_pps()
914 drm_WARN_ON(&dev_priv->drm, !intel_dp_is_edp(intel_dp)); in vlv_power_sequencer_pipe()
916 drm_WARN_ON(&dev_priv->drm, intel_dp->active_pipe != INVALID_PIPE && in vlv_power_sequencer_pipe()
928 if (drm_WARN_ON(&dev_priv->drm, pipe == INVALID_PIPE)) in vlv_power_sequencer_pipe()
962 drm_WARN_ON(&dev_priv->drm, !intel_dp_is_edp(intel_dp)); in bxt_power_sequencer_idx()
1067 if (drm_WARN_ON(&dev_priv->drm, in intel_power_sequencer_reset()
[all …]
Dintel_dsb.c106 if (drm_WARN_ON(&dev_priv->drm, dsb->free_pos >= DSB_BUF_SIZE)) { in intel_dsb_indexed_reg_write()
184 if (drm_WARN_ON(&dev_priv->drm, dsb->free_pos >= DSB_BUF_SIZE)) { in intel_dsb_reg_write()
Dintel_global_state.c58 drm_WARN_ON(&dev_priv->drm, kref_read(&obj->state->ref) != 1); in intel_atomic_global_obj_cleanup()
183 drm_WARN_ON(&dev_priv->drm, obj->state != old_obj_state); in intel_atomic_swap_global_state()
Dintel_audio.c707 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_disable()
758 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_enable()
980 if (drm_WARN_ON(&dev_priv->drm, !state)) in glk_force_audio_cdclk()
994 drm_WARN_ON(&dev_priv->drm, ret); in glk_force_audio_cdclk()
1105 if (drm_WARN_ON(&dev_priv->drm, in get_saved_enc()
1225 if (drm_WARN_ON(&dev_priv->drm, acomp->base.ops || acomp->base.dev)) in i915_audio_component_bind()
1228 if (drm_WARN_ON(&dev_priv->drm, in i915_audio_component_bind()
Dintel_hdcp.c890 drm_WARN_ON(connector->base.dev, !mutex_is_locked(&hdcp->mutex)); in intel_hdcp_update_value()
895 drm_WARN_ON(dev, !mutex_is_locked(&dig_port->hdcp_mutex)); in intel_hdcp_update_value()
898 if (!drm_WARN_ON(dev, dig_port->num_hdcp_streams == 0)) in intel_hdcp_update_value()
933 if (drm_WARN_ON(&dev_priv->drm, in intel_hdcp_check_link()
1639 drm_WARN_ON(&dev_priv->drm, in hdcp2_enable_encryption()
1679drm_WARN_ON(&dev_priv->drm, !(intel_de_read(dev_priv, HDCP2_STATUS(dev_priv, cpu_transcoder, port)… in hdcp2_disable_encryption()
1805 if (drm_WARN_ON(&dev_priv->drm, in intel_hdcp2_check_link()
2010 drm_WARN_ON(&dev_priv->drm, dev_priv->hdcp_comp_added); in intel_hdcp_component_init()
2088 drm_WARN_ON(&dev_priv->drm, in intel_hdcp_enable()
2243 drm_WARN_ON(connector->base.dev, in intel_hdcp_cleanup()
[all …]
Dintel_crt.c236 drm_WARN_ON(&dev_priv->drm, !old_crtc_state->has_pch_encoder); in hsw_disable_crt()
265 drm_WARN_ON(&dev_priv->drm, !old_crtc_state->has_pch_encoder); in hsw_post_disable_crt()
277 drm_WARN_ON(&dev_priv->drm, !crtc_state->has_pch_encoder); in hsw_pre_pll_enable_crt()
291 drm_WARN_ON(&dev_priv->drm, !crtc_state->has_pch_encoder); in hsw_pre_enable_crt()
309 drm_WARN_ON(&dev_priv->drm, !crtc_state->has_pch_encoder); in hsw_enable_crt()
Dintel_cdclk.c531 drm_WARN_ON(&dev_priv->drm, in vlv_program_pfi_credits()
850 if (drm_WARN_ON(&dev_priv->drm, (val & LCPLL_PLL_LOCK) == 0)) in skl_dpll0_update()
855 if (drm_WARN_ON(&dev_priv->drm, in skl_dpll0_update()
961 drm_WARN_ON(&dev_priv->drm, vco != 8100000 && vco != 8640000); in skl_dpll0_enable()
1042 drm_WARN_ON(&dev_priv->drm, in skl_set_cdclk()
1044 drm_WARN_ON(&dev_priv->drm, vco != 0); in skl_set_cdclk()
1561 drm_WARN_ON(&dev_priv->drm, in bxt_set_cdclk()
1563 drm_WARN_ON(&dev_priv->drm, vco != 0); in bxt_set_cdclk()
1937 drm_WARN_ON(&dev_priv->drm, !new_cdclk_state->base.changed); in intel_set_cdclk_pre_plane_update()
1966 drm_WARN_ON(&dev_priv->drm, !new_cdclk_state->base.changed); in intel_set_cdclk_post_plane_update()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vblank.c207 if (drm_WARN_ON(dev, !crtc)) in __get_vblank_counter()
372 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_count()
427 if (drm_WARN_ON(dev, !crtc)) in __disable_vblank()
498 drm_WARN_ON(dev, READ_ONCE(vblank->enabled) && in drm_vblank_init_release()
614 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_calc_timestamping_constants()
936 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) { in drm_vblank_count_and_time()
1094 if (drm_WARN_ON(dev, !crtc)) in __enable_vblank()
1153 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_get()
1191 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_put()
1194 if (drm_WARN_ON(dev, atomic_read(&vblank->refcount) == 0)) in drm_vblank_put()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c396 drm_WARN_ON(&i915->drm, register_shrinker(&i915->mm.shrinker)); in i915_gem_driver_register__shrinker()
399 drm_WARN_ON(&i915->drm, register_oom_notifier(&i915->mm.oom_notifier)); in i915_gem_driver_register__shrinker()
402 drm_WARN_ON(&i915->drm, in i915_gem_driver_register__shrinker()
408 drm_WARN_ON(&i915->drm, in i915_gem_driver_unregister__shrinker()
410 drm_WARN_ON(&i915->drm, in i915_gem_driver_unregister__shrinker()
Di915_gem_pm.c88 drm_WARN_ON(&i915->drm, in i915_gem_suspend_late()

1234