drm/dp_mst: Fix some formatting in drm_dp_mst_allocate_vcpi()
authorLyude Paul <lyude@redhat.com>
Fri, 11 Jan 2019 00:53:26 +0000 (19:53 -0500)
committerLyude Paul <lyude@redhat.com>
Fri, 11 Jan 2019 01:12:17 +0000 (20:12 -0500)
Fix some indenting, split some stuff across multiple lines.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@redhat.com>
Cc: Jerry Zuo <Jerry.Zuo@amd.com>
Cc: Juston Li <juston.li@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190111005343.17443-4-lyude@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c

index fc93a71c42b07497a7d60837cd2daeb4c1559d58..a63a4d32962a6226bc894fbfe84ddf79e991f214 100644 (file)
@@ -2731,7 +2731,8 @@ bool drm_dp_mst_allocate_vcpi(struct drm_dp_mst_topology_mgr *mgr,
                return false;
 
        if (port->vcpi.vcpi > 0) {
-               DRM_DEBUG_KMS("payload: vcpi %d already allocated for pbn %d - requested pbn %d\n", port->vcpi.vcpi, port->vcpi.pbn, pbn);
+               DRM_DEBUG_KMS("payload: vcpi %d already allocated for pbn %d - requested pbn %d\n",
+                             port->vcpi.vcpi, port->vcpi.pbn, pbn);
                if (pbn == port->vcpi.pbn) {
                        drm_dp_put_port(port);
                        return true;
@@ -2741,11 +2742,11 @@ bool drm_dp_mst_allocate_vcpi(struct drm_dp_mst_topology_mgr *mgr,
        ret = drm_dp_init_vcpi(mgr, &port->vcpi, pbn, slots);
        if (ret) {
                DRM_DEBUG_KMS("failed to init vcpi slots=%d max=63 ret=%d\n",
-                               DIV_ROUND_UP(pbn, mgr->pbn_div), ret);
+                             DIV_ROUND_UP(pbn, mgr->pbn_div), ret);
                goto out;
        }
        DRM_DEBUG_KMS("initing vcpi for pbn=%d slots=%d\n",
-                       pbn, port->vcpi.num_slots);
+                     pbn, port->vcpi.num_slots);
 
        drm_dp_put_port(port);
        return true;