Home
last modified time | relevance | path

Searched refs:num_gpu_pages (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_gart.c179 for (i = 0; i < rdev->gart.num_gpu_pages; i++) in radeon_gart_table_vram_pin()
348 rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; in radeon_gart_init()
350 rdev->gart.num_cpu_pages, rdev->gart.num_gpu_pages); in radeon_gart_init()
359 rdev->gart.num_gpu_pages)); in radeon_gart_init()
365 for (i = 0; i < rdev->gart.num_gpu_pages; i++) in radeon_gart_init()
Drv770_dma.c44 unsigned num_gpu_pages, in rv770_copy_dma() argument
57 size_in_dw = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT) / 4; in rv770_copy_dma()
Devergreen_dma.c109 unsigned num_gpu_pages, in evergreen_copy_dma() argument
122 size_in_dw = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT) / 4; in evergreen_copy_dma()
Dradeon_asic.h88 unsigned num_gpu_pages,
159 unsigned num_gpu_pages,
348 unsigned num_gpu_pages,
352 unsigned num_gpu_pages,
473 unsigned num_gpu_pages,
547 unsigned num_gpu_pages,
726 unsigned num_gpu_pages,
797 unsigned num_gpu_pages,
801 unsigned num_gpu_pages,
Dsi_dma.c232 unsigned num_gpu_pages, in si_copy_dma() argument
245 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in si_copy_dma()
Dr600_dma.c445 unsigned num_gpu_pages, in r600_copy_dma() argument
458 size_in_dw = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT) / 4; in r600_copy_dma()
Dr200.c86 unsigned num_gpu_pages, in r200_copy_dma() argument
97 size = num_gpu_pages << RADEON_GPU_PAGE_SHIFT; in r200_copy_dma()
Dcik_sdma.c580 unsigned num_gpu_pages, in cik_copy_dma() argument
593 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in cik_copy_dma()
Dr100.c663 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in r100_pci_gart_init()
903 unsigned num_gpu_pages, in r100_copy_blit() argument
921 num_loops = DIV_ROUND_UP(num_gpu_pages, 8191); in r100_copy_blit()
930 while (num_gpu_pages > 0) { in r100_copy_blit()
931 cur_pages = num_gpu_pages; in r100_copy_blit()
935 num_gpu_pages -= cur_pages; in r100_copy_blit()
957 radeon_ring_write(ring, num_gpu_pages); in r100_copy_blit()
958 radeon_ring_write(ring, num_gpu_pages); in r100_copy_blit()
Drs400.c106 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in rs400_gart_init()
Dradeon.h647 unsigned num_gpu_pages; member
1943 unsigned num_gpu_pages,
1949 unsigned num_gpu_pages,
1956 unsigned num_gpu_pages,
Drs600.c559 rdev->gart.table_size = rdev->gart.num_gpu_pages * 8; in rs600_gart_init()
Dr300.c144 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in rv370_pcie_gart_init()
Dr600.c1124 rdev->gart.table_size = rdev->gart.num_gpu_pages * 8; in r600_pcie_gart_init()
2966 unsigned num_gpu_pages, in r600_copy_cpdma() argument
2979 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in r600_copy_cpdma()
Dcik.c3647 unsigned num_gpu_pages, in cik_copy_cpdma() argument
3660 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in cik_copy_cpdma()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c296 adev->gart.num_gpu_pages = adev->gmc.gart_size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_init()
298 adev->gart.num_cpu_pages, adev->gart.num_gpu_pages); in amdgpu_gart_init()
Damdgpu_gart.h46 unsigned num_gpu_pages; member
Dgmc_v11_0.c724 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v11_0_gart_init()
Dgmc_v6_0.c573 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v6_0_gart_init()
Dgmc_v10_0.c876 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v10_0_gart_init()
Dgmc_v7_0.c728 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v7_0_gart_init()
Dgmc_v9_0.c1528 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v9_0_gart_init()
Dgmc_v8_0.c968 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v8_0_gart_init()