Skip to content

Commit

Permalink
drm/i915: shut up spurious message in intel_dp_get_hw_state
Browse files Browse the repository at this point in the history
The debug message is only relevant on CPT/PPT PCH ports, so move
it into the correct if clause.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Daniel Vetter committed Nov 11, 2012
1 parent c824196 commit 4a0833e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1327,9 +1327,10 @@ static bool intel_dp_get_hw_state(struct intel_encoder *encoder,
return true;
}
}
}

DRM_DEBUG_KMS("No pipe for dp port 0x%x found\n", intel_dp->output_reg);
DRM_DEBUG_KMS("No pipe for dp port 0x%x found\n",
intel_dp->output_reg);
}

return true;
}
Expand Down

0 comments on commit 4a0833e

Please sign in to comment.