aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-07 21:17:38 -0400
committerDave Airlie <airlied@redhat.com>2009-09-07 21:17:38 -0400
commitf641e51e7469cc3a8115a3bd70b4526d566b1c60 (patch)
treedb64133c55e8c14d11aad1bd204f2f43d77adbc8 /drivers/gpu/drm
parenta0cdc6495bdd0ea12390b9edaf13c8cb653df109 (diff)
drm/radeon/kms: lower debugging on dpms events.
Lower the debugging on encoders when getting DPMS events. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/radeon/radeon_encoders.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c b/drivers/gpu/drm/radeon/radeon_encoders.c
index 5c4ede7c9901..8a353eab4f32 100644
--- a/drivers/gpu/drm/radeon/radeon_encoders.c
+++ b/drivers/gpu/drm/radeon/radeon_encoders.c
@@ -136,9 +136,9 @@ void radeon_encoder_set_active_device(struct drm_encoder *encoder)
136 if (connector->encoder == encoder) { 136 if (connector->encoder == encoder) {
137 struct radeon_connector *radeon_connector = to_radeon_connector(connector); 137 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
138 radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices; 138 radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices;
139 DRM_INFO("setting active device to %08x from %08x %08x for encoder %d\n", 139 DRM_DEBUG("setting active device to %08x from %08x %08x for encoder %d\n",
140 radeon_encoder->active_device, radeon_encoder->devices, 140 radeon_encoder->active_device, radeon_encoder->devices,
141 radeon_connector->devices, encoder->encoder_type); 141 radeon_connector->devices, encoder->encoder_type);
142 } 142 }
143 } 143 }
144} 144}
@@ -878,9 +878,9 @@ radeon_atom_encoder_dpms(struct drm_encoder *encoder, int mode)
878 else 878 else
879 devices = radeon_encoder->active_device; 879 devices = radeon_encoder->active_device;
880 880
881 DRM_INFO("encoder dpms %d to mode %d, devices %08x, active_devices %08x\n", 881 DRM_DEBUG("encoder dpms %d to mode %d, devices %08x, active_devices %08x\n",
882 radeon_encoder->encoder_id, mode, radeon_encoder->devices, 882 radeon_encoder->encoder_id, mode, radeon_encoder->devices,
883 radeon_encoder->active_device); 883 radeon_encoder->active_device);
884 switch (radeon_encoder->encoder_id) { 884 switch (radeon_encoder->encoder_id) {
885 case ENCODER_OBJECT_ID_INTERNAL_TMDS1: 885 case ENCODER_OBJECT_ID_INTERNAL_TMDS1:
886 case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_TMDS1: 886 case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_TMDS1:
@@ -1276,7 +1276,6 @@ static void radeon_atom_encoder_disable(struct drm_encoder *encoder)
1276{ 1276{
1277 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder); 1277 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder);
1278 radeon_atom_encoder_dpms(encoder, DRM_MODE_DPMS_OFF); 1278 radeon_atom_encoder_dpms(encoder, DRM_MODE_DPMS_OFF);
1279 DRM_INFO("setting active device to 0 for encoder %d\n", encoder->encoder_type);
1280 radeon_encoder->active_device = 0; 1279 radeon_encoder->active_device = 0;
1281} 1280}
1282 1281