diff options
| author | Michel Dänzer <[email protected]> | 2018-07-11 10:06:31 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-07-13 19:46:11 +0000 |
| commit | ddc21af4d0f37f42b33c54cb69b215997fe5b082 (patch) | |
| tree | 2864822395009d0302e5fbfeb355eb47704504e4 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/scheduler: modify args of drm_sched_entity_init (diff) | |
| download | kernel-ddc21af4d0f37f42b33c54cb69b215997fe5b082.tar.gz kernel-ddc21af4d0f37f42b33c54cb69b215997fe5b082.zip | |
drm/amdgpu: Keep track of amount of pinned CPU visible VRAM
Instead of CPU invisible VRAM. Preparation for the following, no
functional change intended.
v2:
* Also change amdgpu_vram_mgr_bo_invisible_size to
amdgpu_vram_mgr_bo_visible_size, allowing further simplification
(Christian König)
Cc: [email protected]
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Michel Dänzer <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index b38c170fb95c..51b16de008bb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1590,7 +1590,7 @@ struct amdgpu_device { /* tracking pinned memory */ u64 vram_pin_size; - u64 invisible_pin_size; + u64 visible_pin_size; u64 gart_pin_size; /* amdkfd interface */ |
