]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: nuke dynamic gfx scratch reg allocation
authorChristian König <christian.koenig@amd.com>
Thu, 5 May 2022 09:03:51 +0000 (11:03 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 May 2022 20:57:21 +0000 (16:57 -0400)
commitbde6ea3345fea70376aec6bbfe9db90727c0d0d3
tree99abd972695ff3e4e4f675e20ae2e1121fdb2d94
parent53778fc49c4c051dc9f95595636406e6085c4367
drm/amdgpu: nuke dynamic gfx scratch reg allocation

It's over a decade ago that this was actually used for more than ring and
IB tests. Just use the static register directly where needed and nuke the
now useless infrastructure.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Lang Yu <Lang.Yu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c