/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | vcn_v1_0.c | 336 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 338 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 340 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 342 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 344 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 346 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 348 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 350 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 352 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() 354 adev->gfx.config.gb_addr_config); in vcn_v1_0_mc_resume_spg_mode() [all …]
|
A D | gfx_v6_0.c | 1578 u32 gb_addr_config = 0; in gfx_v6_0_constants_init() local 1600 gb_addr_config = TAHITI_GB_ADDR_CONFIG_GOLDEN; in gfx_v6_0_constants_init() 1617 gb_addr_config = TAHITI_GB_ADDR_CONFIG_GOLDEN; in gfx_v6_0_constants_init() 1634 gb_addr_config = VERDE_GB_ADDR_CONFIG_GOLDEN; in gfx_v6_0_constants_init() 1651 gb_addr_config = VERDE_GB_ADDR_CONFIG_GOLDEN; in gfx_v6_0_constants_init() 1668 gb_addr_config = HAINAN_GB_ADDR_CONFIG_GOLDEN; in gfx_v6_0_constants_init() 1710 adev->gfx.config.gb_addr_config = gb_addr_config; in gfx_v6_0_constants_init() 1712 WREG32(mmGB_ADDR_CONFIG, gb_addr_config); in gfx_v6_0_constants_init() 1713 WREG32(mmDMIF_ADDR_CONFIG, gb_addr_config); in gfx_v6_0_constants_init() 1714 WREG32(mmDMIF_ADDR_CALC, gb_addr_config); in gfx_v6_0_constants_init() [all …]
|
A D | amdgpu_gfx.h | 136 struct gb_addr_config { struct 171 unsigned gb_addr_config; member 179 struct gb_addr_config gb_addr_config_fields;
|
A D | uvd_v3_1.c | 270 WREG32(mmUVD_UDEC_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v3_1_mc_resume() 271 WREG32(mmUVD_UDEC_DB_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v3_1_mc_resume() 272 WREG32(mmUVD_UDEC_DBW_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v3_1_mc_resume()
|
A D | uvd_v4_2.c | 599 WREG32(mmUVD_UDEC_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v4_2_mc_resume() 600 WREG32(mmUVD_UDEC_DB_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v4_2_mc_resume() 601 WREG32(mmUVD_UDEC_DBW_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v4_2_mc_resume()
|
A D | uvd_v5_0.c | 303 WREG32(mmUVD_UDEC_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v5_0_mc_resume() 304 WREG32(mmUVD_UDEC_DB_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v5_0_mc_resume() 305 WREG32(mmUVD_UDEC_DBW_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v5_0_mc_resume()
|
A D | jpeg_v3_0.c | 342 adev->gfx.config.gb_addr_config); in jpeg_v3_0_start() 344 adev->gfx.config.gb_addr_config); in jpeg_v3_0_start()
|
A D | gfx_v9_0.c | 2150 u32 gb_addr_config; in gfx_v9_0_gpu_early_init() local 2181 gb_addr_config &= ~0xf3e777ff; in gfx_v9_0_gpu_early_init() 2182 gb_addr_config |= 0x22014042; in gfx_v9_0_gpu_early_init() 2208 gb_addr_config &= ~0xf3e777ff; in gfx_v9_0_gpu_early_init() 2209 gb_addr_config |= 0x22014042; in gfx_v9_0_gpu_early_init() 2218 gb_addr_config &= ~0xf3e777ff; in gfx_v9_0_gpu_early_init() 2219 gb_addr_config |= 0x22010042; in gfx_v9_0_gpu_early_init() 2229 gb_addr_config &= ~0xf3e777ff; in gfx_v9_0_gpu_early_init() 2230 gb_addr_config |= 0x22014042; in gfx_v9_0_gpu_early_init() 2241 adev->gfx.config.gb_addr_config = gb_addr_config; in gfx_v9_0_gpu_early_init() [all …]
|
A D | gfx_v7_0.c | 1928 WREG32(mmGB_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in gfx_v7_0_constants_init() 1929 WREG32(mmHDP_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in gfx_v7_0_constants_init() 1930 WREG32(mmDMIF_ADDR_CALC, adev->gfx.config.gb_addr_config); in gfx_v7_0_constants_init() 4280 u32 gb_addr_config; in gfx_v7_0_gpu_early_init() local 4301 gb_addr_config = BONAIRE_GB_ADDR_CONFIG_GOLDEN; in gfx_v7_0_gpu_early_init() 4318 gb_addr_config = HAWAII_GB_ADDR_CONFIG_GOLDEN; in gfx_v7_0_gpu_early_init() 4335 gb_addr_config = BONAIRE_GB_ADDR_CONFIG_GOLDEN; in gfx_v7_0_gpu_early_init() 4354 gb_addr_config = BONAIRE_GB_ADDR_CONFIG_GOLDEN; in gfx_v7_0_gpu_early_init() 4406 gb_addr_config &= ~GB_ADDR_CONFIG__ROW_SIZE_MASK; in gfx_v7_0_gpu_early_init() 4410 gb_addr_config |= (0 << GB_ADDR_CONFIG__ROW_SIZE__SHIFT); in gfx_v7_0_gpu_early_init() [all …]
|
A D | gfx_v8_0.c | 1695 u32 gb_addr_config; in gfx_v8_0_gpu_early_init() local 1717 gb_addr_config = TOPAZ_GB_ADDR_CONFIG_GOLDEN; in gfx_v8_0_gpu_early_init() 1734 gb_addr_config = TONGA_GB_ADDR_CONFIG_GOLDEN; in gfx_v8_0_gpu_early_init() 1764 gb_addr_config = TONGA_GB_ADDR_CONFIG_GOLDEN; in gfx_v8_0_gpu_early_init() 1781 gb_addr_config = TONGA_GB_ADDR_CONFIG_GOLDEN; in gfx_v8_0_gpu_early_init() 1798 gb_addr_config = CARRIZO_GB_ADDR_CONFIG_GOLDEN; in gfx_v8_0_gpu_early_init() 1832 gb_addr_config = TONGA_GB_ADDR_CONFIG_GOLDEN; in gfx_v8_0_gpu_early_init() 1887 gb_addr_config = REG_SET_FIELD(gb_addr_config, GB_ADDR_CONFIG, ROW_SIZE, 0); in gfx_v8_0_gpu_early_init() 1890 gb_addr_config = REG_SET_FIELD(gb_addr_config, GB_ADDR_CONFIG, ROW_SIZE, 1); in gfx_v8_0_gpu_early_init() 1893 gb_addr_config = REG_SET_FIELD(gb_addr_config, GB_ADDR_CONFIG, ROW_SIZE, 2); in gfx_v8_0_gpu_early_init() [all …]
|
A D | jpeg_v2_5.c | 316 adev->gfx.config.gb_addr_config); in jpeg_v2_5_start() 318 adev->gfx.config.gb_addr_config); in jpeg_v2_5_start()
|
A D | uvd_v6_0.c | 627 WREG32(mmUVD_UDEC_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v6_0_mc_resume() 628 WREG32(mmUVD_UDEC_DB_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v6_0_mc_resume() 629 WREG32(mmUVD_UDEC_DBW_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in uvd_v6_0_mc_resume()
|
A D | uvd_v7_0.c | 715 adev->gfx.config.gb_addr_config); in uvd_v7_0_mc_resume() 717 adev->gfx.config.gb_addr_config); in uvd_v7_0_mc_resume() 719 adev->gfx.config.gb_addr_config); in uvd_v7_0_mc_resume()
|
A D | vcn_v2_5.c | 528 VCN, 0, mmUVD_GFX8_ADDR_CONFIG), adev->gfx.config.gb_addr_config, 0, indirect); in vcn_v2_5_mc_resume_dpg_mode() 989 adev->gfx.config.gb_addr_config); in vcn_v2_5_start() 991 adev->gfx.config.gb_addr_config); in vcn_v2_5_start()
|
A D | jpeg_v2_0.c | 328 WREG32_SOC15(JPEG, 0, mmJPEG_DEC_GFX10_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in jpeg_v2_0_start()
|
A D | gfx_v10_0.c | 4661 u32 gb_addr_config; in gfx_v10_0_gpu_early_init() local 4674 gb_addr_config = RREG32_SOC15(GC, 0, mmGB_ADDR_CONFIG); in gfx_v10_0_gpu_early_init() 4687 gb_addr_config = RREG32_SOC15(GC, 0, mmGB_ADDR_CONFIG); in gfx_v10_0_gpu_early_init() 4689 1 << REG_GET_FIELD(gb_addr_config, GB_ADDR_CONFIG, NUM_PKRS); in gfx_v10_0_gpu_early_init() 4697 gb_addr_config = CYAN_SKILLFISH_GB_ADDR_CONFIG_GOLDEN; in gfx_v10_0_gpu_early_init() 4704 adev->gfx.config.gb_addr_config = gb_addr_config; in gfx_v10_0_gpu_early_init() 4707 REG_GET_FIELD(adev->gfx.config.gb_addr_config, in gfx_v10_0_gpu_early_init() 4714 REG_GET_FIELD(adev->gfx.config.gb_addr_config, in gfx_v10_0_gpu_early_init() 4717 REG_GET_FIELD(adev->gfx.config.gb_addr_config, in gfx_v10_0_gpu_early_init() 4720 REG_GET_FIELD(adev->gfx.config.gb_addr_config, in gfx_v10_0_gpu_early_init() [all …]
|
A D | vcn_v2_0.c | 374 WREG32_SOC15(UVD, 0, mmUVD_GFX10_ADDR_CONFIG, adev->gfx.config.gb_addr_config); in vcn_v2_0_mc_resume() 470 UVD, 0, mmUVD_GFX10_ADDR_CONFIG), adev->gfx.config.gb_addr_config, 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
|
A D | nv.c | 442 return adev->gfx.config.gb_addr_config; in nv_get_register_value()
|
/linux/drivers/gpu/drm/radeon/ |
A D | ni.c | 880 u32 gb_addr_config = 0; in cayman_gpu_init() local 913 gb_addr_config = CAYMAN_GB_ADDR_CONFIG_GOLDEN; in cayman_gpu_init() 987 gb_addr_config = ARUBA_GB_ADDR_CONFIG_GOLDEN; in cayman_gpu_init() 1114 WREG32(GB_ADDR_CONFIG, gb_addr_config); in cayman_gpu_init() 1115 WREG32(DMIF_ADDR_CONFIG, gb_addr_config); in cayman_gpu_init() 1117 WREG32(DMIF_ADDR_CALC, gb_addr_config); in cayman_gpu_init() 1118 WREG32(HDP_ADDR_CONFIG, gb_addr_config); in cayman_gpu_init() 1121 WREG32(UVD_UDEC_ADDR_CONFIG, gb_addr_config); in cayman_gpu_init() 1122 WREG32(UVD_UDEC_DB_ADDR_CONFIG, gb_addr_config); in cayman_gpu_init() 1123 WREG32(UVD_UDEC_DBW_ADDR_CONFIG, gb_addr_config); in cayman_gpu_init() [all …]
|
A D | evergreen.c | 3136 u32 gb_addr_config; in evergreen_gpu_init() local 3244 gb_addr_config = CEDAR_GB_ADDR_CONFIG_GOLDEN; in evergreen_gpu_init() 3266 gb_addr_config = CEDAR_GB_ADDR_CONFIG_GOLDEN; in evergreen_gpu_init() 3294 gb_addr_config = SUMO_GB_ADDR_CONFIG_GOLDEN; in evergreen_gpu_init() 3451 ((gb_addr_config & 0x30000000) >> 28) << 12; in evergreen_gpu_init() 3499 WREG32(GB_ADDR_CONFIG, gb_addr_config); in evergreen_gpu_init() 3500 WREG32(DMIF_ADDR_CONFIG, gb_addr_config); in evergreen_gpu_init() 3501 WREG32(HDP_ADDR_CONFIG, gb_addr_config); in evergreen_gpu_init() 3502 WREG32(DMA_TILING_CONFIG, gb_addr_config); in evergreen_gpu_init() 3503 WREG32(UVD_UDEC_ADDR_CONFIG, gb_addr_config); in evergreen_gpu_init() [all …]
|
A D | si.c | 3090 u32 gb_addr_config = 0; in si_gpu_init() local 3148 gb_addr_config = VERDE_GB_ADDR_CONFIG_GOLDEN; in si_gpu_init() 3165 gb_addr_config = VERDE_GB_ADDR_CONFIG_GOLDEN; in si_gpu_init() 3218 gb_addr_config &= ~ROW_SIZE_MASK; in si_gpu_init() 3222 gb_addr_config |= ROW_SIZE(0); in si_gpu_init() 3225 gb_addr_config |= ROW_SIZE(1); in si_gpu_init() 3228 gb_addr_config |= ROW_SIZE(2); in si_gpu_init() 3273 WREG32(GB_ADDR_CONFIG, gb_addr_config); in si_gpu_init() 3274 WREG32(DMIF_ADDR_CONFIG, gb_addr_config); in si_gpu_init() 3275 WREG32(DMIF_ADDR_CALC, gb_addr_config); in si_gpu_init() [all …]
|
A D | cik.c | 3170 u32 gb_addr_config = RREG32(GB_ADDR_CONFIG); in cik_gpu_init() local 3192 gb_addr_config = BONAIRE_GB_ADDR_CONFIG_GOLDEN; in cik_gpu_init() 3209 gb_addr_config = HAWAII_GB_ADDR_CONFIG_GOLDEN; in cik_gpu_init() 3279 gb_addr_config &= ~ROW_SIZE_MASK; in cik_gpu_init() 3283 gb_addr_config |= ROW_SIZE(0); in cik_gpu_init() 3286 gb_addr_config |= ROW_SIZE(1); in cik_gpu_init() 3289 gb_addr_config |= ROW_SIZE(2); in cik_gpu_init() 3324 WREG32(GB_ADDR_CONFIG, gb_addr_config); in cik_gpu_init() 3325 WREG32(HDP_ADDR_CONFIG, gb_addr_config); in cik_gpu_init() 3326 WREG32(DMIF_ADDR_CALC, gb_addr_config); in cik_gpu_init() [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
A D | kgd_kfd_interface.h | 164 uint32_t gb_addr_config; member
|
/linux/include/uapi/linux/ |
A D | kfd_ioctl.h | 324 __u32 gb_addr_config; /* from KFD */ member
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_chardev.c | 1163 args->gb_addr_config = config.gb_addr_config; in kfd_ioctl_get_tile_config()
|