diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-07-01 23:47:38 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-07-12 20:13:17 -0400 |
commit | 044129212eca1c00707f35fc46392d76ced61a94 (patch) | |
tree | 15f5e60fefadc4e134345f379d947f35ba15cda1 /drivers/gpu/drm/nouveau | |
parent | ec7fc4a1a7b322380d053fb04bfc4537be3cdfe5 (diff) |
drm/nv50: when debugging on, log which crtc we connect an encoder to
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_dac.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_sor.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_dac.c b/drivers/gpu/drm/nouveau/nv50_dac.c index f5fd35a657c3..98d312623eda 100644 --- a/drivers/gpu/drm/nouveau/nv50_dac.c +++ b/drivers/gpu/drm/nouveau/nv50_dac.c | |||
@@ -219,7 +219,8 @@ nv50_dac_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, | |||
219 | uint32_t mode_ctl = 0, mode_ctl2 = 0; | 219 | uint32_t mode_ctl = 0, mode_ctl2 = 0; |
220 | int ret; | 220 | int ret; |
221 | 221 | ||
222 | NV_DEBUG_KMS(dev, "or %d\n", nv_encoder->or); | 222 | NV_DEBUG_KMS(dev, "or %d type %d crtc %d\n", |
223 | nv_encoder->or, nv_encoder->dcb->type, crtc->index); | ||
223 | 224 | ||
224 | nv50_dac_dpms(encoder, DRM_MODE_DPMS_ON); | 225 | nv50_dac_dpms(encoder, DRM_MODE_DPMS_ON); |
225 | 226 | ||
diff --git a/drivers/gpu/drm/nouveau/nv50_sor.c b/drivers/gpu/drm/nouveau/nv50_sor.c index b259d63202eb..03cb021bf292 100644 --- a/drivers/gpu/drm/nouveau/nv50_sor.c +++ b/drivers/gpu/drm/nouveau/nv50_sor.c | |||
@@ -205,7 +205,8 @@ nv50_sor_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, | |||
205 | uint32_t mode_ctl = 0; | 205 | uint32_t mode_ctl = 0; |
206 | int ret; | 206 | int ret; |
207 | 207 | ||
208 | NV_DEBUG_KMS(dev, "or %d\n", nv_encoder->or); | 208 | NV_DEBUG_KMS(dev, "or %d type %d -> crtc %d\n", |
209 | nv_encoder->or, nv_encoder->dcb->type, crtc->index); | ||
209 | 210 | ||
210 | nv50_sor_dpms(encoder, DRM_MODE_DPMS_ON); | 211 | nv50_sor_dpms(encoder, DRM_MODE_DPMS_ON); |
211 | 212 | ||