From: Dave Airlie <airlied@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH 2/3] drm/radeon: enable pcie gen2 on SI.
Date: Tue, 26 Jun 2012 15:50:48 +0100 [thread overview]
Message-ID: <1340722249-27052-2-git-send-email-airlied@gmail.com> (raw)
In-Reply-To: <1340722249-27052-1-git-send-email-airlied@gmail.com>
From: Dave Airlie <airlied@redhat.com>
This patch assumes SI is the same as NI wrt gen2 enabling, and just
calls the evergreen code.
Signed-off-by: Dave Airlie <airlied@redhat.com>
---
drivers/gpu/drm/radeon/si.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c
index 34603b3c8..406efa8 100644
--- a/drivers/gpu/drm/radeon/si.c
+++ b/drivers/gpu/drm/radeon/si.c
@@ -61,7 +61,7 @@ extern void evergreen_fix_pci_max_read_req_size(struct radeon_device *rdev);
extern void evergreen_mc_stop(struct radeon_device *rdev, struct evergreen_mc_save *save);
extern void evergreen_mc_resume(struct radeon_device *rdev, struct evergreen_mc_save *save);
extern u32 evergreen_get_number_of_dram_channels(struct radeon_device *rdev);
-
+extern void evergreen_pcie_gen2_enable(struct radeon_device *rdev);
/* get temperature in millidegrees */
int si_get_temp(struct radeon_device *rdev)
{
@@ -3650,6 +3650,8 @@ static int si_startup(struct radeon_device *rdev)
struct radeon_ring *ring;
int r;
+ evergreen_pcie_gen2_enable(rdev);
+
if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw ||
!rdev->rlc_fw || !rdev->mc_fw) {
r = si_init_microcode(rdev);
--
1.7.7.6
next prev parent reply other threads:[~2012-06-26 14:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 14:50 [PATCH 1/3] drm: introduce pcie gen2 link speed check Dave Airlie
2012-06-26 14:50 ` Dave Airlie [this message]
2012-06-26 14:50 ` [PATCH 3/3] drm/radeon: try to enable pcie gen2 where possible Dave Airlie
2012-06-26 15:09 ` [PATCH 1/3] drm: introduce pcie gen2 link speed check Adam Jackson
2012-06-26 15:10 ` Dave Airlie
2012-06-26 15:33 ` Alex Deucher
2012-06-26 15:57 ` Dave Airlie
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=1340722249-27052-2-git-send-email-airlied@gmail.com \
--to=airlied@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.