/linux/drivers/gpu/drm/i915/ |
A D | intel_pch.c | 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() 55 drm_WARN_ON(&dev_priv->drm, in intel_pch_type() [all …]
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | mmio.c | 118 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()
|
A D | cfg_space.c | 121 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()
|
A D | edid.c | 156 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()
|
A D | interrupt.c | 259 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()
|
A D | aperture_gm.c | 139 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()
|
A D | gvt.c | 159 if (drm_WARN_ON(&i915->drm, !gvt)) in intel_gvt_clean_device() 195 if (drm_WARN_ON(&i915->drm, i915->gvt)) in intel_gvt_init_device()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_tc.c | 111 drm_WARN_ON(&i915->drm, !enabled); in assert_tc_cold_blocked() 123 drm_WARN_ON(&i915->drm, lane_mask == 0xffffffff); in intel_tc_port_get_lane_mask() 139 drm_WARN_ON(&i915->drm, pin_mask == 0xffffffff); in intel_tc_port_get_pin_assignment_mask() 186 drm_WARN_ON(&i915->drm, in intel_tc_port_set_fia_lane_count() 296 if (!drm_WARN_ON(&i915->drm, hweight32(mask) > 1)) in adl_tc_port_live_status_mask() 503 drm_WARN_ON(&i915->drm, max_lanes != 4); in icl_tc_phy_connect() 629 drm_WARN_ON(&i915->drm, aux_powered); in intel_tc_port_reset_mode() 685 drm_WARN_ON(&i915->drm, dig_port->tc_link_refcount); in intel_tc_port_link_init_refcount() 703 drm_WARN_ON(&i915->drm, dig_port->tc_lock_wakeref); in intel_tc_port_sanitize() 863 drm_WARN_ON(&i915->drm, val == 0xffffffff); in tc_has_modular_fia() [all …]
|
A D | intel_pps.c | 136 drm_WARN_ON(&dev_priv->drm, in vlv_find_free_pps() 144 drm_WARN_ON(&dev_priv->drm, in vlv_find_free_pps() 168 drm_WARN_ON(&dev_priv->drm, !intel_dp_is_edp(intel_dp)); in vlv_power_sequencer_pipe() 182 if (drm_WARN_ON(&dev_priv->drm, pipe == INVALID_PIPE)) in vlv_power_sequencer_pipe() 216 drm_WARN_ON(&dev_priv->drm, !intel_dp_is_edp(intel_dp)); in bxt_power_sequencer_idx() 318 if (drm_WARN_ON(&dev_priv->drm, !IS_LP(dev_priv))) in intel_pps_reset_all() 337 drm_WARN_ON(&dev_priv->drm, in intel_pps_reset_all() 560 if (drm_WARN_ON(&dev_priv->drm, !HAS_DDI(dev_priv) && in ilk_get_pp_control() 592 drm_WARN_ON(&dev_priv->drm, intel_dp->pps.vdd_wakeref); in intel_pps_vdd_on_unlocked() 1420 if (drm_WARN_ON(&dev_priv->drm, HAS_DDI(dev_priv))) in assert_pps_unlocked() [all …]
|
A D | intel_ddi.c | 521 drm_WARN_ON(&dev_priv->drm, in intel_ddi_transcoder_func_reg_val_get() 641 if (drm_WARN_ON(dev, !wakeref)) in intel_ddi_toggle_hdcp_bits() 884 if (drm_WARN_ON(&dev_priv->drm, in intel_ddi_get_power_domains() 1008 if (drm_WARN_ON(&dev_priv->drm, in intel_ddi_dp_voltage_max() 1457 if (drm_WARN_ON(&i915->drm, !pll)) in adls_ddi_enable_clock() 1552 if (drm_WARN_ON(&i915->drm, in dg1_ddi_enable_clock() 1988 if (drm_WARN_ON(&i915->drm, in intel_ddi_sanitize_encoder_pll_mapping() 2045 drm_WARN_ON(&dev_priv->drm, in icl_program_mg_dp_mode() 2538 drm_WARN_ON(&dev_priv->drm, in hsw_ddi_pre_enable_dp() 3429 drm_WARN_ON(&dev_priv->drm, in bdw_get_trans_port_sync_config() [all …]
|
A D | intel_frontbuffer.c | 232 drm_WARN_ON(obj->base.dev, atomic_read(&front->bits)); in frontbuffer_release() 317 drm_WARN_ON(old->obj->base.dev, in intel_frontbuffer_track() 323 drm_WARN_ON(new->obj->base.dev, in intel_frontbuffer_track()
|
A D | intel_fbc.c | 479 drm_WARN_ON(&dev_priv->drm, !mutex_is_locked(&fbc->lock)); in intel_fbc_deactivate() 561 drm_WARN_ON(&dev_priv->drm, in intel_fbc_alloc_cfb() 563 drm_WARN_ON(&dev_priv->drm, in intel_fbc_alloc_cfb() 797 drm_WARN_ON(&dev_priv->drm, plane_state->flags & PLANE_HAS_FENCE && in intel_fbc_update_state_cache() 1127 drm_WARN_ON(&dev_priv->drm, !mutex_is_locked(&fbc->lock)); in __intel_fbc_disable() 1128 drm_WARN_ON(&dev_priv->drm, !fbc->crtc); in __intel_fbc_disable() 1129 drm_WARN_ON(&dev_priv->drm, fbc->active); in __intel_fbc_disable() 1144 drm_WARN_ON(&dev_priv->drm, !mutex_is_locked(&fbc->lock)); in __intel_fbc_post_update() 1344 drm_WARN_ON(&dev_priv->drm, fbc->active); in intel_fbc_enable() 1428 drm_WARN_ON(&dev_priv->drm, fbc->crtc->active); in intel_fbc_global_disable()
|
A D | intel_psr.c | 449 if (drm_WARN_ON(&dev_priv->drm, idle_frames > 0xf)) in psr_compute_idle_frames() 573 drm_WARN_ON(&dev_priv->drm, !(tmp & PSR2_MAN_TRK_CTL_ENABLE)); in hsw_activate_psr2() 1047 drm_WARN_ON(&dev_priv->drm, in intel_psr_activate() 1050 drm_WARN_ON(&dev_priv->drm, in intel_psr_activate() 1052 drm_WARN_ON(&dev_priv->drm, intel_dp->psr.active); in intel_psr_activate() 1181 drm_WARN_ON(&dev_priv->drm, intel_dp->psr.enabled); in intel_psr_enable_locked() 1219 drm_WARN_ON(&dev_priv->drm, val & EDP_PSR2_ENABLE); in intel_psr_exit() 1224 drm_WARN_ON(&dev_priv->drm, val & EDP_PSR_ENABLE); in intel_psr_exit() 1233 drm_WARN_ON(&dev_priv->drm, !(val & EDP_PSR2_ENABLE)); in intel_psr_exit() 1240 drm_WARN_ON(&dev_priv->drm, !(val & EDP_PSR_ENABLE)); in intel_psr_exit() [all …]
|
A D | intel_display_power.c | 366 drm_WARN_ON(&dev_priv->drm, !timeout_expected); in hsw_wait_for_power_well_enable() 420 drm_WARN_ON(&dev_priv->drm, in gen9_wait_for_power_well_fuses() 492 drm_WARN_ON(&dev_priv->drm, !IS_ICELAKE(dev_priv)); in icl_combo_phy_aux_power_well_enable() 524 drm_WARN_ON(&dev_priv->drm, !IS_ICELAKE(dev_priv)); in icl_combo_phy_aux_power_well_disable() 547 drm_WARN_ON(&dev_priv->drm, refs > power_well->count); in power_well_async_ref_count() 561 if (drm_WARN_ON(&dev_priv->drm, !dig_port)) in icl_tc_port_assert_ref_held() 1019 if (drm_WARN_ON(&dev_priv->drm, !power_well)) in intel_display_power_set_target_dc_state() 1201 drm_WARN_ON(&dev_priv->drm, in gen9_disable_dc_states() 1370 drm_WARN_ON(&dev_priv->drm, ctrl != state); in vlv_power_well_enabled() 1886 drm_WARN_ON(&dev_priv->drm, ctrl << 16 != state); in chv_pipe_power_well_enabled() [all …]
|
A D | intel_fb.c | 14 #define check_array_bounds(i915, a, i) drm_WARN_ON(&(i915)->drm, (i) >= ARRAY_SIZE(a)) 49 drm_WARN_ON(fb->dev, !is_ccs_modifier(fb->modifier) || in main_to_ccs_plane() 57 drm_WARN_ON(fb->dev, !is_ccs_modifier(fb->modifier) || in skl_ccs_to_main_plane() 292 drm_WARN_ON(&dev_priv->drm, color_plane != 0); in intel_surf_alignment() 422 drm_WARN_ON(&i915->drm, new_offset > old_offset); in intel_adjust_aligned_offset() 845 drm_WARN_ON(&(i915)->drm, overflows_type(val, var)); \ 891 drm_WARN_ON(&i915->drm, view->gtt.type != I915_GGTT_VIEW_REMAPPED); in calc_plane_remap_info() 989 drm_WARN_ON(&i915->drm, in intel_fill_fb_info() 1083 drm_WARN_ON(&i915->drm, is_ccs_modifier(fb->modifier)); in intel_plane_remap_gtt()
|
A D | intel_overlay.c | 256 drm_WARN_ON(&dev_priv->drm, overlay->active); in intel_overlay_on() 290 drm_WARN_ON(&overlay->i915->drm, overlay->old_vma); in intel_overlay_flip_prepare() 322 drm_WARN_ON(&dev_priv->drm, !overlay->active); in intel_overlay_continue() 357 if (drm_WARN_ON(&overlay->i915->drm, !vma)) in intel_overlay_release_old_vma() 402 drm_WARN_ON(&overlay->i915->drm, !overlay->active); in intel_overlay_off() 796 drm_WARN_ON(&dev_priv->drm, in intel_overlay_do_put_image() 901 drm_WARN_ON(&dev_priv->drm, in intel_overlay_switch_off() 1435 drm_WARN_ON(&dev_priv->drm, overlay->active); in intel_overlay_cleanup()
|
A D | intel_dpll_mgr.c | 127 if (drm_WARN_ON(&dev_priv->drm, in intel_get_shared_dpll_id() 202 if (drm_WARN_ON(&dev_priv->drm, pll == NULL)) in intel_enable_shared_dpll() 220 drm_WARN_ON(&dev_priv->drm, !pll->on); in intel_enable_shared_dpll() 224 drm_WARN_ON(&dev_priv->drm, pll->on); in intel_enable_shared_dpll() 266 drm_WARN_ON(&dev_priv->drm, !pll->on); in intel_disable_shared_dpll() 2099 drm_WARN_ON(&i915->drm, best_clock.m1 != 2); in bxt_ddi_hdmi_pll_dividers() 2567 drm_WARN_ON(&i915->drm, 1); in icl_ddi_tbt_pll_get_freq() 4096 drm_WARN_ON(dev, i != dpll_info[i].id); in intel_shared_dpll_init() 4133 if (drm_WARN_ON(&dev_priv->drm, !dpll_mgr)) in intel_reserve_shared_dplls() 4185 if (drm_WARN_ON(&dev_priv->drm, !dpll_mgr)) in intel_update_active_dpll() [all …]
|
A D | intel_fb_pin.c | 91 if (drm_WARN_ON(dev, !i915_gem_object_is_framebuffer(obj))) in intel_pin_and_fence_fb_obj() 98 if (drm_WARN_ON(dev, alignment && !is_power_of_2(alignment))) in intel_pin_and_fence_fb_obj()
|
A D | intel_dp_aux.c | 252 if (drm_WARN_ON(&i915->drm, send_bytes > 20 || recv_size > 20)) { in intel_dp_aux_xfer() 420 if (drm_WARN_ON(&i915->drm, txsize > 20)) in intel_dp_aux_transfer() 423 drm_WARN_ON(&i915->drm, !msg->buffer != !msg->size); in intel_dp_aux_transfer() 448 if (drm_WARN_ON(&i915->drm, rxsize > 20)) in intel_dp_aux_transfer()
|
A D | intel_audio.c | 701 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_disable() 752 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_enable() 985 if (drm_WARN_ON(&dev_priv->drm, !state)) in glk_force_audio_cdclk() 999 drm_WARN_ON(&dev_priv->drm, ret); in glk_force_audio_cdclk() 1110 if (drm_WARN_ON(&dev_priv->drm, in get_saved_enc() 1230 if (drm_WARN_ON(&dev_priv->drm, acomp->base.ops || acomp->base.dev)) in i915_audio_component_bind() 1233 if (drm_WARN_ON(&dev_priv->drm, in i915_audio_component_bind()
|
A D | intel_dsb.c | 107 if (drm_WARN_ON(&dev_priv->drm, dsb->free_pos >= DSB_BUF_SIZE)) { in intel_dsb_indexed_reg_write() 185 if (drm_WARN_ON(&dev_priv->drm, dsb->free_pos >= DSB_BUF_SIZE)) { in intel_dsb_reg_write()
|
A D | intel_global_state.c | 58 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()
|
A D | intel_hdcp.c | 86 if (drm_WARN_ON(&i915->drm, data->k > INTEL_NUM_PIPES(i915) || data->k == 0)) in intel_hdcp_required_content_stream() 993 drm_WARN_ON(connector->base.dev, !mutex_is_locked(&hdcp->mutex)); in intel_hdcp_update_value() 998 drm_WARN_ON(dev, !mutex_is_locked(&dig_port->hdcp_mutex)); in intel_hdcp_update_value() 1001 if (!drm_WARN_ON(dev, dig_port->num_hdcp_streams == 0)) in intel_hdcp_update_value() 1036 if (drm_WARN_ON(&dev_priv->drm, in intel_hdcp_check_link() 1784 drm_WARN_ON(&dev_priv->drm, in hdcp2_enable_encryption() 2026 if (drm_WARN_ON(&dev_priv->drm, in intel_hdcp2_check_link() 2232 drm_WARN_ON(&dev_priv->drm, dev_priv->hdcp_comp_added); in intel_hdcp_component_init() 2317 drm_WARN_ON(&dev_priv->drm, in intel_hdcp_enable() 2479 drm_WARN_ON(connector->base.dev, in intel_hdcp_cleanup() [all …]
|
/linux/drivers/gpu/drm/ |
A D | drm_vblank.c | 207 if (drm_WARN_ON(dev, !crtc)) in __get_vblank_counter() 375 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_count() 430 if (drm_WARN_ON(dev, !crtc)) in __disable_vblank() 504 drm_WARN_ON(dev, READ_ONCE(vblank->enabled) && in drm_vblank_init_release() 620 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_calc_timestamping_constants() 1107 if (drm_WARN_ON(dev, !crtc)) in __enable_vblank() 1169 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_get() 1207 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_vblank_put() 1255 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_wait_one_vblank() 1309 if (drm_WARN_ON(dev, pipe >= dev->num_crtcs)) in drm_crtc_vblank_off() [all …]
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_shrinker.c | 426 drm_WARN_ON(&i915->drm, register_shrinker(&i915->mm.shrinker)); in i915_gem_driver_register__shrinker() 429 drm_WARN_ON(&i915->drm, register_oom_notifier(&i915->mm.oom_notifier)); in i915_gem_driver_register__shrinker() 432 drm_WARN_ON(&i915->drm, in i915_gem_driver_register__shrinker() 438 drm_WARN_ON(&i915->drm, in i915_gem_driver_unregister__shrinker() 440 drm_WARN_ON(&i915->drm, in i915_gem_driver_unregister__shrinker()
|