All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>,
	Huang Rui <ray.huang-5C7GfCeVMHo@public.gmane.org>
Subject: [PATCH 036/117] drm/amdgpu: add gfx clock gating for raven
Date: Wed, 10 May 2017 14:46:27 -0400	[thread overview]
Message-ID: <1494442068-8202-29-git-send-email-alexander.deucher@amd.com> (raw)
In-Reply-To: <1494442068-8202-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>

From: Huang Rui <ray.huang@amd.com>

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index eb6af63..fefd618 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -2877,6 +2877,7 @@ static int gfx_v9_0_set_clockgating_state(void *handle,
 
 	switch (adev->asic_type) {
 	case CHIP_VEGA10:
+	case CHIP_RAVEN:
 		gfx_v9_0_update_gfx_clock_gating(adev,
 						 state == AMD_CG_STATE_GATE ? true : false);
 		break;
@@ -3736,6 +3737,7 @@ static void gfx_v9_0_set_rlc_funcs(struct amdgpu_device *adev)
 {
 	switch (adev->asic_type) {
 	case CHIP_VEGA10:
+	case CHIP_RAVEN:
 		adev->gfx.rlc.funcs = &gfx_v9_0_rlc_funcs;
 		break;
 	default:
-- 
2.5.5

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

  parent reply	other threads:[~2017-05-10 18:46 UTC|newest]

Thread overview: 114+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-10 18:45 [PATCH 000/117] Raven Support Alex Deucher
     [not found] ` <1494442068-8202-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-05-10 18:46   ` [PATCH 001/117] ASoC: AMD: add ACP 3.x IP register header Alex Deucher
2017-05-10 18:46   ` [PATCH 002/117] ASoC: AMD: add ACP3.0 PCI driver Alex Deucher
2017-05-10 18:46   ` [PATCH 003/117] ASoC: AMD: create ACP3x PCM platform device Alex Deucher
2017-05-10 18:46   ` [PATCH 004/117] ASoC: AMD: add ACP3x PCM platform driver Alex Deucher
2017-05-10 18:46   ` [PATCH 005/117] ASoC: AMD: handle ACP3x i2s watermark interrupt Alex Deucher
2017-05-10 18:46   ` [PATCH 006/117] ASoC: AMD: add ACP3x PCM driver DMA ops Alex Deucher
2017-05-10 18:46   ` [PATCH 007/117] ASoC: AMD: add ACP3x i2s ops Alex Deucher
2017-05-10 18:46   ` [PATCH 008/117] ASoC: AMD: add ACP3x TDM mode support Alex Deucher
2017-05-10 18:46   ` [PATCH 009/117] ASoC: AMD: Add ACP3x runtime pm ops Alex Deucher
2017-05-10 18:46   ` [PATCH 010/117] ASoC: AMD: Add ACP3x system resume pm op Alex Deucher
2017-05-10 18:46   ` [PATCH 011/117] ASoC: AMD: enable ACP3x drivers build Alex Deucher
2017-05-10 18:46   ` [PATCH 012/117] ASoC: AMD: create/add dummy codec and machine devices/drivers Alex Deucher
2017-05-10 18:46   ` [PATCH 013/117] soc/amd/raven: Disabling TDM mode flag Alex Deucher
2017-05-10 18:46   ` [PATCH 014/117] drm/amdgpu: add gpu_info firmware (v3) Alex Deucher
2017-05-10 18:46   ` [PATCH 015/117] drm/amdgpu: parse the gpu_info firmware (v4) Alex Deucher
2017-05-10 18:46   ` [PATCH 016/117] drm/amdgpu/gfx9: drop duplicate gfx info init (v3) Alex Deucher
2017-05-10 18:46   ` [PATCH 025/117] drm/amdgpu: add RAVEN family id definition Alex Deucher
2017-05-10 18:46   ` [PATCH 026/117] drm/amdgpu: add Raven ip blocks Alex Deucher
2017-05-10 18:46   ` [PATCH 027/117] drm/amdgpu/soc15: add Raven golden setting Alex Deucher
2017-05-10 18:46   ` [PATCH 028/117] drm/amd/amdgpu: fill in raven case in soc15 early init Alex Deucher
2017-05-10 18:46   ` [PATCH 029/117] drm/amdgpu/soc15: add clock gating functions for raven Alex Deucher
2017-05-10 18:46   ` [PATCH 030/117] drm/amdgpu: enable soc15 clock gating flags " Alex Deucher
2017-05-10 18:46   ` [PATCH 031/117] drm/amdgpu: add Raven chip id case for ucode Alex Deucher
2017-05-10 18:46   ` [PATCH 032/117] drm/amdgpu: add module firmware for raven Alex Deucher
2017-05-10 18:46   ` [PATCH 033/117] drm/amdgpu: add gc9.1 golden setting (v2) Alex Deucher
2017-05-10 18:46   ` [PATCH 034/117] drm/amdgpu/gfx9: add chip name for raven when initializing microcode Alex Deucher
2017-05-10 18:46   ` [PATCH 035/117] drm/amdgpu/gfx9: add raven gfx config Alex Deucher
2017-05-10 18:46   ` Alex Deucher [this message]
2017-05-10 18:46   ` [PATCH 037/117] drm/amdgpu/gfx9: extend rlc fw setup Alex Deucher
2017-05-10 18:46   ` [PATCH 038/117] drm/amdgpu/gfx9: enable cp interrupt for CGCG/CGLS/MGCG Alex Deucher
2017-05-10 18:46   ` [PATCH 039/117] drm/amdgpu: correct gfx9 csb size Alex Deucher
2017-05-10 18:46   ` [PATCH 040/117] drm/amdgpu/gfx9: add rlc bo init/fini Alex Deucher
2017-05-10 18:46   ` [PATCH 041/117] drm/amdgpu/gfx9: rlc save&restore list programming Alex Deucher
2017-05-10 18:46   ` [PATCH 042/117] drm/amdgpu: init gfx power gating on raven Alex Deucher
2017-05-10 18:46   ` [PATCH 043/117] drm/amdgpu/gfx9: enable/disable sck slowdown thru rlc-smu handshake Alex Deucher
2017-05-10 18:46   ` [PATCH 044/117] drm/amdgpu/gfx9: add enable/disable funcs for cp power gating Alex Deucher
2017-05-10 18:46   ` [PATCH 045/117] drm/amdgpu/gfx9: allow updating sck slowdown and cp pg state Alex Deucher
2017-05-10 18:46   ` [PATCH 046/117] drm/amdgpu/gfx9: allow updating gfx cgpg state Alex Deucher
2017-05-10 18:46   ` [PATCH 047/117] drm/amdgpu/gfx9: allow updating gfx mgpg state Alex Deucher
2017-05-10 18:46   ` [PATCH 048/117] drm/amdgpu: add raven case for gmc9 golden setting Alex Deucher
2017-05-10 18:46   ` [PATCH 049/117] drm/amdgpu/gmc9: set mc vm fb offset for raven Alex Deucher
2017-05-10 18:46   ` [PATCH 050/117] drm/amdgpu/gmc9: change fb offset sequence so that used wider Alex Deucher
2017-05-10 18:46   ` [PATCH 051/117] drm/amdgpu: add raven clock gating and light sleep for mmhub Alex Deucher
2017-05-10 18:46   ` [PATCH 052/117] drm/amdgpu: enable MC MGCG and LS for raven Alex Deucher
2017-05-10 18:46   ` [PATCH 053/117] drm/amdgpu: add Raven sdma golden setting and chip id case Alex Deucher
2017-05-10 18:46   ` [PATCH 054/117] drm/amdgpu: reuse sdma v4 MGCG and LS function for raven Alex Deucher
2017-05-10 18:46   ` [PATCH 055/117] drm/amdgpu: enable sdma v4 MGCG and LS " Alex Deucher
2017-05-10 18:46   ` [PATCH 056/117] drm/amdgpu: init sdma power gating " Alex Deucher
2017-05-10 18:46   ` [PATCH 057/117] drm/amdgpu/sdma4: add dynamic " Alex Deucher
2017-05-10 18:46   ` [PATCH 058/117] drm/amdgpu: enable sdma " Alex Deucher
2017-05-10 18:46   ` [PATCH 059/117] drm/amdgpu: add nbio7 support Alex Deucher
2017-05-10 18:46   ` [PATCH 060/117] drm/amdgpu: apply nbio7 for Raven (v3) Alex Deucher
2017-05-10 18:46   ` [PATCH 061/117] drm/amdgpu: add nbio MGCG for raven Alex Deucher
2017-05-10 18:46   ` [PATCH 062/117] drm/amdgpu: add psp v10 function callback " Alex Deucher
2017-05-10 18:46   ` [PATCH 063/117] drm/amdgpu: add psp v10 ip block Alex Deucher
2017-05-10 18:46   ` [PATCH 064/117] drm/amdgpu: register the psp v10 function pointers at psp sw_init Alex Deucher
2017-05-10 18:46   ` [PATCH 065/117] drm/amdgpu/soc15: add psp ip block Alex Deucher
2017-05-10 18:46   ` [PATCH 066/117] drm/amdgpu: add initial vcn support and decode tests Alex Deucher
2017-05-10 18:46   ` [PATCH 067/117] drm/amdgpu: add encode tests for vcn Alex Deucher
2017-05-10 18:46   ` [PATCH 068/117] drm/amdgpu: add vcn ip block functions (v2) Alex Deucher
2017-05-10 18:47   ` [PATCH 069/117] drm/amdgpu: add vcn decode ring support Alex Deucher
2017-05-10 18:47   ` [PATCH 070/117] drm/amdgpu: add vcn decode ring type and functions Alex Deucher
2017-05-10 18:47   ` [PATCH 071/117] drm/amdgpu: add vcn irq functions Alex Deucher
2017-05-10 18:47   ` [PATCH 072/117] drm/amdgpu: add vcn ip block and type Alex Deucher
2017-05-10 18:47   ` [PATCH 073/117] drm/amdgpu: move amdgpu_vcn structure to vcn header Alex Deucher
2017-05-10 18:47   ` [PATCH 074/117] drm/amdgpu: re-group the functions in amdgpu_vcn.c Alex Deucher
2017-05-10 18:47   ` [PATCH 075/117] drm/amdgpu: move vcn ring test to amdgpu_vcn.c Alex Deucher
2017-05-10 18:47   ` [PATCH 076/117] drm/amdgpu: expose vcn RB command Alex Deucher
2017-05-10 18:47   ` [PATCH 077/117] drm/amdgpu: add a ring func for vcn start command Alex Deucher
2017-05-10 18:47   ` [PATCH 078/117] drm/amdgpu: implement vcn start RB command Alex Deucher
2017-05-10 18:47   ` [PATCH 079/117] drm/amdgpu: implement insert end ring function for vcn decode Alex Deucher
2017-05-10 18:47   ` [PATCH 080/117] drm/amdgpu/vcn: implement ib tests with new message buffer interface Alex Deucher
2017-05-10 18:47   ` [PATCH 081/117] uapi/drm: add AMDGPU_HW_IP_VCN_DEC for decode CS Alex Deucher
2017-05-10 18:47   ` [PATCH 082/117] uapi/drm: add AMDGPU_HW_IP_VCN_ENC for encode CS Alex Deucher
2017-05-10 18:47   ` [PATCH 083/117] drm/amdgpu: add AMDGPU_HW_IP_VCN_DEC to info query Alex Deucher
2017-05-10 18:47   ` [PATCH 084/117] drm/amdgpu: get cs support of AMDGPU_HW_IP_VCN_DEC Alex Deucher
2017-05-10 18:47   ` [PATCH 085/117] drm/amdgpu: Disable uvd and vce free handles for raven Alex Deucher
2017-05-10 18:47   ` [PATCH 086/117] drm/amdgpu: implement new vcn cache window programming Alex Deucher
2017-05-10 18:47   ` [PATCH 087/117] drm/amdgpu: add vcn ip block to soc15 Alex Deucher
2017-05-10 18:47   ` [PATCH 088/117] drm/amdgpu: change vcn dec rb command specific for decode Alex Deucher
2017-05-10 18:47   ` [PATCH 089/117] drm/amdgpu: add vcn enc rings Alex Deucher
2017-05-10 18:47   ` [PATCH 090/117] drm/amdgpu: add vcn enc ring type and functions Alex Deucher
2017-05-10 18:47   ` [PATCH 091/117] drm/amdgpu: add vcn enc irq support Alex Deucher
2017-05-10 18:47   ` [PATCH 092/117] drm/amdgpu: enable vcn encode ring tests Alex Deucher
2017-05-10 18:47   ` [PATCH 093/117] drm/amdgpu: add vcn enc ib test Alex Deucher
2017-05-10 18:47   ` [PATCH 094/117] drm/amdgpu: add AMDGPU_HW_IP_VCN_ENC to info query Alex Deucher
2017-05-10 18:47   ` [PATCH 095/117] drm/amdgpu: get cs support for AMDGPU_HW_IP_VCN_ENC Alex Deucher
2017-05-10 18:47   ` [PATCH 096/117] drm/amdgpu: add vcn firmware header offset Alex Deucher
2017-05-10 18:47   ` [PATCH 097/117] drm/amdgpu: update vcn decode create msg Alex Deucher
2017-05-10 18:47   ` [PATCH 098/117] drm/amdgpu/vcn: add sw clock gating Alex Deucher
2017-05-10 18:47   ` [PATCH 099/117] drm/amdgpu: enable sw clock gating for vcn Alex Deucher
2017-05-10 18:47   ` [PATCH 100/117] drm/amdgpu/powerplay: add header file for smu10. (v2) Alex Deucher
2017-05-10 18:47   ` [PATCH 101/117] drm/amdgpu: add raven related define in pptable.h Alex Deucher
2017-05-10 18:47   ` [PATCH 102/117] drm/amd/powerplay: add ppt_v3 define Alex Deucher
2017-05-10 18:47   ` [PATCH 103/117] drm/amd/powerplay: add raven support in smumgr. (v2) Alex Deucher
2017-05-10 18:47   ` [PATCH 104/117] drm/amd/powerplay: add raven support in hwmgr. (v2) Alex Deucher
2017-05-10 18:47   ` [PATCH 105/117] drm/amd/powerplay/rv: power up/down sdma via the SMU Alex Deucher
2017-05-10 18:47   ` [PATCH 106/117] drm/amdgpu/raven: power up/down VCN via the SMU (v2) Alex Deucher
2017-05-10 18:47   ` [PATCH 107/117] drm/amdgpu/powerplay/raven: add smu block and enable powerplay Alex Deucher
2017-05-10 18:47   ` [PATCH 108/117] drm/amd: Add DCN ivsrcids (v2) Alex Deucher
2017-05-10 18:47   ` [PATCH 109/117] drm/amdgpu/display: Add calcs code for DCN Alex Deucher
2017-05-10 18:47   ` [PATCH 110/117] drm/amdgpu/display: Add core dc support " Alex Deucher
2017-05-10 18:47   ` [PATCH 111/117] drm/amdgpu/display: Add dml " Alex Deucher
2017-05-10 18:47   ` [PATCH 112/117] drm/amdgpu/display: Add gpio " Alex Deucher
2017-05-10 18:47   ` [PATCH 113/117] drm/amdgpu/display: Add i2c/aux " Alex Deucher
2017-05-10 18:47   ` [PATCH 114/117] drm/amdgpu/display: Add irq " Alex Deucher
2017-05-10 18:47   ` [PATCH 115/117] drm/amdgpu/display: Enable DCN in DC Alex Deucher
2017-05-10 18:47   ` [PATCH 116/117] drm/amdgpu: enable dcn1.0 dc support on raven Alex Deucher
2017-05-10 18:47   ` [PATCH 117/117] drm/amdgpu: add RAVEN pci id Alex Deucher
2017-05-10 19:28   ` [PATCH 000/117] Raven Support Christian König
     [not found]     ` <9c4b2cc4-3632-6131-4d2a-f08a088a6081-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-05-10 19:30       ` Deucher, Alexander
     [not found]         ` <BN6PR12MB16526517361BBE472EE0A710F7EC0-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-05-11 18:08           ` Christian König
     [not found]             ` <aad7efe0-e909-a2b8-b7ee-8abb90534e5b-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-05-12  2:50               ` zhoucm1

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=1494442068-8202-29-git-send-email-alexander.deucher@amd.com \
    --to=alexdeucher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=ray.huang-5C7GfCeVMHo@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 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.