Revert "radeonsi: get the raster config from AMDGPU on SI"
authorMarek Olšák <marek.olsak@amd.com>
Sun, 27 Aug 2017 20:27:01 +0000 (22:27 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 27 Aug 2017 20:27:23 +0000 (22:27 +0200)
commitd500c9b060e1715e8d3a984d4a5c6f6179f46943
tree1aace0cad1ab7bebe03939e4bb18d60a97da140e
parent9573bd70e1e7e32527d9c40716174c30fcc9720e
Revert "radeonsi: get the raster config from AMDGPU on SI"

This reverts commit fc99cb3c9edee3af773700cf7ebdc60dc02fcaba.

"The performance went down from 64.7 to 51.4 fps in Valley and from 30.8 to
25.1 fps in Heaven on Radeon HD 7970. Other games seem to have also a 10-25%
performance decrease."

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102429

It looks like we can't use the raster config values from the kernel.
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h
src/gallium/drivers/radeonsi/si_state.c