AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family
@ 2024-02-15 20:39 Alex Deucher
  2024-02-15 20:39 ` [PATCH 2/9] drm/amdgpu: add firmware for GC 11.5.1 Alex Deucher
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher

From: Yifan Zhang <yifan1.zhang@amd.com>

This patch to add GC 11.5.1 to GC 11.5.0 family.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 6a63145beaf2..71dbf7a83e42 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2462,6 +2462,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
 		adev->family = AMDGPU_FAMILY_GC_11_0_1;
 		break;
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 		adev->family = AMDGPU_FAMILY_GC_11_5_0;
 		break;
 	default:
@@ -2481,6 +2482,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
 	case IP_VERSION(11, 0, 1):
 	case IP_VERSION(11, 0, 4):
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 		adev->flags |= AMD_IS_APU;
 		break;
 	default:
-- 
2.42.0


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

* [PATCH 2/9] drm/amdgpu: add firmware for GC 11.5.1
  2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
@ 2024-02-15 20:39 ` Alex Deucher
  2024-02-15 20:39 ` [PATCH 3/9] drm/amdgpu: add imu firmware support " Alex Deucher
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher

From: Yifan Zhang <yifan1.zhang@amd.com>

This patch is to add firmware for GC 11.5.1

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 2fb1342d5bd9..83a03cd9d404 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -89,6 +89,10 @@ MODULE_FIRMWARE("amdgpu/gc_11_5_0_pfp.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_5_0_me.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_5_0_mec.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_5_0_rlc.bin");
+MODULE_FIRMWARE("amdgpu/gc_11_5_1_pfp.bin");
+MODULE_FIRMWARE("amdgpu/gc_11_5_1_me.bin");
+MODULE_FIRMWARE("amdgpu/gc_11_5_1_mec.bin");
+MODULE_FIRMWARE("amdgpu/gc_11_5_1_rlc.bin");
 
 static const struct soc15_reg_golden golden_settings_gc_11_0[] = {
 	SOC15_REG_GOLDEN_VALUE(GC, 0, regTCP_CNTL, 0x20000000, 0x20000000)
-- 
2.42.0


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

* [PATCH 3/9] drm/amdgpu: add imu firmware support for GC 11.5.1
  2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
  2024-02-15 20:39 ` [PATCH 2/9] drm/amdgpu: add firmware for GC 11.5.1 Alex Deucher
@ 2024-02-15 20:39 ` Alex Deucher
  2024-02-15 20:39 ` [PATCH 4/9] drm/amdgpu: add mes " Alex Deucher
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher

From: Yifan Zhang <yifan1.zhang@amd.com>

This patch is to add imu firmware support for GC 11.5.1

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

