OSDN Git Service

drm/amdgpu/gfx7: set USER_SHADER_ARRAY_CONFIG based on disable_cu parameter
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 17 Jun 2016 17:31:34 +0000 (19:31 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:45 +0000 (14:54 -0400)
commit324c614a819a37fbb643528a70139fe313c2ac24
tree630a81e4f769261b96df9da514f74a2d687f70c4
parent6f8941a2308811626edc083c70584837d54e0382
drm/amdgpu/gfx7: 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_v7_0.c