/linux/drivers/gpu/drm/ |
H A D | drm_plane_helper.c | 196 if (drm_WARN_ON_ONCE(dev, drm_drv_uses_atomic_modeset(dev))) in drm_plane_helper_update_primary() 262 drm_WARN_ON_ONCE(dev, drm_drv_uses_atomic_modeset(dev)); in drm_plane_helper_disable_primary()
|
H A D | drm_gem_shmem_helper.c | 234 if (drm_WARN_ON_ONCE(obj->dev, !shmem->pages_use_count)) in drm_gem_shmem_put_pages() 412 if (drm_WARN_ON_ONCE(obj->dev, !shmem->vmap_use_count)) in drm_gem_shmem_vunmap() 550 drm_WARN_ON_ONCE(obj->dev, !shmem->pages) || in drm_gem_shmem_fault() 578 if (!drm_WARN_ON_ONCE(obj->dev, !shmem->pages_use_count)) in drm_gem_shmem_vm_open()
|
H A D | drm_vblank.c | 211 drm_WARN_ON_ONCE(dev, drm_max_vblank_count(dev, pipe) != 0); in drm_vblank_no_hw_counter() 362 drm_WARN_ON_ONCE(dev, cur_vblank != vblank->last); in drm_update_vblank_count() 730 drm_WARN_ON_ONCE(dev, drm_drv_uses_atomic_modeset(dev)); in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 1598 drm_WARN_ON_ONCE(dev, !crtc->funcs->get_vblank_timestamp); in drm_crtc_vblank_restore() 1599 drm_WARN_ON_ONCE(dev, vblank->inmodeset); in drm_crtc_vblank_restore() 1600 drm_WARN_ON_ONCE(dev, !vblank->config.disable_immediate); in drm_crtc_vblank_restore() 1923 if (drm_WARN_ON_ONCE(dev, !drm_dev_has_vblank(dev))) in drm_handle_vblank()
|
H A D | drm_gem_framebuffer_helper.c | 58 if (drm_WARN_ON_ONCE(dev, plane >= ARRAY_SIZE(fb->obj))) in drm_gem_fb_get_obj() 60 else if (drm_WARN_ON_ONCE(dev, !fb->obj[plane])) in drm_gem_fb_get_obj()
|
H A D | drm_probe_helper.c | 306 if (drm_WARN_ON_ONCE(dev, !dev->mode_config.poll_enabled) || in drm_kms_helper_poll_enable() 488 if (drm_WARN_ON_ONCE(dev, ret != -EDEADLK)) in __drm_helper_update_and_validate()
|
H A D | drm_client_modeset.c | 877 if (drm_WARN_ON_ONCE(dev, modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS || in drm_client_modeset_probe()
|
H A D | drm_fb_helper.c | 367 if (drm_WARN_ON_ONCE(dev, !helper->funcs->fb_dirty)) in drm_fb_helper_fb_dirty()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_driver.c | 1125 if (drm_WARN_ON_ONCE(&i915->drm, state.event != PM_EVENT_SUSPEND && in i915_driver_suspend_switcheroo() 1466 if (drm_WARN_ON_ONCE(&dev_priv->drm, !HAS_RUNTIME_PM(dev_priv))) in intel_runtime_suspend() 1565 if (drm_WARN_ON_ONCE(&dev_priv->drm, !HAS_RUNTIME_PM(dev_priv))) in intel_runtime_resume() 1570 drm_WARN_ON_ONCE(&dev_priv->drm, atomic_read(&rpm->wakeref_count)); in intel_runtime_resume()
|
H A D | intel_pcode.c | 196 drm_WARN_ON_ONCE(&uncore->i915->drm, timeout_base_ms > 3); in skl_pcode_request()
|
H A D | i915_irq.c | 160 if (drm_WARN_ON_ONCE(&dev_priv->drm, in ivb_parity_work()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_link_training.c | 339 drm_WARN_ON_ONCE(display->drm, in intel_dp_phy_is_downstream_of_source() 361 drm_WARN_ON_ONCE(display->drm, in intel_dp_phy_voltage_max() 383 drm_WARN_ON_ONCE(display->drm, in intel_dp_phy_preemph_max()
|
H A D | intel_vdsc.c | 424 drm_WARN_ON_ONCE(&i915->drm, dsc_reg_num < vdsc_per_pipe); in intel_dsc_pps_write() 819 drm_WARN_ON_ONCE(&i915->drm, dsc_reg_num < vdsc_per_pipe); in intel_dsc_pps_read()
|
H A D | intel_display_power_well.c | 760 if (drm_WARN_ON_ONCE(display->drm, in gen9_set_dc_state() 1455 drm_WARN_ON_ONCE(display->drm, in chv_dpio_cmn_power_well_enable() 1517 drm_WARN_ON_ONCE(display->drm, in chv_dpio_cmn_power_well_disable()
|
H A D | intel_ddi.c | 132 if (drm_WARN_ON_ONCE(&dev_priv->drm, !trans)) in hsw_prepare_dp_ddi_buffers() 164 if (drm_WARN_ON_ONCE(&dev_priv->drm, !trans)) in hsw_prepare_hdmi_ddi_buffers() 1059 if (drm_WARN_ON_ONCE(&dev_priv->drm, !trans)) in skl_ddi_set_iboost() 1128 if (drm_WARN_ON_ONCE(&dev_priv->drm, !trans)) in icl_ddi_combo_vswing_program() 1245 if (drm_WARN_ON_ONCE(&dev_priv->drm, !trans)) in icl_mg_phy_set_signal_levels() 1346 if (drm_WARN_ON_ONCE(&dev_priv->drm, !trans)) in tgl_dkl_phy_set_signal_levels() 1444 if (drm_WARN_ON_ONCE(&i915->drm, !trans)) in intel_ddi_level() 1453 if (drm_WARN_ON_ONCE(&i915->drm, level >= n_entries)) in intel_ddi_level()
|
H A D | intel_display_irq.c | 200 if (drm_WARN_ON_ONCE(&dev_priv->drm, in i915_pipestat_enable_mask() 207 if (drm_WARN_ON_ONCE(&dev_priv->drm, in i915_pipestat_enable_mask() 1066 drm_WARN_ON_ONCE(&dev_priv->drm, !HAS_DISPLAY(dev_priv)); in gen8_de_irq_handler()
|
H A D | intel_backlight.c | 118 drm_WARN_ON_ONCE(&i915->drm, in intel_backlight_level_to_pwm() 132 drm_WARN_ON_ONCE(display->drm, in intel_backlight_level_from_pwm()
|
H A D | intel_audio.c | 1063 if (drm_WARN_ON_ONCE(&i915->drm, !HAS_DDI(i915))) in i915_audio_component_get_cdclk_freq()
|
H A D | intel_tc.c | 1179 drm_WARN_ON_ONCE(&i915->drm, hweight32(mask) > 1); in tc_phy_hpd_live_status()
|
H A D | intel_cdclk.c | 1143 drm_WARN_ON_ONCE(display->drm, in skl_set_cdclk() 2529 if (drm_WARN_ON_ONCE(display->drm, !display->funcs.cdclk->set_cdclk)) in intel_set_cdclk()
|
H A D | intel_fb.c | 706 drm_WARN_ON_ONCE(fb->dev, hweight8(md->ccs.cc_planes) > 1); in intel_fb_rc_ccs_cc_plane()
|
/linux/include/drm/ |
H A D | drm_print.h | 764 #define drm_WARN_ON_ONCE(drm, x) \ macro
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_gt_mcr.c | 614 drm_WARN_ON_ONCE(&xe->drm, ret == -ETIMEDOUT); in mcr_lock()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 1205 if (drm_WARN_ON_ONCE(&adev->ddev, in amdgpu_bo_get_memory() 1213 if (drm_WARN_ON_ONCE(&adev->ddev, type >= sz)) in amdgpu_bo_get_memory()
|
/linux/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 157 drm_WARN_ON_ONCE(dev, mdev->info->bug_no_startadd); in mgag200_set_startadd()
|
/linux/drivers/gpu/drm/ast/ |
H A D | ast_mode.c | 1141 if (drm_WARN_ON_ONCE(dev, !format)) in ast_crtc_helper_atomic_check()
|