mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
drm/i915/crtc: replace I915_STATE_WARN_ON() with I915_STATE_WARN()
Describe the assertion better. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230512110444.1448231-2-jani.nikula@intel.com
This commit is contained in:
parent
a44bebf6af
commit
fe735c34ef
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
static void assert_vblank_disabled(struct drm_crtc *crtc)
|
||||
{
|
||||
if (I915_STATE_WARN_ON(drm_crtc_vblank_get(crtc) == 0))
|
||||
if (I915_STATE_WARN(drm_crtc_vblank_get(crtc) == 0,
|
||||
"[CRTC:%d:%s] vblank assertion failure (expected off, current on)\n",
|
||||
crtc->base.id, crtc->name))
|
||||
drm_crtc_vblank_put(crtc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user