AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher via amd-gfx <amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>
Subject: [PATCH 6/6] drm/amdgpu: use BACO on vega12 if platform supports it
Date: Fri, 15 Feb 2019 17:46:56 -0500	[thread overview]
Message-ID: <20190215224656.16397-6-alexander.deucher@amd.com> (raw)
In-Reply-To: <20190215224656.16397-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>

Use BACO for reset of the platform supports it.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 99ebcf29dcb0..b2cbe4b42a3d 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -461,6 +461,7 @@ static int soc15_asic_reset(struct amdgpu_device *adev)
 
 	switch (adev->asic_type) {
 	case CHIP_VEGA10:
+	case CHIP_VEGA12:
 	case CHIP_VEGA20:
 		soc15_asic_get_baco_capability(adev, &baco_reset);
 		break;
-- 
2.20.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2019-02-15 22:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-15 22:46 [PATCH 1/6] drm/amdgpu: add missing license on baco files Alex Deucher via amd-gfx
     [not found] ` <20190215224656.16397-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2019-02-15 22:46   ` [PATCH 2/6] drm/amdgpu/powerplay: fix return codes in BACO code Alex Deucher via amd-gfx
2019-02-15 22:46   ` [PATCH 3/6] drm/amdgpu/powerplay: fix typo in BACO header guards Alex Deucher via amd-gfx
2019-02-15 22:46   ` [PATCH 4/6] drm/amdgpu/powerplay: add BACO support for vega12 Alex Deucher via amd-gfx
2019-02-15 22:46   ` [PATCH 5/6] drm/amdgpu/powerplay: split out common smu9 BACO code Alex Deucher via amd-gfx
2019-02-15 22:46   ` Alex Deucher via amd-gfx [this message]
2019-02-19 21:00   ` [PATCH 1/6] drm/amdgpu: add missing license on baco files Alex Deucher
     [not found]     ` <CADnq5_OHn3LDNFi23yDZ9kCm5dmcB33CkDk4ZfwJKNFJ86y8eg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-02-20  8:52       ` Zhang, Hawking

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=20190215224656.16397-6-alexander.deucher@amd.com \
    --to=amd-gfx-pd4fty7x32lngt0pjobp9y5qc8qiuhrw@public.gmane.org \
    --cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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