diff --git a/drivers/gpu/drm/amd/amdgpu/imu_v11_0.c b/drivers/gpu/drm/amd/amdgpu/imu_v11_0.c
index c0bdab3bf0e4..3e91a8e42c21 100644
--- a/drivers/gpu/drm/amd/amdgpu/imu_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/imu_v11_0.c
@@ -37,6 +37,7 @@ MODULE_FIRMWARE("amdgpu/gc_11_0_2_imu.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_0_3_imu.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_0_4_imu.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_5_0_imu.bin");
+MODULE_FIRMWARE("amdgpu/gc_11_5_1_imu.bin");
 
 static int imu_v11_0_init_microcode(struct amdgpu_device *adev)
 {
-- 
2.42.0


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

* [PATCH 4/9] drm/amdgpu: add mes firmware support for GC 11.5.1
  2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
  2024-02-15 20:39 ` [PATCH 2/9] drm/amdgpu: add firmware for GC 11.5.1 Alex Deucher
  2024-02-15 20:39 ` [PATCH 3/9] drm/amdgpu: add imu firmware support " Alex Deucher
@ 2024-02-15 20:39 ` Alex Deucher
  2024-02-15 20:39 ` [PATCH 5/9] drm/amdgpu: initialize gfx11.5.1 Alex Deucher
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher

From: Yifan Zhang <yifan1.zhang@amd.com>

This patch to add MES PIPE0 and PIPE1 firmware support for gc_11_5_1.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
index 26d71a22395d..b127ddf1c807 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
@@ -49,6 +49,8 @@ MODULE_FIRMWARE("amdgpu/gc_11_0_4_mes_2.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_0_4_mes1.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_5_0_mes_2.bin");
 MODULE_FIRMWARE("amdgpu/gc_11_5_0_mes1.bin");
+MODULE_FIRMWARE("amdgpu/gc_11_5_1_mes_2.bin");
+MODULE_FIRMWARE("amdgpu/gc_11_5_1_mes1.bin");
 
 
 static int mes_v11_0_hw_fini(void *handle);
-- 
2.42.0


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

* [PATCH 5/9] drm/amdgpu: initialize gfx11.5.1
  2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
                   ` (2 preceding siblings ...)
  2024-02-15 20:39 ` [PATCH 4/9] drm/amdgpu: add mes " Alex Deucher
@ 2024-02-15 20:39 ` Alex Deucher
  2024-02-15 20:39 ` [PATCH 6/9] drm/amdgpu: enable CGPG for GFX ip v11.5.1 Alex Deucher
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher

From: Yifan Zhang <yifan1.zhang@amd.com>

Initalize gfx 11.5.0 and set gfx hw configuration.

v2: squash in CG, PG, GFXOFF fixes (Alex)

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 83a03cd9d404..c0f6ce4322b8 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -911,6 +911,7 @@ static int gfx_v11_0_gpu_early_init(struct amdgpu_device *adev)
 	case IP_VERSION(11, 0, 1):
 	case IP_VERSION(11, 0, 4):
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 		adev->gfx.config.max_hw_contexts = 8;
 		adev->gfx.config.sc_prim_fifo_size_frontend = 0x20;
 		adev->gfx.config.sc_prim_fifo_size_backend = 0x100;
@@ -1350,6 +1351,7 @@ static int gfx_v11_0_sw_init(void *handle)
 	case IP_VERSION(11, 0, 1):
 	case IP_VERSION(11, 0, 4):
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 		adev->gfx.me.num_me = 1;
 		adev->gfx.me.num_pipe_per_me = 1;
 		adev->gfx.me.num_queue_per_pipe = 1;
@@ -2592,7 +2594,8 @@ static int gfx_v11_0_wait_for_rlc_autoload_complete(struct amdgpu_device *adev)
 			    IP_VERSION(11, 0, 1) ||
 		    amdgpu_ip_version(adev, GC_HWIP, 0) ==
 			    IP_VERSION(11, 0, 4) ||
-		    amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(11, 5, 0))
+		    amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(11, 5, 0) ||
+		    amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(11, 5, 1))
 			bootload_status = RREG32_SOC15(GC, 0,
 					regRLC_RLCS_BOOTLOAD_STATUS_gc_11_0_1);
 		else
@@ -5086,6 +5089,7 @@ static void gfx_v11_cntl_power_gating(struct amdgpu_device *adev, bool enable)
 		case IP_VERSION(11, 0, 1):
 		case IP_VERSION(11, 0, 4):
 		case IP_VERSION(11, 5, 0):
+		case IP_VERSION(11, 5, 1):
 			WREG32_SOC15(GC, 0, regRLC_PG_DELAY_3, RLC_PG_DELAY_3_DEFAULT_GC_11_0_1);
 			break;
 		default:
