drm/amdgpu: change vram width algorithm for vram_info v3_0

commit 4a0a2cf4c0 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Likun Gao 2022-08-03 12:16:35 +08:00 • committed by Greg Kroah-Hartman
commit 119ac4818a