Commit 5f67258c authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915/fb: Use per-device debugs



Switch to drm_dbg_kms() in the fb code so we see which
device generated the debugs.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240208151720.7866-6-ville.syrjala@linux.intel.com


Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 0128e89a
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1849,7 +1849,8 @@ static int intel_plane_check_stride(const struct intel_plane_state *plane_state)
				       fb->modifier, rotation);

	if (stride > max_stride) {
		DRM_DEBUG_KMS("[FB:%d] stride (%d) exceeds [PLANE:%d:%s] max stride (%d)\n",
		drm_dbg_kms(plane->base.dev,
			    "[FB:%d] stride (%d) exceeds [PLANE:%d:%s] max stride (%d)\n",
			    fb->base.id, stride,
			    plane->base.base.id, plane->base.name, max_stride);
		return -EINVAL;