Home
last modified time | relevance | path

Searched refs:mec_hpd_size (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Dgfx_v7_0.c2763 size_t mec_hpd_size; in gfx_v7_0_mec_init() local
2771 mec_hpd_size = adev->gfx.mec.num_mec * adev->gfx.mec.num_pipe_per_mec in gfx_v7_0_mec_init()
2774 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v7_0_mec_init()
2786 memset(hpd, 0, mec_hpd_size); in gfx_v7_0_mec_init()
Dgfx_v11_0.c731 size_t mec_hpd_size; in gfx_v11_0_mec_init() local
737 mec_hpd_size = adev->gfx.num_compute_rings * GFX11_MEC_HPD_SIZE; in gfx_v11_0_mec_init()
739 if (mec_hpd_size) { in gfx_v11_0_mec_init()
740 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v11_0_mec_init()
751 memset(hpd, 0, mec_hpd_size); in gfx_v11_0_mec_init()
Dgfx_v9_0.c1772 size_t mec_hpd_size; in gfx_v9_0_mec_init() local
1780 mec_hpd_size = adev->gfx.num_compute_rings * GFX9_MEC_HPD_SIZE; in gfx_v9_0_mec_init()
1781 if (mec_hpd_size) { in gfx_v9_0_mec_init()
1782 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v9_0_mec_init()
1793 memset(hpd, 0, mec_hpd_size); in gfx_v9_0_mec_init()
Dgfx_v8_0.c1333 size_t mec_hpd_size; in gfx_v8_0_mec_init() local
1340 mec_hpd_size = adev->gfx.num_compute_rings * GFX8_MEC_HPD_SIZE; in gfx_v8_0_mec_init()
1341 if (mec_hpd_size) { in gfx_v8_0_mec_init()
1342 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v8_0_mec_init()
1352 memset(hpd, 0, mec_hpd_size); in gfx_v8_0_mec_init()
Dgfx_v10_0.c4295 size_t mec_hpd_size; in gfx_v10_0_mec_init() local
4303 mec_hpd_size = adev->gfx.num_compute_rings * GFX10_MEC_HPD_SIZE; in gfx_v10_0_mec_init()
4305 if (mec_hpd_size) { in gfx_v10_0_mec_init()
4306 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v10_0_mec_init()
4317 memset(hpd, 0, mec_hpd_size); in gfx_v10_0_mec_init()