mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
drm/radeon/kms: move a bunch of modesetting debug to correct debug usage.
This migrates a bunch of DRM_DEBUG->DRM_DEBUG_KMS so we can get more modesetting related info without all the other ioctl handling easily. Also the PM code moves to DRM_DEBUG_DRIVER mostly. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d6486813d2
commit
d9fdaafbe9
14 changed files with 116 additions and 116 deletions
|
@ -205,7 +205,7 @@ void radeon_encoder_set_active_device(struct drm_encoder *encoder)
|
|||
if (connector->encoder == encoder) {
|
||||
struct radeon_connector *radeon_connector = to_radeon_connector(connector);
|
||||
radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices;
|
||||
DRM_DEBUG("setting active device to %08x from %08x %08x for encoder %d\n",
|
||||
DRM_DEBUG_KMS("setting active device to %08x from %08x %08x for encoder %d\n",
|
||||
radeon_encoder->active_device, radeon_encoder->devices,
|
||||
radeon_connector->devices, encoder->encoder_type);
|
||||
}
|
||||
|
@ -1021,7 +1021,7 @@ radeon_atom_encoder_dpms(struct drm_encoder *encoder, int mode)
|
|||
|
||||
memset(&args, 0, sizeof(args));
|
||||
|
||||
DRM_DEBUG("encoder dpms %d to mode %d, devices %08x, active_devices %08x\n",
|
||||
DRM_DEBUG_KMS("encoder dpms %d to mode %d, devices %08x, active_devices %08x\n",
|
||||
radeon_encoder->encoder_id, mode, radeon_encoder->devices,
|
||||
radeon_encoder->active_device);
|
||||
switch (radeon_encoder->encoder_id) {
|
||||
|
@ -1484,7 +1484,7 @@ radeon_atom_dac_detect(struct drm_encoder *encoder, struct drm_connector *connec
|
|||
uint32_t bios_0_scratch;
|
||||
|
||||
if (!atombios_dac_load_detect(encoder, connector)) {
|
||||
DRM_DEBUG("detect returned false \n");
|
||||
DRM_DEBUG_KMS("detect returned false \n");
|
||||
return connector_status_unknown;
|
||||
}
|
||||
|
||||
|
@ -1493,7 +1493,7 @@ radeon_atom_dac_detect(struct drm_encoder *encoder, struct drm_connector *connec
|
|||
else
|
||||
bios_0_scratch = RREG32(RADEON_BIOS_0_SCRATCH);
|
||||
|
||||
DRM_DEBUG("Bios 0 scratch %x %08x\n", bios_0_scratch, radeon_encoder->devices);
|
||||
DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, radeon_encoder->devices);
|
||||
if (radeon_connector->devices & ATOM_DEVICE_CRT1_SUPPORT) {
|
||||
if (bios_0_scratch & ATOM_S0_CRT1_MASK)
|
||||
return connector_status_connected;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue