amdgpu: Add a default marketing name if none is found
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Sep 2022 21:19:27 +0000 (17:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Oct 2022 20:19:44 +0000 (16:19 -0400)
commita81b9ab8f3fb6840b36f732c1dd25fe5e0d68d0a
treecb8f4261370ca5df769935c92cd04a4e2eada43f
parent613cc945b36e7ba3ce8de0e42b5057b32bc7c69c
amdgpu: Add a default marketing name if none is found

Apparently quite a few apps use this API to get the GPU
name and end up with NULL as the GPU name.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
amdgpu/amdgpu_device.c