]> 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:38:15 +0000 (16:38 -0400)
commit2895bdc52267d36c6c24eab604153da4d49f838c
tree0efd39f2a2ba07aca8b4554ffa3962e89027dd46
parente94f2a7a88f7e374518e9436d0055cbf3a52e898
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