drm/amdgpu/gfx10: new approach to load gfx10 me fw (v4)
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 4 Sep 2017 09:17:39 +0000 (17:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:19:56 +0000 (21:19 -0500)
commit8825af65ffc1d9eb3fafd8841a741c4f5bef88c8
tree3e7ac3654c0c9dcfc29be3d621ce1983a0ce8c40
parent2a00bb13226b05688f90b6fa49c993e2eb8f08aa
drm/amdgpu/gfx10: new approach to load gfx10 me fw (v4)

gfx10 allows to only upload me jumptable while save the whole
me image at gtt memory.

v2: program CP_ME_IC_BASE_CNTL to default value
v3: switch to use amdgpu_bo_create_reserved to create me fw bo
v4: split common code from gfx10 code

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h