]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: add vram_type and vram_bit_width for interface query (v2)
authorKen Wang <Qingqing.Wang@amd.com>
Wed, 3 Jun 2015 13:02:01 +0000 (21:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:04:04 +0000 (21:04 -0400)
commit81c59f54125f9ff84546b6ba26c321662562703d
tree5155dcf6e4f917f073d401342b412691e9757383
parent71062f435eaf0ff7867a1188e5c7887b0a5871ff
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/cikd.h
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/vid.h
include/uapi/drm/amdgpu_drm.h