drm/amdgpu: add more Polaris10 DID
Subsystems (2)
PATCH 1/4 drm/amdgpu: add more Polaris10 DID
From: Flora Cui <[email protected]>
Signed-off-by Flora Cui <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +9 -0
@@ -288,7 +288,16 @@ static const struct pci_device_id pciidlist[] = { {0x1002, 0x67FF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},/* Polaris10 */ {0x1002, 0x67C0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67C1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67C2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67C4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67C7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, {0x1002, 0x67DF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67C8, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67C9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67CA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67CC, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, + {0x1002, 0x67CF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, {0, 0, 0} };
Signature · 6 lines
2.5.5 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 2/4 drm/amdgpu: update Polaris10 golden setting
From: Flora Cui <[email protected]>
Signed-off-by Flora Cui <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c +1 -1
@@ -145,7 +145,7 @@ static const u32 polaris10_golden_settings_a11[] = { mmDCI_CLK_CNTL,0x00000080 ,0x00000000 , mmFBC_DEBUG_COMP,0x000000f0 ,0x00000070 , - mmFBC_MISC,0x9f313fff ,0x14300008 , + mmFBC_MISC,0x9f313fff ,0x14302008 , mmHDMI_CONTROL, 0x313f031f, 0x00000011, };
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1 -0
@@ -296,6 +296,7 @@ static const u32 polaris11_golden_common_all[] =static const u32 golden_settings_polaris10_a11[] = { mmATC_MISC_CG,0x000c0fc0 ,0x000c0200 , + mmCB_HW_CONTROL,0xfffdf3cf ,0x00006208 , mmCB_HW_CONTROL_3,0x000001ff ,0x00000040 , mmDB_DEBUG2,0xf00fffff ,0x00000400 , mmPA_SC_ENHANCE,0xffffffff ,0x20000001 ,
Signature · 6 lines
2.5.5 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 3/4 drm/amdgpu: Add more Polaris 11 PCI IDs
In reply to Alex DeucherFrom: Flora Cui <[email protected]>
Signed-off-by Flora Cui <[email protected]>
Reviewed-by Christian König <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +5 -2
@@ -281,11 +281,14 @@ static const struct pci_device_id pciidlist[] = { {0x1002, 0x98E4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_STONEY|AMD_IS_APU},/* Polaris11 */ {0x1002, 0x67E0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, - {0x1002, 0x67E1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, + {0x1002, 0x67E3, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, {0x1002, 0x67E8, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, - {0x1002, 0x67E9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, {0x1002, 0x67EB, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, + {0x1002, 0x67EF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, {0x1002, 0x67FF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, + {0x1002, 0x67E1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, + {0x1002, 0x67E7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11}, + {0x1002, 0x67E9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},/* Polaris10 */ {0x1002, 0x67C0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10}, {0x1002, 0x67C1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
Signature · 6 lines
2.5.5 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 4/4 drm/amdgpu: update Polaris11 golden setting
In reply to Alex DeucherFrom: Flora Cui <[email protected]>
Signed-off-by Flora Cui <[email protected]>
Reviewed-by Christian König <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 5 +++-- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c +1 -1
@@ -137,7 +137,7 @@ static const u32 polaris11_golden_settings_a11[] = mmDCI_CLK_CNTL,0x00000080 ,0x00000000 , mmFBC_DEBUG_COMP,0x000000f0 ,0x00000070 , mmFBC_DEBUG1,0xffffffff ,0x00000008 , - mmFBC_MISC,0x9f313fff ,0x14300008 , + mmFBC_MISC,0x9f313fff ,0x14302008 , mmHDMI_CONTROL, 0x313f031f, 0x00000011, };
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +3 -2
@@ -267,10 +267,13 @@ static const u32 tonga_mgcg_cgcg_init[] =static const u32 golden_settings_polaris11_a11[] = { + mmCB_HW_CONTROL,0xfffdf3cf ,0x00006208 , mmCB_HW_CONTROL_3,0x000001ff ,0x00000040 , mmDB_DEBUG2,0xf00fffff ,0x00000400 , mmPA_SC_ENHANCE,0xffffffff ,0x20000001 , mmPA_SC_LINE_STIPPLE_STATE,0x0000ff0f ,0x00000000 , + mmPA_SC_RASTER_CONFIG,0x3f3fffff ,0x16000012 , + mmPA_SC_RASTER_CONFIG_1,0x0000003f ,0x00000000 , mmRLC_CGCG_CGLS_CTRL,0x00000003 ,0x0001003c , mmRLC_CGCG_CGLS_CTRL_3D,0xffffffff ,0x0001003c , mmSQ_CONFIG,0x07f80000 ,0x07180000 ,
@@ -284,8 +287,6 @@ static const u32 golden_settings_polaris11_a11[] =static const u32 polaris11_golden_common_all[] = { mmGRBM_GFX_INDEX,0xffffffff ,0xe0000000 , - mmPA_SC_RASTER_CONFIG,0xffffffff ,0x16000012 , - mmPA_SC_RASTER_CONFIG_1,0xffffffff ,0x00000000 , mmGB_ADDR_CONFIG,0xffffffff ,0x22011002 , mmSPI_RESOURCE_RESERVE_CU_0,0xffffffff ,0x00000800 , mmSPI_RESOURCE_RESERVE_CU_1,0xffffffff ,0x00000800 ,
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c +2 -0
@@ -109,10 +109,12 @@ static const u32 fiji_mgcg_cgcg_init[] =static const u32 golden_settings_polaris11_a11[] = { mmSDMA0_CHICKEN_BITS,0xfc910007 ,0x00810007 , + mmSDMA0_CLK_CTRL,0xff000fff ,0x00000000 , mmSDMA0_GFX_IB_CNTL,0x800f0111 ,0x00000100 , mmSDMA0_RLC0_IB_CNTL,0x800f0111 ,0x00000100 , mmSDMA0_RLC1_IB_CNTL,0x800f0111 ,0x00000100 , mmSDMA1_CHICKEN_BITS,0xfc910007 ,0x00810007 , + mmSDMA1_CLK_CTRL,0xff000fff ,0x00000000 , mmSDMA1_GFX_IB_CNTL,0x800f0111 ,0x00000100 , mmSDMA1_RLC0_IB_CNTL,0x800f0111 ,0x00000100 , mmSDMA1_RLC1_IB_CNTL,0x800f0111 ,0x00000100 ,
Signature · 6 lines
2.5.5 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel