drm/amdgpu: Show vram vendor only if available
authorLijo Lazar <lijo.lazar@amd.com>
Sat, 20 Jan 2024 08:18:09 +0000 (13:48 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jan 2024 20:44:11 +0000 (15:44 -0500)
commit89a7c0bd74918f723c94c10452265e25063cba9b
tree22d23268203a46b1f3b2c00d24a05262dc19720e
parent30269954745c6cac730352829ac9850918457440
drm/amdgpu: Show vram vendor only if available

Ony if vram vendor info is available, show in sysfs.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.7.x
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c