real_vram_size 107 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_total_mem_size += adev->gmc.real_vram_size; real_vram_size 433 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c mem_info->local_mem_size_private = adev->gmc.real_vram_size - real_vram_size 437 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c mem_info->local_mem_size_private = adev->gmc.real_vram_size; real_vram_size 150 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c adev->gmc.real_vram_size - reserved_for_pt)) { real_vram_size 316 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c total_vram = adev->gmc.real_vram_size - atomic64_read(&adev->vram_pin_size); real_vram_size 754 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c u64 space_needed = roundup_pow_of_two(adev->gmc.real_vram_size); real_vram_size 325 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c if (adev->gmc.real_vram_size <= (32*1024*1024)) real_vram_size 151 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c if (limit && limit < mc->real_vram_size) real_vram_size 152 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c mc->real_vram_size = limit; real_vram_size 160 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c mc->vram_end, mc->real_vram_size >> 20); real_vram_size 150 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h u64 real_vram_size; real_vram_size 202 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h WARN_ON(gmc->real_vram_size < gmc->visible_vram_size); real_vram_size 204 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h return (gmc->real_vram_size == gmc->visible_vram_size); real_vram_size 585 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c vram_gtt.vram_size = adev->gmc.real_vram_size - real_vram_size 599 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mem.vram.total_heap_size = adev->gmc.real_vram_size; real_vram_size 600 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mem.vram.usable_heap_size = adev->gmc.real_vram_size - real_vram_size 1458 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (adev->gmc.real_vram_size <= AMDGPU_SG_THRESHOLD) real_vram_size 1695 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->gmc.real_vram_size >> PAGE_SHIFT); real_vram_size 1739 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->gmc.real_vram_size - DISCOVERY_TMR_SIZE, real_vram_size 1748 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c (unsigned) (adev->gmc.real_vram_size / (1024 * 1024))); real_vram_size 1879 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c size = adev->gmc.real_vram_size; real_vram_size 48 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c return snprintf(buf, PAGE_SIZE, "%llu\n", adev->gmc.real_vram_size); real_vram_size 618 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c adev->gmc.real_vram_size = adev->gmc.mc_vram_size; real_vram_size 622 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (adev->gmc.visible_vram_size > adev->gmc.real_vram_size) real_vram_size 623 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c adev->gmc.visible_vram_size = adev->gmc.real_vram_size; real_vram_size 683 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if ((adev->gmc.real_vram_size - size) < (8 * 1024 * 1024)) { real_vram_size 331 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c adev->gmc.real_vram_size = RREG32(mmCONFIG_MEMSIZE) * 1024ULL * 1024ULL; real_vram_size 834 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c if ((adev->gmc.real_vram_size - size) < (8 * 1024 * 1024)) real_vram_size 373 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c adev->gmc.real_vram_size = RREG32(mmCONFIG_MEMSIZE) * 1024ULL * 1024ULL; real_vram_size 386 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c adev->gmc.aper_size = adev->gmc.real_vram_size; real_vram_size 392 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if (adev->gmc.visible_vram_size > adev->gmc.real_vram_size) real_vram_size 393 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c adev->gmc.visible_vram_size = adev->gmc.real_vram_size; real_vram_size 954 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if ((adev->gmc.real_vram_size - size) < (8 * 1024 * 1024)) real_vram_size 575 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c adev->gmc.real_vram_size = RREG32(mmCONFIG_MEMSIZE) * 1024ULL * 1024ULL; real_vram_size 588 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c adev->gmc.aper_size = adev->gmc.real_vram_size; real_vram_size 594 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if (adev->gmc.visible_vram_size > adev->gmc.real_vram_size) real_vram_size 595 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c adev->gmc.visible_vram_size = adev->gmc.real_vram_size; real_vram_size 1072 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if ((adev->gmc.real_vram_size - size) < (8 * 1024 * 1024)) real_vram_size 1073 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c adev->gmc.real_vram_size = adev->gmc.mc_vram_size; real_vram_size 1086 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c adev->gmc.aper_size = adev->gmc.real_vram_size; real_vram_size 1091 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->gmc.visible_vram_size > adev->gmc.real_vram_size) real_vram_size 1092 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c adev->gmc.visible_vram_size = adev->gmc.real_vram_size; real_vram_size 1176 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if ((adev->gmc.real_vram_size - size) < (8 * 1024 * 1024)) real_vram_size 4122 drivers/gpu/drm/radeon/cik.c radeon_ttm_set_active_vram_size(rdev, rdev->mc.real_vram_size); real_vram_size 5392 drivers/gpu/drm/radeon/cik.c rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE) * 1024ULL * 1024ULL; real_vram_size 435 drivers/gpu/drm/radeon/cik_sdma.c radeon_ttm_set_active_vram_size(rdev, rdev->mc.real_vram_size); real_vram_size 3756 drivers/gpu/drm/radeon/evergreen.c rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE); real_vram_size 3760 drivers/gpu/drm/radeon/evergreen.c rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE) * 1024ULL * 1024ULL; real_vram_size 1741 drivers/gpu/drm/radeon/ni.c radeon_ttm_set_active_vram_size(rdev, rdev->mc.real_vram_size); real_vram_size 259 drivers/gpu/drm/radeon/ni_dma.c radeon_ttm_set_active_vram_size(rdev, rdev->mc.real_vram_size); real_vram_size 1218 drivers/gpu/drm/radeon/r100.c radeon_ttm_set_active_vram_size(rdev, rdev->mc.real_vram_size); real_vram_size 2788 drivers/gpu/drm/radeon/r100.c rdev->mc.real_vram_size = (((tom >> 16) - (tom & 0xffff) + 1) << 16); real_vram_size 2789 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CONFIG_MEMSIZE, rdev->mc.real_vram_size); real_vram_size 2790 drivers/gpu/drm/radeon/r100.c rdev->mc.mc_vram_size = rdev->mc.real_vram_size; real_vram_size 2792 drivers/gpu/drm/radeon/r100.c rdev->mc.real_vram_size = RREG32(RADEON_CONFIG_MEMSIZE); real_vram_size 2796 drivers/gpu/drm/radeon/r100.c if (rdev->mc.real_vram_size == 0) { real_vram_size 2797 drivers/gpu/drm/radeon/r100.c rdev->mc.real_vram_size = 8192 * 1024; real_vram_size 2798 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CONFIG_MEMSIZE, rdev->mc.real_vram_size); real_vram_size 2806 drivers/gpu/drm/radeon/r100.c if (config_aper_size > rdev->mc.real_vram_size) real_vram_size 2809 drivers/gpu/drm/radeon/r100.c rdev->mc.mc_vram_size = rdev->mc.real_vram_size; real_vram_size 144 drivers/gpu/drm/radeon/r520.c WREG32(R_0000F8_CONFIG_MEMSIZE, rdev->mc.real_vram_size); real_vram_size 1397 drivers/gpu/drm/radeon/r600.c mc->real_vram_size = 0xE0000000; real_vram_size 1406 drivers/gpu/drm/radeon/r600.c mc->real_vram_size = size_bf; real_vram_size 1413 drivers/gpu/drm/radeon/r600.c mc->real_vram_size = size_af; real_vram_size 1421 drivers/gpu/drm/radeon/r600.c mc->vram_end, mc->real_vram_size >> 20); real_vram_size 1473 drivers/gpu/drm/radeon/r600.c rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE); real_vram_size 2774 drivers/gpu/drm/radeon/r600.c radeon_ttm_set_active_vram_size(rdev, rdev->mc.real_vram_size); real_vram_size 181 drivers/gpu/drm/radeon/r600_dma.c radeon_ttm_set_active_vram_size(rdev, rdev->mc.real_vram_size); real_vram_size 690 drivers/gpu/drm/radeon/radeon.h u64 real_vram_size; real_vram_size 573 drivers/gpu/drm/radeon/radeon_device.c mc->real_vram_size = mc->aper_size; real_vram_size 579 drivers/gpu/drm/radeon/radeon_device.c mc->real_vram_size = mc->aper_size; real_vram_size 583 drivers/gpu/drm/radeon/radeon_device.c if (limit && limit < mc->real_vram_size) real_vram_size 584 drivers/gpu/drm/radeon/radeon_device.c mc->real_vram_size = limit; real_vram_size 587 drivers/gpu/drm/radeon/radeon_device.c mc->vram_end, mc->real_vram_size >> 20); real_vram_size 341 drivers/gpu/drm/radeon/radeon_fb.c if (rdev->mc.real_vram_size <= (8*1024*1024)) real_vram_size 344 drivers/gpu/drm/radeon/radeon_fb.c rdev->mc.real_vram_size <= (32*1024*1024)) real_vram_size 112 drivers/gpu/drm/radeon/radeon_object.c rbo->rdev->mc.visible_vram_size < rbo->rdev->mc.real_vram_size) { real_vram_size 485 drivers/gpu/drm/radeon/radeon_object.c u64 real_vram_size = rdev->mc.real_vram_size; real_vram_size 527 drivers/gpu/drm/radeon/radeon_object.c u64 half_vram = real_vram_size >> 1; real_vram_size 148 drivers/gpu/drm/radeon/radeon_ttm.c else if (rbo->rdev->mc.visible_vram_size < rbo->rdev->mc.real_vram_size && real_vram_size 804 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mc.real_vram_size >> PAGE_SHIFT); real_vram_size 828 drivers/gpu/drm/radeon/radeon_ttm.c (unsigned) (rdev->mc.real_vram_size / (1024 * 1024))); real_vram_size 881 drivers/gpu/drm/radeon/rs600.c rdev->mc.real_vram_size = RREG32(RADEON_CONFIG_MEMSIZE); real_vram_size 882 drivers/gpu/drm/radeon/rs600.c rdev->mc.mc_vram_size = rdev->mc.real_vram_size; real_vram_size 159 drivers/gpu/drm/radeon/rs690.c rdev->mc.real_vram_size = RREG32(RADEON_CONFIG_MEMSIZE); real_vram_size 160 drivers/gpu/drm/radeon/rs690.c rdev->mc.mc_vram_size = rdev->mc.real_vram_size; real_vram_size 172 drivers/gpu/drm/radeon/rs690.c (rdev->mc.real_vram_size == (384 * 1024 * 1024))) { real_vram_size 174 drivers/gpu/drm/radeon/rs690.c rdev->mc.real_vram_size -= 128 * 1024 * 1024; real_vram_size 175 drivers/gpu/drm/radeon/rs690.c rdev->mc.mc_vram_size = rdev->mc.real_vram_size; real_vram_size 481 drivers/gpu/drm/radeon/rv515.c WREG32(R_0000F8_CONFIG_MEMSIZE, rdev->mc.real_vram_size); real_vram_size 1613 drivers/gpu/drm/radeon/rv770.c mc->real_vram_size = 0xE0000000; real_vram_size 1622 drivers/gpu/drm/radeon/rv770.c mc->real_vram_size = size_bf; real_vram_size 1629 drivers/gpu/drm/radeon/rv770.c mc->real_vram_size = size_af; real_vram_size 1637 drivers/gpu/drm/radeon/rv770.c mc->vram_end, mc->real_vram_size >> 20); real_vram_size 1682 drivers/gpu/drm/radeon/rv770.c rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE); real_vram_size 3769 drivers/gpu/drm/radeon/si.c radeon_ttm_set_active_vram_size(rdev, rdev->mc.real_vram_size); real_vram_size 4198 drivers/gpu/drm/radeon/si.c mc->real_vram_size = 0xFFC0000000ULL; real_vram_size 4265 drivers/gpu/drm/radeon/si.c rdev->mc.real_vram_size = rdev->mc.mc_vram_size;