drm/amdgpu/gfx10: new approach to load ce fw (v4)
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 4 Sep 2017 09:14:47 +0000 (17:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:19:52 +0000 (21:19 -0500)
commit2a00bb13226b05688f90b6fa49c993e2eb8f08aa
treeb7bd22d83e2ea49c6c6af1375657a21cc13db4fd
parent068ed934ee57186ef3818f30942e46b78fa67881
drm/amdgpu/gfx10: new approach to load ce fw (v4)

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

v2: program CP_CE_IC_BASE_CNTL to default value
v3: switch to use amdgpu_bo_create_reserved to create ce 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