drm/amdgpu: Add common golden settings for GFX9
Subsystems (2)
PATCH 1/1 drm/amdgpu: Add common golden settings for GFX9
From: Ken Wang <[email protected]>
Signed-off-by Ken Wang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +9 -0
@@ -207,6 +207,12 @@ static const u32 golden_settings_gc_9_1_rv1[] = SOC15_REG_OFFSET(GC, 0, mmTD_CNTL), 0x01bd9f33, 0x00000800 }; +static const u32 golden_settings_gc_9_x_common[] = +{ +SOC15_REG_OFFSET (GC ,0 , mmGRBM_CAM_INDEX),0xffffffff ,0x00000000 , +SOC15_REG_OFFSET (GC ,0 , mmGRBM_CAM_DATA),0xffffffff ,0x2544c382 +}; +#define VEGA10_GB_ADDR_CONFIG_GOLDEN 0x2a114042#define RAVEN_GB_ADDR_CONFIG_GOLDEN 0x24000042
@@ -242,6 +248,9 @@ static void gfx_v9_0_init_golden_registers(struct amdgpu_device *adev)default :break ; } + +amdgpu_program_register_sequence (adev, golden_settings_gc_9_x_common, + (const u32 )ARRAY_SIZE (golden_settings_gc_9_x_common)); }static void gfx_v9_0_scratch_init (struct amdgpu_device *adev)
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1510214623-14375-1-git-send-email-Ken.Wang-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Reviewed-byQuoted 3 lines · On Thu, Nov 9, 2017 at 3:03 AM, <[email protected]> wrote:
From: Ken Wang <[email protected]>
Signed-off-by Ken Wang <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 34 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 9 +++++++++ 1 file changed, 9 insertions(+)drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +9
-1@@ -207,6 +207,12 @@ static const u32 golden_settings_gc_9_1_rv1[] = SOC15_REG_OFFSET(GC, 0, mmTD_CNTL), 0x01bd9f33, 0x00000800 }; +static const u32 golden_settings_gc_9_x_common[] = +{ +SOC15_REG_OFFSET (GC ,0 , mmGRBM_CAM_INDEX),0xffffffff ,0x00000000 , +SOC15_REG_OFFSET (GC ,0 , mmGRBM_CAM_DATA),0xffffffff ,0x2544c382 +}; +#define VEGA10_GB_ADDR_CONFIG_GOLDEN 0x2a114042#define RAVEN_GB_ADDR_CONFIG_GOLDEN 0x24000042@@ -242,6 +248,9 @@ static void gfx_v9_0_init_golden_registers(struct amdgpu_device *adev)default :break ; } + +amdgpu_program_register_sequence (adev, golden_settings_gc_9_x_common, + (const u32 )ARRAY_SIZE (golden_settings_gc_9_x_common)); }static void gfx_v9_0_scratch_init (struct amdgpu_device *adev) --2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx