diff options
author | Marek Olšák <marek.olsak@amd.com> | 2014-08-07 21:14:31 +0200 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2014-08-11 14:36:24 -0700 |
commit | 629df2fbddc2938116497ec664ab622b0de1a61f (patch) | |
tree | 7a2d6fbd2c5580b0ba4f3371ec269a9820ab116a /src/gallium/tests/python/tests | |
parent | 22ec7df0d7687eb7db72ac2a004b21d4cb35ec7b (diff) |
radeonsi: fix CMASK and HTILE allocation on Tahiti
Tahiti has 12 tile pipes, but P8 pipe config.
It looks like there is no way to get the pipe config except for reading
GB_TILE_MODE. The TILING_CONFIG ioctl doesn't return more than 8 pipes,
so we can't use that for Hawaii.
This fixes a regression caused by fcb6c0d2b8cb36c3d1b7cbbf3437aeb65a808682
(cherry picked from 9b046474c95f15338d4c748df9b62871bba6f36f as part of
Mesa 10.2.5) on Tahiti.
v2: add an assertion and print an error on failure
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
(cherry picked from commit 955505f6ff1c8bba7eb142200d3bd065eb4d2297)
Diffstat (limited to 'src/gallium/tests/python/tests')
0 files changed, 0 insertions, 0 deletions