* [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module
@ 2019-10-29 20:10 ` Alex Deucher
0 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2019-10-29 20:10 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
To properly handle the option parsing ordering.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 ++++++
drivers/gpu/drm/amd/amdgpu/soc15.c | 5 -----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index 9fe95e7693d5..b2b3eb75c48c 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1051,6 +1051,12 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
!adev->gfx.rlc.is_rlc_v2_1))
adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
+ if (adev->pm.pp_feature & PP_GFXOFF_MASK)
+ adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
+ AMD_PG_SUPPORT_CP |
+ AMD_PG_SUPPORT_RLC_SMU_HS;
+ break;
+ case CHIP_RENOIR:
if (adev->pm.pp_feature & PP_GFXOFF_MASK)
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
AMD_PG_SUPPORT_CP |
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 16c5bb75889f..25e69ea74a41 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1263,11 +1263,6 @@ static int soc15_common_early_init(void *handle)
AMD_PG_SUPPORT_VCN |
AMD_PG_SUPPORT_VCN_DPG;
adev->external_rev_id = adev->rev_id + 0x91;
-
- if (adev->pm.pp_feature & PP_GFXOFF_MASK)
- adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
- AMD_PG_SUPPORT_CP |
- AMD_PG_SUPPORT_RLC_SMU_HS;
break;
default:
/* FIXME: not supported yet */
--
2.23.0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module
@ 2019-10-29 20:10 ` Alex Deucher
0 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2019-10-29 20:10 UTC (permalink / raw)
To: amd-gfx; +Cc: Alex Deucher
To properly handle the option parsing ordering.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 ++++++
drivers/gpu/drm/amd/amdgpu/soc15.c | 5 -----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index 9fe95e7693d5..b2b3eb75c48c 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1051,6 +1051,12 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
!adev->gfx.rlc.is_rlc_v2_1))
adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
+ if (adev->pm.pp_feature & PP_GFXOFF_MASK)
+ adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
+ AMD_PG_SUPPORT_CP |
+ AMD_PG_SUPPORT_RLC_SMU_HS;
+ break;
+ case CHIP_RENOIR:
if (adev->pm.pp_feature & PP_GFXOFF_MASK)
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
AMD_PG_SUPPORT_CP |
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 16c5bb75889f..25e69ea74a41 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1263,11 +1263,6 @@ static int soc15_common_early_init(void *handle)
AMD_PG_SUPPORT_VCN |
AMD_PG_SUPPORT_VCN_DPG;
adev->external_rev_id = adev->rev_id + 0x91;
-
- if (adev->pm.pp_feature & PP_GFXOFF_MASK)
- adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
- AMD_PG_SUPPORT_CP |
- AMD_PG_SUPPORT_RLC_SMU_HS;
break;
default:
/* FIXME: not supported yet */
--
2.23.0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module
@ 2019-10-30 13:54 ` Alex Deucher
0 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2019-10-30 13:54 UTC (permalink / raw)
To: amd-gfx list; +Cc: Alex Deucher
Ping?
On Tue, Oct 29, 2019 at 4:10 PM Alex Deucher <alexdeucher@gmail.com> wrote:
>
> To properly handle the option parsing ordering.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 ++++++
> drivers/gpu/drm/amd/amdgpu/soc15.c | 5 -----
> 2 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 9fe95e7693d5..b2b3eb75c48c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1051,6 +1051,12 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
> !adev->gfx.rlc.is_rlc_v2_1))
> adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
>
> + if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> + adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> + AMD_PG_SUPPORT_CP |
> + AMD_PG_SUPPORT_RLC_SMU_HS;
> + break;
> + case CHIP_RENOIR:
> if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> AMD_PG_SUPPORT_CP |
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 16c5bb75889f..25e69ea74a41 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -1263,11 +1263,6 @@ static int soc15_common_early_init(void *handle)
> AMD_PG_SUPPORT_VCN |
> AMD_PG_SUPPORT_VCN_DPG;
> adev->external_rev_id = adev->rev_id + 0x91;
> -
> - if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> - adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> - AMD_PG_SUPPORT_CP |
> - AMD_PG_SUPPORT_RLC_SMU_HS;
> break;
> default:
> /* FIXME: not supported yet */
> --
> 2.23.0
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module
@ 2019-10-30 13:54 ` Alex Deucher
0 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2019-10-30 13:54 UTC (permalink / raw)
To: amd-gfx list; +Cc: Alex Deucher
Ping?
On Tue, Oct 29, 2019 at 4:10 PM Alex Deucher <alexdeucher@gmail.com> wrote:
>
> To properly handle the option parsing ordering.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 ++++++
> drivers/gpu/drm/amd/amdgpu/soc15.c | 5 -----
> 2 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 9fe95e7693d5..b2b3eb75c48c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1051,6 +1051,12 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
> !adev->gfx.rlc.is_rlc_v2_1))
> adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
>
> + if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> + adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> + AMD_PG_SUPPORT_CP |
> + AMD_PG_SUPPORT_RLC_SMU_HS;
> + break;
> + case CHIP_RENOIR:
> if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> AMD_PG_SUPPORT_CP |
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 16c5bb75889f..25e69ea74a41 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -1263,11 +1263,6 @@ static int soc15_common_early_init(void *handle)
> AMD_PG_SUPPORT_VCN |
> AMD_PG_SUPPORT_VCN_DPG;
> adev->external_rev_id = adev->rev_id + 0x91;
> -
> - if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> - adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> - AMD_PG_SUPPORT_CP |
> - AMD_PG_SUPPORT_RLC_SMU_HS;
> break;
> default:
> /* FIXME: not supported yet */
> --
> 2.23.0
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module
@ 2019-11-06 16:34 ` Alex Deucher
0 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2019-11-06 16:34 UTC (permalink / raw)
To: amd-gfx list; +Cc: Alex Deucher
Ping?
On Tue, Oct 29, 2019 at 4:10 PM Alex Deucher <alexdeucher@gmail.com> wrote:
>
> To properly handle the option parsing ordering.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 ++++++
> drivers/gpu/drm/amd/amdgpu/soc15.c | 5 -----
> 2 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 9fe95e7693d5..b2b3eb75c48c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1051,6 +1051,12 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
> !adev->gfx.rlc.is_rlc_v2_1))
> adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
>
> + if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> + adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> + AMD_PG_SUPPORT_CP |
> + AMD_PG_SUPPORT_RLC_SMU_HS;
> + break;
> + case CHIP_RENOIR:
> if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> AMD_PG_SUPPORT_CP |
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 16c5bb75889f..25e69ea74a41 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -1263,11 +1263,6 @@ static int soc15_common_early_init(void *handle)
> AMD_PG_SUPPORT_VCN |
> AMD_PG_SUPPORT_VCN_DPG;
> adev->external_rev_id = adev->rev_id + 0x91;
> -
> - if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> - adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> - AMD_PG_SUPPORT_CP |
> - AMD_PG_SUPPORT_RLC_SMU_HS;
> break;
> default:
> /* FIXME: not supported yet */
> --
> 2.23.0
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module
@ 2019-11-06 16:34 ` Alex Deucher
0 siblings, 0 replies; 8+ messages in thread
From: Alex Deucher @ 2019-11-06 16:34 UTC (permalink / raw)
To: amd-gfx list; +Cc: Alex Deucher
Ping?
On Tue, Oct 29, 2019 at 4:10 PM Alex Deucher <alexdeucher@gmail.com> wrote:
>
> To properly handle the option parsing ordering.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 ++++++
> drivers/gpu/drm/amd/amdgpu/soc15.c | 5 -----
> 2 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 9fe95e7693d5..b2b3eb75c48c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1051,6 +1051,12 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
> !adev->gfx.rlc.is_rlc_v2_1))
> adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
>
> + if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> + adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> + AMD_PG_SUPPORT_CP |
> + AMD_PG_SUPPORT_RLC_SMU_HS;
> + break;
> + case CHIP_RENOIR:
> if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> AMD_PG_SUPPORT_CP |
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 16c5bb75889f..25e69ea74a41 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -1263,11 +1263,6 @@ static int soc15_common_early_init(void *handle)
> AMD_PG_SUPPORT_VCN |
> AMD_PG_SUPPORT_VCN_DPG;
> adev->external_rev_id = adev->rev_id + 0x91;
> -
> - if (adev->pm.pp_feature & PP_GFXOFF_MASK)
> - adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
> - AMD_PG_SUPPORT_CP |
> - AMD_PG_SUPPORT_RLC_SMU_HS;
> break;
> default:
> /* FIXME: not supported yet */
> --
> 2.23.0
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module
@ 2019-11-06 17:04 ` Zhao, Yong
0 siblings, 0 replies; 8+ messages in thread
From: Zhao, Yong @ 2019-11-06 17:04 UTC (permalink / raw)
To: Alex Deucher, amd-gfx list; +Cc: Deucher, Alexander
Reviewed-by: Yong Zhao <yong.zhao@amd.com>
On 2019-11-06 11:34 a.m., Alex Deucher wrote:
> Ping?
>
> On Tue, Oct 29, 2019 at 4:10 PM Alex Deucher <alexdeucher@gmail.com> wrote:
>> To properly handle the option parsing ordering.
>>
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>> ---
>> drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 ++++++
>> drivers/gpu/drm/amd/amdgpu/soc15.c | 5 -----
>> 2 files changed, 6 insertions(+), 5 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
>> index 9fe95e7693d5..b2b3eb75c48c 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
>> @@ -1051,6 +1051,12 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
>> !adev->gfx.rlc.is_rlc_v2_1))
>> adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
>>
>> + if (adev->pm.pp_feature & PP_GFXOFF_MASK)
>> + adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
>> + AMD_PG_SUPPORT_CP |
>> + AMD_PG_SUPPORT_RLC_SMU_HS;
>> + break;
>> + case CHIP_RENOIR:
>> if (adev->pm.pp_feature & PP_GFXOFF_MASK)
>> adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
>> AMD_PG_SUPPORT_CP |
>> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
>> index 16c5bb75889f..25e69ea74a41 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
>> @@ -1263,11 +1263,6 @@ static int soc15_common_early_init(void *handle)
>> AMD_PG_SUPPORT_VCN |
>> AMD_PG_SUPPORT_VCN_DPG;
>> adev->external_rev_id = adev->rev_id + 0x91;
>> -
>> - if (adev->pm.pp_feature & PP_GFXOFF_MASK)
>> - adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
>> - AMD_PG_SUPPORT_CP |
>> - AMD_PG_SUPPORT_RLC_SMU_HS;
>> break;
>> default:
>> /* FIXME: not supported yet */
>> --
>> 2.23.0
>>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module
@ 2019-11-06 17:04 ` Zhao, Yong
0 siblings, 0 replies; 8+ messages in thread
From: Zhao, Yong @ 2019-11-06 17:04 UTC (permalink / raw)
To: Alex Deucher, amd-gfx list; +Cc: Deucher, Alexander
Reviewed-by: Yong Zhao <yong.zhao@amd.com>
On 2019-11-06 11:34 a.m., Alex Deucher wrote:
> Ping?
>
> On Tue, Oct 29, 2019 at 4:10 PM Alex Deucher <alexdeucher@gmail.com> wrote:
>> To properly handle the option parsing ordering.
>>
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>> ---
>> drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 ++++++
>> drivers/gpu/drm/amd/amdgpu/soc15.c | 5 -----
>> 2 files changed, 6 insertions(+), 5 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
>> index 9fe95e7693d5..b2b3eb75c48c 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
>> @@ -1051,6 +1051,12 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
>> !adev->gfx.rlc.is_rlc_v2_1))
>> adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
>>
>> + if (adev->pm.pp_feature & PP_GFXOFF_MASK)
>> + adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
>> + AMD_PG_SUPPORT_CP |
>> + AMD_PG_SUPPORT_RLC_SMU_HS;
>> + break;
>> + case CHIP_RENOIR:
>> if (adev->pm.pp_feature & PP_GFXOFF_MASK)
>> adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
>> AMD_PG_SUPPORT_CP |
>> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
>> index 16c5bb75889f..25e69ea74a41 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
>> @@ -1263,11 +1263,6 @@ static int soc15_common_early_init(void *handle)
>> AMD_PG_SUPPORT_VCN |
>> AMD_PG_SUPPORT_VCN_DPG;
>> adev->external_rev_id = adev->rev_id + 0x91;
>> -
>> - if (adev->pm.pp_feature & PP_GFXOFF_MASK)
>> - adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
>> - AMD_PG_SUPPORT_CP |
>> - AMD_PG_SUPPORT_RLC_SMU_HS;
>> break;
>> default:
>> /* FIXME: not supported yet */
>> --
>> 2.23.0
>>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-11-06 17:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 20:10 [PATCH] drm/amdgpu/renoir: move gfxoff handling into gfx9 module Alex Deucher
2019-10-29 20:10 ` Alex Deucher
[not found] ` <20191029201031.1514210-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2019-10-30 13:54 ` Alex Deucher
2019-10-30 13:54 ` Alex Deucher
2019-11-06 16:34 ` Alex Deucher
2019-11-06 16:34 ` Alex Deucher
[not found] ` <CADnq5_PJ-228f8tzZ3NJwH3q+xFHP4qZaKxPZBb6t8ZdzLz5fA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-11-06 17:04 ` Zhao, Yong
2019-11-06 17:04 ` Zhao, Yong
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.