Home
last modified time | relevance | path

Searched refs:drm_WARN_ON_ONCE (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/gpu/drm/
H A Ddrm_plane_helper.c196 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 Ddrm_gem_shmem_helper.c234 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 Ddrm_vblank.c211 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 Ddrm_gem_framebuffer_helper.c58 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 Ddrm_probe_helper.c306 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 Ddrm_client_modeset.c877 if (drm_WARN_ON_ONCE(dev, modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS || in drm_client_modeset_probe()
H A Ddrm_fb_helper.c367 if (drm_WARN_ON_ONCE(dev, !helper->funcs->fb_dirty)) in drm_fb_helper_fb_dirty()
/linux/drivers/gpu/drm/i915/
H A Di915_driver.c1125 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 Dintel_pcode.c196 drm_WARN_ON_ONCE(&uncore->i915->drm, timeout_base_ms > 3); in skl_pcode_request()
H A Di915_irq.c160 if (drm_WARN_ON_ONCE(&dev_priv->drm, in ivb_parity_work()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_link_training.c339 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 Dintel_vdsc.c424 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 Dintel_display_power_well.c760 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 Dintel_ddi.c132 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 Dintel_display_irq.c200 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 Dintel_backlight.c118 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 Dintel_audio.c1063 if (drm_WARN_ON_ONCE(&i915->drm, !HAS_DDI(i915))) in i915_audio_component_get_cdclk_freq()
H A Dintel_tc.c1179 drm_WARN_ON_ONCE(&i915->drm, hweight32(mask) > 1); in tc_phy_hpd_live_status()
H A Dintel_cdclk.c1143 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 Dintel_fb.c706 drm_WARN_ON_ONCE(fb->dev, hweight8(md->ccs.cc_planes) > 1); in intel_fb_rc_ccs_cc_plane()
/linux/include/drm/
H A Ddrm_print.h764 #define drm_WARN_ON_ONCE(drm, x) \ macro
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_mcr.c614 drm_WARN_ON_ONCE(&xe->drm, ret == -ETIMEDOUT); in mcr_lock()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_object.c1205 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 Dmgag200_mode.c157 drm_WARN_ON_ONCE(dev, mdev->info->bug_no_startadd); in mgag200_set_startadd()
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c1141 if (drm_WARN_ON_ONCE(dev, !format)) in ast_crtc_helper_atomic_check()

12