Home
last modified time | relevance | path

Searched refs:ngg (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c648 dev_info.prim_buf_gpu_addr = adev->gfx.ngg.buf[NGG_PRIM].gpu_addr; in amdgpu_info_ioctl()
649 dev_info.prim_buf_size = adev->gfx.ngg.buf[NGG_PRIM].size; in amdgpu_info_ioctl()
650 dev_info.pos_buf_gpu_addr = adev->gfx.ngg.buf[NGG_POS].gpu_addr; in amdgpu_info_ioctl()
651 dev_info.pos_buf_size = adev->gfx.ngg.buf[NGG_POS].size; in amdgpu_info_ioctl()
652 dev_info.cntl_sb_buf_gpu_addr = adev->gfx.ngg.buf[NGG_CNTL].gpu_addr; in amdgpu_info_ioctl()
653 dev_info.cntl_sb_buf_size = adev->gfx.ngg.buf[NGG_CNTL].size; in amdgpu_info_ioctl()
654 dev_info.param_buf_gpu_addr = adev->gfx.ngg.buf[NGG_PARAM].gpu_addr; in amdgpu_info_ioctl()
655 dev_info.param_buf_size = adev->gfx.ngg.buf[NGG_PARAM].size; in amdgpu_info_ioctl()
Dgfx_v9_0.c1293 amdgpu_bo_free_kernel(&adev->gfx.ngg.buf[i].bo, in gfx_v9_0_ngg_fini()
1294 &adev->gfx.ngg.buf[i].gpu_addr, in gfx_v9_0_ngg_fini()
1297 memset(&adev->gfx.ngg.buf[0], 0, in gfx_v9_0_ngg_fini()
1300 adev->gfx.ngg.init = false; in gfx_v9_0_ngg_fini()
1309 if (!amdgpu_ngg || adev->gfx.ngg.init == true) in gfx_v9_0_ngg_init()
1313 adev->gfx.ngg.gds_reserve_size = ALIGN(5 * 4, 0x40); in gfx_v9_0_ngg_init()
1314 adev->gds.mem.total_size -= adev->gfx.ngg.gds_reserve_size; in gfx_v9_0_ngg_init()
1315 adev->gds.mem.gfx_partition_size -= adev->gfx.ngg.gds_reserve_size; in gfx_v9_0_ngg_init()
1316 adev->gfx.ngg.gds_reserve_addr = RREG32_SOC15(GC, 0, mmGDS_VMID0_BASE); in gfx_v9_0_ngg_init()
1317 adev->gfx.ngg.gds_reserve_addr += RREG32_SOC15(GC, 0, mmGDS_VMID0_SIZE); in gfx_v9_0_ngg_init()
[all …]
Damdgpu_drv.c424 MODULE_PARM_DESC(ngg, "Next Generation Graphics (1 = enable, 0 = disable(default depending on gfx))…
425 module_param_named(ngg, amdgpu_ngg, int, 0444);
Damdgpu.h951 struct amdgpu_ngg ngg; member