]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amdgpu: query vram type from atombios
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 8 Mar 2018 10:01:24 +0000 (18:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 19:38:26 +0000 (14:38 -0500)
commit1e09b05386f32efbebb798cf0341eca4b424c960
tree2fa7522e6bc223818e37c36c56515cbc9ced01e7
parentbc227cfa444c692fcb0a860c5a9b5f9abb9c2b2b
drm/amdgpu: query vram type from atombios

The vram type for dGPU is stored in umc_info while sys mem type
for APU is stored in integratedsysteminfo

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
include/uapi/drm/amdgpu_drm.h