diff options
| author | 2020-07-28 17:46:00 -0400 | |
|---|---|---|
| committer | 2020-08-04 17:29:28 -0400 | |
| commit | fcbc92e2e1c38b3626aa871caa5124d5341f85bf (patch) | |
| tree | 9e7f98f28037b3e6cfcf4077fd6c2b5af9761d54 /drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | |
| parent | drm/amdgpu: use a define for the memory size of the vga emulator (diff) | |
| download | linux-dev-fcbc92e2e1c38b3626aa871caa5124d5341f85bf.tar.xz linux-dev-fcbc92e2e1c38b3626aa871caa5124d5341f85bf.zip | |
drm/amdgpu: move stolen vga bo from amdgpu to amdgpu.gmc
Since that is where we store the other data related to
the stolen vga memory.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h index 9d58c56f6cfc..ddb64be670c2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h @@ -213,7 +213,8 @@ struct amdgpu_gmc { uint8_t vram_vendor; uint32_t srbm_soft_reset; bool prt_warning; - uint64_t stolen_size; + uint64_t stolen_vga_size; + struct amdgpu_bo *stolen_vga_memory; uint32_t sdpif_register; /* apertures */ u64 shared_aperture_start; |
