drm/amdgpu/gfx8: set USER_SHADER_ARRAY_CONFIG based on disable_cu parameter
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 17 Jun 2016 17:31:35 +0000 (19:31 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:46 +0000 (14:54 -0400)
commit9de06de80e260777c14a0a53ac4326c2d2a5e1eb
treec1b21b874dfc60d6a5ddc4ee8c8c7973d8b5742d
parent324c614a819a37fbb643528a70139fe313c2ac24
drm/amdgpu/gfx8: set USER_SHADER_ARRAY_CONFIG based on disable_cu parameter

v2: do not overwrite register when bitmap is zero

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