diff options
author | Ken Wang <Qingqing.Wang@amd.com> | 2015-06-03 09:02:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-03 21:04:04 -0400 |
commit | 81c59f54125f9ff84546b6ba26c321662562703d (patch) | |
tree | 5155dcf6e4f917f073d401342b412691e9757383 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 71062f435eaf0ff7867a1188e5c7887b0a5871ff (diff) |
drm/amdgpu: add vram_type and vram_bit_width for interface query (v2)
Track the type of vram on the board and provide a query for it.
User mode drivers and tools want this information for determining
bandwidth information and form informational purposes.
v2: fix build when CI support is not enabled
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
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 4bdc3265b410..149b76913091 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -767,7 +767,7 @@ struct amdgpu_mc { | |||
767 | const struct firmware *fw; /* MC firmware */ | 767 | const struct firmware *fw; /* MC firmware */ |
768 | uint32_t fw_version; | 768 | uint32_t fw_version; |
769 | struct amdgpu_irq_src vm_fault; | 769 | struct amdgpu_irq_src vm_fault; |
770 | bool is_gddr5; | 770 | uint32_t vram_type; |
771 | }; | 771 | }; |
772 | 772 | ||
773 | /* | 773 | /* |