drm/amdgpu: change vram width algorithm for vram_info v3_0
authorLikun Gao <Likun.Gao@amd.com>
Wed, 3 Aug 2022 04:16:35 +0000 (12:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2022 18:59:04 +0000 (14:59 -0400)
commit4a0a2cf4c03ba49a4c2596c49c7daa719917d509
tree251bb162070dbdcdd37b4056f8dc119900332628
parent1ac354beecfd58e769fb5373d6b2ac87bce9e1e4
drm/amdgpu: change vram width algorithm for vram_info v3_0

Update the vram width algorithm for vram_info v3_0 to align with the
changes of latest IFWI.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.19.x
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c