]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx9: simplify and fix GRBM index selection
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 14 Jul 2017 11:00:04 +0000 (13:00 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2017 20:26:22 +0000 (16:26 -0400)
commit576e13830d29158711c69c83ffa7bbfb99d05f83
tree638810f15398c5492a4aa9d83ba6cea4eb716c4c
parent0d04cacfcc152f8dcb92b1341270e72b7fc11f99
drm/amdgpu/gfx9: simplify and fix GRBM index selection

Copy the approach taken by gfx8, which simplifies the code, and set the
instance index properly. The latter is required for debugging, e.g. for
reading wave status by UMR.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c