OSDN Git Service

drm/radeon: fix render backend setup for SI and CIK
authorMarek Olšák <marek.olsak@amd.com>
Sun, 22 Dec 2013 01:18:00 +0000 (02:18 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Dec 2013 15:03:42 +0000 (10:03 -0500)
commit9fadb352ed73edd7801a280b552d33a6040c8721
tree6b929ae350635634570b41c7119783b26efe547e
parentd00adcc8ae9e22eca9d8af5f66c59ad9a74c90ec
drm/radeon: fix render backend setup for SI and CIK

Only the render backends of the first shader engine were enabled. The others
were erroneously disabled. Enabling the other render backends improves
performance a lot.

Unigine Sanctuary on Bonaire:
  Before: 15 fps
  After:  90 fps

Judging from the fan noise, the GPU was also underclocked when the other
render backends were disabled, resulting in horrible performance. The fan is
a lot noisy under load now.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/si.c