AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/amdgpu: Enable VCN DPG for GC11_0_1
@ 2022-09-29 16:50 Sonny Jiang
  2022-09-29 16:50 ` [PATCH 2/2] drm/amdgpu: Enable sram on vcn_4_0_2 Sonny Jiang
  2022-09-29 17:19 ` [PATCH 1/2] drm/amdgpu: Enable VCN DPG for GC11_0_1 James Zhu
  0 siblings, 2 replies; 3+ messages in thread
From: Sonny Jiang @ 2022-09-29 16:50 UTC (permalink / raw)
  To: amd-gfx; +Cc: Sonny Jiang

Enable VCN DPG on GC11_0_1

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 5f0d6983714a..16b757664a35 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -629,6 +629,7 @@ static int soc21_common_early_init(void *handle)
 			AMD_CG_SUPPORT_JPEG_MGCG;
 		adev->pg_flags =
 			AMD_PG_SUPPORT_GFX_PG |
+			AMD_PG_SUPPORT_VCN_DPG |
 			AMD_PG_SUPPORT_JPEG;
 		adev->external_rev_id = adev->rev_id + 0x1;
 		break;
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] drm/amdgpu: Enable sram on vcn_4_0_2
  2022-09-29 16:50 [PATCH 1/2] drm/amdgpu: Enable VCN DPG for GC11_0_1 Sonny Jiang
@ 2022-09-29 16:50 ` Sonny Jiang
  2022-09-29 17:19 ` [PATCH 1/2] drm/amdgpu: Enable VCN DPG for GC11_0_1 James Zhu
  1 sibling, 0 replies; 3+ messages in thread
From: Sonny Jiang @ 2022-09-29 16:50 UTC (permalink / raw)
  To: amd-gfx; +Cc: Sonny Jiang

Enable sram on vcn_4_0_2

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
index f36e4f08db6d..0b52af415b28 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
@@ -191,7 +191,7 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev)
 		fw_name = FIRMWARE_VCN4_0_2;
 		if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) &&
 			(adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG))
-			adev->vcn.indirect_sram = false;
+			adev->vcn.indirect_sram = true;
 		break;
 	case IP_VERSION(4, 0, 4):
 		fw_name = FIRMWARE_VCN4_0_4;
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] drm/amdgpu: Enable VCN DPG for GC11_0_1
  2022-09-29 16:50 [PATCH 1/2] drm/amdgpu: Enable VCN DPG for GC11_0_1 Sonny Jiang
  2022-09-29 16:50 ` [PATCH 2/2] drm/amdgpu: Enable sram on vcn_4_0_2 Sonny Jiang
@ 2022-09-29 17:19 ` James Zhu
  1 sibling, 0 replies; 3+ messages in thread
From: James Zhu @ 2022-09-29 17:19 UTC (permalink / raw)
  To: amd-gfx

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

Reviewed-by:JamesZhu<James.Zhu@amd.com>fortheseries.

On 2022-09-29 12:50 p.m., Sonny Jiang wrote:
> Enable VCN DPG on GC11_0_1
>
> Signed-off-by: Sonny Jiang<sonny.jiang@amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
> index 5f0d6983714a..16b757664a35 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc21.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
> @@ -629,6 +629,7 @@ static int soc21_common_early_init(void *handle)
>   			AMD_CG_SUPPORT_JPEG_MGCG;
>   		adev->pg_flags =
>   			AMD_PG_SUPPORT_GFX_PG |
> +			AMD_PG_SUPPORT_VCN_DPG |
>   			AMD_PG_SUPPORT_JPEG;
>   		adev->external_rev_id = adev->rev_id + 0x1;
>   		break;

[-- Attachment #2: Type: text/html, Size: 1724 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-29 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-29 16:50 [PATCH 1/2] drm/amdgpu: Enable VCN DPG for GC11_0_1 Sonny Jiang
2022-09-29 16:50 ` [PATCH 2/2] drm/amdgpu: Enable sram on vcn_4_0_2 Sonny Jiang
2022-09-29 17:19 ` [PATCH 1/2] drm/amdgpu: Enable VCN DPG for GC11_0_1 James Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox