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

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.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 0128e89a
...@@ -1849,9 +1849,10 @@ static int intel_plane_check_stride(const struct intel_plane_state *plane_state) ...@@ -1849,9 +1849,10 @@ static int intel_plane_check_stride(const struct intel_plane_state *plane_state)
fb->modifier, rotation); fb->modifier, rotation);
if (stride > max_stride) { 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->base.id, stride, "[FB:%d] stride (%d) exceeds [PLANE:%d:%s] max stride (%d)\n",
plane->base.base.id, plane->base.name, max_stride); fb->base.id, stride,
plane->base.base.id, plane->base.name, max_stride);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment