drm/amdgpu: both support PCO FP5/AM4 rlc fw
authorAaron Liu <aaron.liu@amd.com>
Wed, 5 Dec 2018 03:07:55 +0000 (11:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Dec 2018 22:53:13 +0000 (17:53 -0500)
commitc50fe0c5b174153669fd437c1c5fde724b3bc7f4
treee4cebdd1cf3ff010e9f24e15d61e9d9637862053
parent34c08da2097abe99cdc4757194f10a0c51148ce3
drm/amdgpu: both support PCO FP5/AM4 rlc fw

For Picasso && AM4 SOCKET board, we use picasso_rlc_am4.bin
For Picasso && FP5 SOCKET board, we use picasso_rlc.bin

Judgment method:
PCO AM4: revision >= 0xC8 && revision <= 0xCF
         or revision >= 0xD8 && revision <= 0xDF
otherwise is PCO FP5

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c