Commit dd2f616d authored by Tvrtko Ursulin's avatar Tvrtko Ursulin

drm/i915: Only dump scaler config where supported

Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
parent 2c89429e
......@@ -12767,6 +12767,8 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
DRM_DEBUG_KMS("port clock: %d, pipe src size: %dx%d\n",
pipe_config->port_clock,
pipe_config->pipe_src_w, pipe_config->pipe_src_h);
if (INTEL_GEN(dev_priv) >= 9)
DRM_DEBUG_KMS("num_scalers: %d, scaler_users: 0x%x, scaler_id: %d\n",
crtc->num_scalers,
pipe_config->scaler_state.scaler_users,
......@@ -12831,11 +12833,11 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
continue;
}
DRM_DEBUG_KMS("[PLANE:%d:%s] enabled",
plane->base.id, plane->name);
DRM_DEBUG_KMS("\tFB:%d, fb = %ux%u format = %s",
DRM_DEBUG_KMS("[PLANE:%d:%s] FB:%d, fb = %ux%u format = %s\n",
plane->base.id, plane->name,
fb->base.id, fb->width, fb->height,
drm_get_format_name(fb->pixel_format, &format_name));
if (INTEL_GEN(dev_priv) >= 9)
DRM_DEBUG_KMS("\tscaler:%d src %dx%d+%d+%d dst %dx%d+%d+%d\n",
state->scaler_id,
state->base.src.x1 >> 16,
......
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