Merge drm-upstream/drm-next into drm-misc-next
[sfrench/cifs-2.6.git] / drivers / gpu / drm / drm_atomic.c
index 7c55991170cc8eab3c3a6cef04adb261f928802b..e6062c779aaf85d6b58842b921fb4a2677e8e95c 100644 (file)
@@ -1437,6 +1437,10 @@ static void drm_atomic_connector_print_state(struct drm_printer *p,
        drm_printf(p, "connector[%u]: %s\n", connector->base.id, connector->name);
        drm_printf(p, "\tcrtc=%s\n", state->crtc ? state->crtc->name : "(null)");
 
+       if (connector->connector_type == DRM_MODE_CONNECTOR_WRITEBACK)
+               if (state->writeback_job && state->writeback_job->fb)
+                       drm_printf(p, "\tfb=%d\n", state->writeback_job->fb->base.id);
+
        if (connector->funcs->atomic_print_state)
                connector->funcs->atomic_print_state(p, state);
 }