Skip to content

Commit

Permalink
drm/nv50: when debugging on, log which crtc we connect an encoder to
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Jul 13, 2010
1 parent ec7fc4a commit 0441292
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/nouveau/nv50_dac.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ nv50_dac_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode,
uint32_t mode_ctl = 0, mode_ctl2 = 0;
int ret;

NV_DEBUG_KMS(dev, "or %d\n", nv_encoder->or);
NV_DEBUG_KMS(dev, "or %d type %d crtc %d\n",
nv_encoder->or, nv_encoder->dcb->type, crtc->index);

nv50_dac_dpms(encoder, DRM_MODE_DPMS_ON);

Expand Down
3 changes: 2 additions & 1 deletion drivers/gpu/drm/nouveau/nv50_sor.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ nv50_sor_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode,
uint32_t mode_ctl = 0;
int ret;

NV_DEBUG_KMS(dev, "or %d\n", nv_encoder->or);
NV_DEBUG_KMS(dev, "or %d type %d -> crtc %d\n",
nv_encoder->or, nv_encoder->dcb->type, crtc->index);

nv50_sor_dpms(encoder, DRM_MODE_DPMS_ON);

Expand Down

0 comments on commit 0441292

Please sign in to comment.