@@ -5121,6 +5125,7 @@ static int gfx_v11_0_set_powergating_state(void *handle,
 	case IP_VERSION(11, 0, 1):
 	case IP_VERSION(11, 0, 4):
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 		if (!enable)
 			amdgpu_gfx_off_ctrl(adev, false);
 
@@ -5152,6 +5157,7 @@ static int gfx_v11_0_set_clockgating_state(void *handle,
 	case IP_VERSION(11, 0, 3):
 	case IP_VERSION(11, 0, 4):
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 	        gfx_v11_0_update_gfx_clock_gating(adev,
 	                        state ==  AMD_CG_STATE_GATE);
 	        break;
-- 
2.42.0


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

* [PATCH 6/9] drm/amdgpu: enable CGPG for GFX ip v11.5.1
  2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
                   ` (3 preceding siblings ...)
  2024-02-15 20:39 ` [PATCH 5/9] drm/amdgpu: initialize gfx11.5.1 Alex Deucher
@ 2024-02-15 20:39 ` Alex Deucher
  2024-02-15 20:39 ` [PATCH 7/9] drm/amdkfd: add KFD support for GC 11.5.1 Alex Deucher
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Tim Huang, Alex Deucher

From: Tim Huang <Tim.Huang@amd.com>

Enable CGPG support for GFX ip v11.5.1

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 71b3a0688555..2c812701592b 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -718,8 +718,27 @@ static int soc21_common_early_init(void *handle)
 		adev->external_rev_id = adev->rev_id + 0x1;
 		break;
 	case IP_VERSION(11, 5, 1):
-		adev->cg_flags = 0;
-		adev->pg_flags = 0;
+		adev->cg_flags =
+			AMD_CG_SUPPORT_GFX_CGCG |
+			AMD_CG_SUPPORT_GFX_CGLS |
+			AMD_CG_SUPPORT_GFX_MGCG |
+			AMD_CG_SUPPORT_GFX_FGCG |
+			AMD_CG_SUPPORT_REPEATER_FGCG |
+			AMD_CG_SUPPORT_GFX_PERF_CLK	|
+			AMD_CG_SUPPORT_GFX_3D_CGCG |
+			AMD_CG_SUPPORT_GFX_3D_CGLS	|
+			AMD_CG_SUPPORT_MC_MGCG |
+			AMD_CG_SUPPORT_MC_LS |
+			AMD_CG_SUPPORT_HDP_LS |
+			AMD_CG_SUPPORT_HDP_DS |
+			AMD_CG_SUPPORT_HDP_SD |
+			AMD_CG_SUPPORT_ATHUB_MGCG |
+			AMD_CG_SUPPORT_ATHUB_LS |
+			AMD_CG_SUPPORT_IH_CG |
+			AMD_CG_SUPPORT_BIF_MGCG |
+			AMD_CG_SUPPORT_BIF_LS;
+		adev->pg_flags =
+			AMD_PG_SUPPORT_GFX_PG;
 		adev->external_rev_id = adev->rev_id + 0xc1;
 		break;
 	default:
-- 
2.42.0


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

* [PATCH 7/9] drm/amdkfd: add KFD support for GC 11.5.1
  2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
                   ` (4 preceding siblings ...)
  2024-02-15 20:39 ` [PATCH 6/9] drm/amdgpu: enable CGPG for GFX ip v11.5.1 Alex Deucher
@ 2024-02-15 20:39 ` Alex Deucher
  2024-02-15 20:39 ` [PATCH 8/9] drm/amdgpu: add GC 11.5.1 discovery support Alex Deucher
  2024-02-15 20:39 ` [PATCH 9/9] drm/amdgpu: enable MES discovery for GC 11.5.1 Alex Deucher
  7 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher

From: Yifan Zhang <yifan1.zhang@amd.com>

Enable KFD for GC 11.5.1.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c   | 1 +
 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
index 002b08fa632f..7f2ae0d15d4a 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
@@ -1676,6 +1676,7 @@ int kfd_get_gpu_cache_info(struct kfd_node *kdev, struct kfd_gpu_cache_info **pc
 		case IP_VERSION(11, 0, 3):
 		case IP_VERSION(11, 0, 4):
 		case IP_VERSION(11, 5, 0):
+		case IP_VERSION(11, 5, 1):
 			num_of_cache_types =
 				kfd_fill_gpu_cache_info_from_gfx_config(kdev->kfd, *pcache_info);
 			break;
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index 0a9cf9dfc224..4d399c0c8a57 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
@@ -96,6 +96,7 @@ static void kfd_device_info_set_sdma_info(struct kfd_dev *kfd)
 	case IP_VERSION(6, 0, 2):
 	case IP_VERSION(6, 0, 3):
 	case IP_VERSION(6, 1, 0):
+	case IP_VERSION(6, 1, 1):
 		kfd->device_info.num_sdma_queues_per_engine = 8;
 		break;
 	default:
@@ -113,6 +114,7 @@ static void kfd_device_info_set_sdma_info(struct kfd_dev *kfd)
 	case IP_VERSION(6, 0, 2):
 	case IP_VERSION(6, 0, 3):
 	case IP_VERSION(6, 1, 0):
+	case IP_VERSION(6, 1, 1):
 		/* Reserve 1 for paging and 1 for gfx */
 		kfd->device_info.num_reserved_sdma_queues_per_engine = 2;
 		/* BIT(0)=engine-0 queue-0; BIT(1)=engine-1 queue-0; BIT(2)=engine-0 queue-1; ... */
@@ -165,6 +167,7 @@ static void kfd_device_info_set_event_interrupt_class(struct kfd_dev *kfd)
 	case IP_VERSION(11, 0, 3):
 	case IP_VERSION(11, 0, 4):
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 		kfd->device_info.event_interrupt_class = &event_interrupt_class_v11;
 		break;
 	default:
@@ -420,6 +423,10 @@ struct kfd_dev *kgd2kfd_probe(struct amdgpu_device *adev, bool vf)
 			gfx_target_version = 110500;
 			f2g = &gfx_v11_kfd2kgd;
 			break;
+		case IP_VERSION(11, 5, 1):
+			gfx_target_version = 110501;
+			f2g = &gfx_v11_kfd2kgd;
+			break;
 		default:
 			break;
 		}
-- 
2.42.0


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

* [PATCH 8/9] drm/amdgpu: add GC 11.5.1 discovery support
  2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
                   ` (5 preceding siblings ...)
  2024-02-15 20:39 ` [PATCH 7/9] drm/amdkfd: add KFD support for GC 11.5.1 Alex Deucher
@ 2024-02-15 20:39 ` Alex Deucher
  2024-02-15 20:39 ` [PATCH 9/9] drm/amdgpu: enable MES discovery for GC 11.5.1 Alex Deucher
  7 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher

From: Yifan Zhang <yifan1.zhang@amd.com>

This patch to add GC 11.5.1 support

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

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 71dbf7a83e42..70aeb56bfd53 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2005,6 +2005,7 @@ static int amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)
 	case IP_VERSION(11, 0, 3):
 	case IP_VERSION(11, 0, 4):
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 		amdgpu_device_ip_block_add(adev, &gfx_v11_0_ip_block);
 		break;
 	default:
-- 
2.42.0


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

* [PATCH 9/9] drm/amdgpu: enable MES discovery for GC 11.5.1
  2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
                   ` (6 preceding siblings ...)
  2024-02-15 20:39 ` [PATCH 8/9] drm/amdgpu: add GC 11.5.1 discovery support Alex Deucher
@ 2024-02-15 20:39 ` Alex Deucher
  2024-02-16 15:30   ` Liu, Shaoyun
  7 siblings, 1 reply; 10+ messages in thread
From: Alex Deucher @ 2024-02-15 20:39 UTC (permalink / raw)
  To: amd-gfx; +Cc: Yifan Zhang, Alex Deucher

From: Yifan Zhang <yifan1.zhang@amd.com>

This patch to enable MES for GC 11.5.1

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

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 70aeb56bfd53..704b7820c47c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2185,6 +2185,7 @@ static int amdgpu_discovery_set_mes_ip_blocks(struct amdgpu_device *adev)
 	case IP_VERSION(11, 0, 3):
 	case IP_VERSION(11, 0, 4):
 	case IP_VERSION(11, 5, 0):
+	case IP_VERSION(11, 5, 1):
 		amdgpu_device_ip_block_add(adev, &mes_v11_0_ip_block);
 		adev->enable_mes = true;
 		adev->enable_mes_kiq = true;
-- 
2.42.0


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

* RE: [PATCH 9/9] drm/amdgpu: enable MES discovery for GC 11.5.1
  2024-02-15 20:39 ` [PATCH 9/9] drm/amdgpu: enable MES discovery for GC 11.5.1 Alex Deucher
@ 2024-02-16 15:30   ` Liu, Shaoyun
  0 siblings, 0 replies; 10+ messages in thread
From: Liu, Shaoyun @ 2024-02-16 15:30 UTC (permalink / raw)
  To: Deucher, Alexander, amd-gfx@lists.freedesktop.org
  Cc: Zhang, Yifan, Deucher, Alexander

[AMD Official Use Only - General]

Reviewed by shaoyun.liu <Shaoyun.liu@amd.com>

-----Original Message-----
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Alex Deucher
Sent: Thursday, February 15, 2024 3:40 PM
To: amd-gfx@lists.freedesktop.org
Cc: Zhang, Yifan <Yifan1.Zhang@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>
Subject: [PATCH 9/9] drm/amdgpu: enable MES discovery for GC 11.5.1

From: Yifan Zhang <yifan1.zhang@amd.com>

This patch to enable MES for GC 11.5.1

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

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 70aeb56bfd53..704b7820c47c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2185,6 +2185,7 @@ static int amdgpu_discovery_set_mes_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(11, 0, 3):
        case IP_VERSION(11, 0, 4):
        case IP_VERSION(11, 5, 0):
+       case IP_VERSION(11, 5, 1):
                amdgpu_device_ip_block_add(adev, &mes_v11_0_ip_block);
                adev->enable_mes = true;
                adev->enable_mes_kiq = true;
--
2.42.0


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

end of thread, other threads:[~2024-02-16 15:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-15 20:39 [PATCH 1/9] drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family Alex Deucher
2024-02-15 20:39 ` [PATCH 2/9] drm/amdgpu: add firmware for GC 11.5.1 Alex Deucher
2024-02-15 20:39 ` [PATCH 3/9] drm/amdgpu: add imu firmware support " Alex Deucher
2024-02-15 20:39 ` [PATCH 4/9] drm/amdgpu: add mes " Alex Deucher
2024-02-15 20:39 ` [PATCH 5/9] drm/amdgpu: initialize gfx11.5.1 Alex Deucher
2024-02-15 20:39 ` [PATCH 6/9] drm/amdgpu: enable CGPG for GFX ip v11.5.1 Alex Deucher
2024-02-15 20:39 ` [PATCH 7/9] drm/amdkfd: add KFD support for GC 11.5.1 Alex Deucher
2024-02-15 20:39 ` [PATCH 8/9] drm/amdgpu: add GC 11.5.1 discovery support Alex Deucher
2024-02-15 20:39 ` [PATCH 9/9] drm/amdgpu: enable MES discovery for GC 11.5.1 Alex Deucher
2024-02-16 15:30   ` Liu, Shaoyun

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