drm/amdgpu: refine gprs init shaders to check coverage
authorDennis Li <Dennis.Li@amd.com>
Wed, 21 Apr 2021 04:50:22 +0000 (12:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Apr 2021 21:15:21 +0000 (17:15 -0400)
commit6effe779726738ea06ba4454e127ab953ce3848c
tree3829c20579834b8841d24aedd2c6be4c124bdbce
parent3bffd71debc68feb571bf6e81be286675acbb972
drm/amdgpu: refine gprs init shaders to check coverage

Add codes to check whether all SIMDs are covered, make sure that all
GPRs are initialized.

Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.h