From: Xiaojie Yuan <[email protected]>

To be filled in once available.

Signed-off-by: Xiaojie Yuan <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Jack Xiao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 066c7217d0a7..d045a7d90104 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -116,6 +116,11 @@ static const struct soc15_reg_golden 
golden_settings_gc_10_0_nv10[] =
        /* Pending on emulation bring up */
 };
 
+static const struct soc15_reg_golden golden_settings_gc_10_1_nv14[] =
+{
+       /* Pending on emulation bring up */
+};
+
 static void gfx_v10_0_set_ring_funcs(struct amdgpu_device *adev);
 static void gfx_v10_0_set_irq_funcs(struct amdgpu_device *adev);
 static void gfx_v10_0_set_gds_init(struct amdgpu_device *adev);
@@ -250,6 +255,14 @@ static void gfx_v10_0_init_golden_registers(struct 
amdgpu_device *adev)
                                                golden_settings_gc_10_0_nv10,
                                                (const 
u32)ARRAY_SIZE(golden_settings_gc_10_0_nv10));
                break;
+       case CHIP_NAVI14:
+               soc15_program_register_sequence(adev,
+                                               golden_settings_gc_10_1,
+                                               (const 
u32)ARRAY_SIZE(golden_settings_gc_10_1));
+               soc15_program_register_sequence(adev,
+                                               golden_settings_gc_10_1_nv14,
+                                               (const 
u32)ARRAY_SIZE(golden_settings_gc_10_1_nv14));
+               break;
        default:
                break;
        }
-- 
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to