amdgpu: add the function to get the marketing name (v4)
authorJunwei Zhang <Jerry.Zhang@amd.com>
Mon, 12 Sep 2016 15:14:11 +0000 (11:14 -0400)
committerMichel Dänzer <michel@daenzer.net>
Mon, 7 Nov 2016 08:44:27 +0000 (17:44 +0900)
commit670f1e4fdadc197599cdc61d3104f8c27234765e
tree953a0a9e5d0fb78ee2ca7a09f01e7272dce76299
parente9eb44b45b8d4a2f06ef83365b28eca55c0f3fb4
amdgpu: add the function to get the marketing name (v4)

This function is used to look up the marking name
for a specific board.

v2: agd: Squash in subsequent updates to the table.
v3: [Michel Dänzer]
* Make amdgpu_asic_id_table static, so it's not exported from
  libdrm_amdgpu.so.1
* Add amdgpu_get_marketing_name to amdgpu-symbols-check
* Fix indentation of second line of if statement
* Squash in another change removing redundant entries
* Change spelling of "RADEON" -> "Radeon"
* Remove "(TM)" from a minority of entries
v4: [Michel Dänzer]
* Use const char* instead of fixed size array for marketing_name (Emil
  Velikov)

Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Flora Cui <Flora.Cui@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
amdgpu/amdgpu-symbol-check
amdgpu/amdgpu.h
amdgpu/amdgpu_asic_id.h [new file with mode: 0644]
amdgpu/amdgpu_device.c