Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f16830e authored by Chris Wilson's avatar Chris Wilson Committed by Dave Airlie
Browse files

drm: Include the connector name in the output_poll_execute() debug message



Always useful to know just which connector was polled and had its
status updated.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e29ff729
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -874,7 +874,10 @@ static void output_poll_execute(struct work_struct *work)
			continue;

		connector->status = connector->funcs->detect(connector, false);
		DRM_DEBUG_KMS("connector status updated to %d\n", connector->status);
		DRM_DEBUG_KMS("[CONNECTOR:%d:%s] status updated from %d to %d\n",
			      connector->base.id,
			      drm_get_connector_name(connector),
			      old_status, connector->status);
		if (old_status != connector->status)
			changed = true;
	}