drm/amdgpu: update golden setting of VI
Subsystems (2)
cover drm/amdgpu: update golden setting of VI
Hi all,
This patch set are all changes of golden setting, mgcg_cgcg setting, tiling mode array and rev id of VI series of cards.
Thanks,
Rui
Huang Rui (5):
drm/amdgpu: update golden setting of tonga
drm/amdgpu: update golden setting of iceland
drm/amdgpu: update golden setting of polaris11
drm/amdgpu: update golden setting of carrizo
drm/amdgpu: update golden setting of stoney
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 13 +++++++++---- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 8 ++++++++ 2 files changed, 17 insertions(+), 4 deletions(-)
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): 1470109275-20989-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org
PATCH 1/5 drm/amdgpu: update golden setting of tonga
--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +3 -1
@@ -165,6 +165,7 @@ static const u32 golden_settings_tonga_a11[] = mmPA_SC_ENHANCE,0xffffffff ,0x20000001 , mmPA_SC_FIFO_DEPTH_CNTL,0x000003ff ,0x000000fc , mmPA_SC_LINE_STIPPLE_STATE,0x0000ff0f ,0x00000000 , + mmRLC_CGCG_CGLS_CTRL,0x00000003 ,0x0000003c , mmSQ_RANDOM_WAVE_PRI,0x001fffff ,0x000006fd , mmTA_CNTL_AUX,0x000f000f ,0x000b0000 , mmTCC_CTRL, 0x00100000, 0xf31fff7f,
@@ -268,7 +269,8 @@ static const u32 tonga_mgcg_cgcg_init[] =static const u32 golden_settings_polaris11_a11[] = { - mmCB_HW_CONTROL,0xfffdf3cf ,0x00006208 , + mmCB_HW_CONTROL,0x0000f3cf ,0x00007208 , + mmCB_HW_CONTROL_2,0x0f000000 ,0x0f000000 , mmCB_HW_CONTROL_3,0x000001ff ,0x00000040 , mmDB_DEBUG2,0xf00fffff ,0x00000400 , mmPA_SC_ENHANCE,0xffffffff ,0x20000001 ,
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 2/5 drm/amdgpu: update golden setting of iceland
In reply to a message not in the archive--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1 -0
@@ -409,6 +409,7 @@ static const u32 golden_settings_iceland_a11[] = mmPA_SC_LINE_STIPPLE_STATE,0x0000ff0f ,0x00000000 , mmPA_SC_RASTER_CONFIG,0x3f3fffff ,0x00000002 , mmPA_SC_RASTER_CONFIG_1,0x0000003f ,0x00000000 , + mmRLC_CGCG_CGLS_CTRL,0x00000003 ,0x0000003c , mmSQ_RANDOM_WAVE_PRI,0x001fffff ,0x000006fd , mmTA_CNTL_AUX,0x000f000f ,0x000b0000 , mmTCC_CTRL, 0x00100000, 0xf31fff7f,
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 3/5 drm/amdgpu: update golden setting of polaris11
In reply to a message not in the archive--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +3 -3
@@ -279,7 +279,7 @@ static const u32 golden_settings_polaris11_a11[] = mmPA_SC_RASTER_CONFIG_1,0x0000003f ,0x00000000 , mmRLC_CGCG_CGLS_CTRL,0x00000003 ,0x0001003c , mmRLC_CGCG_CGLS_CTRL_3D,0xffffffff ,0x0001003c , - mmSQ_CONFIG,0x07f80000 ,0x07180000 , + mmSQ_CONFIG,0x07f80000 ,0x01180000 , mmTA_CNTL_AUX,0x000f000f ,0x000b0000 , mmTCC_CTRL,0x00100000 ,0xf31fff7f , mmTCP_ADDR_CONFIG, 0x000003ff, 0x000000f3,
@@ -301,8 +301,8 @@ static const u32 polaris11_golden_common_all[] =static const u32 golden_settings_polaris10_a11[] = { mmATC_MISC_CG,0x000c0fc0 ,0x000c0200 , - mmCB_HW_CONTROL,0xfffdf3cf ,0x00007208 , - mmCB_HW_CONTROL_2,0 ,0x0f000000 , + mmCB_HW_CONTROL,0x0001f3cf ,0x00007208 , + mmCB_HW_CONTROL_2,0x0f000000 ,0x0f000000 , mmCB_HW_CONTROL_3,0x000001ff ,0x00000040 , mmDB_DEBUG2,0xf00fffff ,0x00000400 , mmPA_SC_ENHANCE,0xffffffff ,0x20000001 ,
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 4/5 drm/amdgpu: update golden setting of carrizo
In reply to a message not in the archive--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +2 -0
@@ -506,8 +506,10 @@ static const u32 cz_golden_settings_a11[] = mmGB_GPU_ID,0x0000000f ,0x00000000 , mmPA_SC_ENHANCE,0xffffffff ,0x00000001 , mmPA_SC_LINE_STIPPLE_STATE,0x0000ff0f ,0x00000000 , + mmRLC_CGCG_CGLS_CTRL,0x00000003 ,0x0000003c , mmSQ_RANDOM_WAVE_PRI,0x001fffff ,0x000006fd , mmTA_CNTL_AUX,0x000f000f ,0x00010000 , + mmTCC_CTRL,0x00100000 ,0xf31fff7f , mmTCC_EXE_DISABLE,0x00000002 ,0x00000002 , mmTCP_ADDR_CONFIG,0x0000000f ,0x000000f3 , mmTCP_CHAN_STEER_LO,0xffffffff ,0x00001302
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 5/5 drm/amdgpu: update golden setting of stoney
In reply to a message not in the archive--- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c +8 -0
@@ -103,6 +103,11 @@ static const u32 stoney_mgcg_cgcg_init[] = mmMC_MEM_POWER_LS, 0xffffffff, 0x00000104 }; +static const u32 golden_settings_stoney_common[] = +{ + mmMC_HUB_RDREQ_UVD,MC_HUB_RDREQ_UVD__PRESCALE_MASK ,0x00000004 , + mmMC_RD_GRP_OTH,MC_RD_GRP_OTH__UVD_MASK ,0x00600000 +};static void gmc_v8_0_init_golden_registers (struct amdgpu_device *adev) {
@@ -142,6 +147,9 @@ static void gmc_v8_0_init_golden_registers(struct amdgpu_device *adev)amdgpu_program_register_sequence (adev, stoney_mgcg_cgcg_init, (const u32 )ARRAY_SIZE (stoney_mgcg_cgcg_init)); +amdgpu_program_register_sequence (adev, + golden_settings_stoney_common, + (const u32 )ARRAY_SIZE (golden_settings_stoney_common));break ;default :break ;
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): 1470109275-20989-6-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Reviewed-byRe: [PATCH 5/5] drm/amdgpu: update golden setting of stoney
Quoted 1 line · Huang Rui
Signed-off-by Huang Rui <[email protected]>
For the series:
Quoted 33 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c +8
-1@@ -103,6 +103,11 @@ static const u32 stoney_mgcg_cgcg_init[] = mmMC_MEM_POWER_LS, 0xffffffff, 0x00000104 }; +static const u32 golden_settings_stoney_common[] = +{ + mmMC_HUB_RDREQ_UVD,MC_HUB_RDREQ_UVD__PRESCALE_MASK ,0x00000004 , + mmMC_RD_GRP_OTH,MC_RD_GRP_OTH__UVD_MASK ,0x00600000 +};static void gmc_v8_0_init_golden_registers (struct amdgpu_device *adev) {@@ -142,6 +147,9 @@ static void gmc_v8_0_init_golden_registers(struct amdgpu_device *adev)amdgpu_program_register_sequence (adev, stoney_mgcg_cgcg_init, (const u32 )ARRAY_SIZE (stoney_mgcg_cgcg_init)); +amdgpu_program_register_sequence (adev, + golden_settings_stoney_common, + (const u32 )ARRAY_SIZE (golden_settings_stoney_common));break ;default :break ; --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