drm/amdgpu: parse the gpu_info firmware (v4)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Apr 2017 20:58:01 +0000 (16:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:39:36 +0000 (17:39 -0400)
commite2a75f88c3ad4b895b58d4abd877de827a12072f
tree6c8ebcd099a7ce53e00df520f34d3b95df247e22
parent8ae1a33648969531d93008dda508f1715f1fdbf0
drm/amdgpu: parse the gpu_info firmware (v4)

And populate the gfx structures from it.

v2: update the structures updated by the table
v3: rework based on new table structure
v4: simplify things

Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Tested-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c