drm/amdgpu: add init support for GFX11 (v2)
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 13 Apr 2022 18:27:32 +0000 (14:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:54 +0000 (10:43 -0400)
commit3d879e81f0f9ed5d33b5eda0fe5226c884bb8073
treec062cb2a700020565d27a5e2113f964bb8c8755b
parent028c3fb37e705b8fa1448c23c42d1c89f48c07c5
drm/amdgpu: add init support for GFX11 (v2)

Add initial support for GC version 11.  GC is
the graphics and compute block on the GPU.

v1: add initial gfx11 support (Wenhui)
v2: switch to new amdgpu_gfx_is_high_priority_compute_queue
    interface (Hawking)
v3: fix num_mec (Alex)

Signed-off-by: Wenhui Sheng <Wenhui.Sheng@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.h [new file with mode: 0644]