]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: query vram_width from vram_info table
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 10 Dec 2018 23:12:16 +0000 (07:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:16:38 +0000 (21:16 -0500)
commitf7899f04c1ada926876d55976b41afb112f1ed9f
treed5e5e883767f80f4a16b8139adb01ce9bb9d0596
parent944894512f7d30497a74b7d0443855bf5443b28e
drm/amdgpu: query vram_width from vram_info table

Driver will get channel_number and channel_width from
vram_info table, then calculate vram_width by multiply
channel_number by channel_width

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c