From: Alex Deucher <alexdeucher@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>
Subject: [PATCH 2/2] drm/amdgpu/gfx6: make some output debug only
Date: Fri, 27 May 2016 15:34:07 -0400 [thread overview]
Message-ID: <1464377647-1340-2-git-send-email-alexander.deucher@amd.com> (raw)
In-Reply-To: <1464377647-1340-1-git-send-email-alexander.deucher@amd.com>
make the default behavior less verbose.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
index 8b9f432..d26c80f 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
@@ -943,7 +943,7 @@ static void gfx_v6_0_setup_rb(struct amdgpu_device *adev,
}
adev->gfx.config.backend_enable_mask = enabled_rbs;
- DRM_INFO("amdgpu: enabled_rbs %d \n", enabled_rbs);
+ DRM_DEBUG("amdgpu: enabled_rbs %d \n", enabled_rbs);
adev->gfx.config.num_rbs = hweight32(enabled_rbs);
for (i = 0; i < se_num; i++) {
@@ -1015,7 +1015,7 @@ static void gfx_v6_0_setup_spi(struct amdgpu_device *adev,
}
}
}
- DRM_INFO("amdgpu: setup_spi--active_cu %d \n", active_cu);
+ DRM_DEBUG("amdgpu: setup_spi--active_cu %d \n", active_cu);
gfx_v6_0_select_se_sh(adev, 0xffffffff, 0xffffffff);
}
@@ -1259,8 +1259,8 @@ static int gfx_v6_0_ring_test_ring(struct amdgpu_ring *ring)
amdgpu_gfx_scratch_free(adev, scratch);
return r;
}
- DRM_INFO("amdgpu: scratch %x \n", scratch);
- DRM_INFO("amdgpu: REG_START %x \n", PACKET3_SET_CONFIG_REG_START);
+ DRM_DEBUG("amdgpu: scratch %x \n", scratch);
+ DRM_DEBUG("amdgpu: REG_START %x \n", PACKET3_SET_CONFIG_REG_START);
amdgpu_ring_write(ring, PACKET3(PACKET3_SET_CONFIG_REG, 1));
amdgpu_ring_write(ring, (scratch - PACKET3_SET_CONFIG_REG_START));
amdgpu_ring_write(ring, 0xDEADBEEF);
@@ -2840,7 +2840,6 @@ static int gfx_v6_0_sw_init(void *handle)
return r;
}
- DRM_INFO("amdgpu: gfx_v6_sw_init_end \n");
return r;
}
@@ -3076,7 +3075,7 @@ static int gfx_v6_0_eop_irq(struct amdgpu_device *adev,
struct amdgpu_irq_src *source,
struct amdgpu_iv_entry *entry)
{
- DRM_INFO("IH: CP EOP ring %d\n", entry->ring_id);
+ DRM_DEBUG("IH: CP EOP ring %d\n", entry->ring_id);
switch (entry->ring_id) {
case 0:
--
2.5.5
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2016-05-27 19:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 19:34 [PATCH 1/2] drm/amdgpu/dce6: make some output debug only Alex Deucher
2016-05-27 19:34 ` Alex Deucher [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1464377647-1340-2-git-send-email-alexander.deucher@amd.com \
--to=alexdeucher@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox