nvc0: properly align NVE4_COMPUTE_MP_TEMP_SIZE
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 Jul 2013 08:35:33 +0000 (10:35 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 31 Jul 2013 19:40:38 +0000 (21:40 +0200)
commitef6d5ee9f34bce89c8bb8ff001be4c70a2a5421d
tree1bd203c3cd7112d4b5044115f9500a54f87a89b0
parent5ffa28df4e4cc22481b4ed41c78632f35765f41d
nvc0: properly align NVE4_COMPUTE_MP_TEMP_SIZE

MP_TEMP_SIZE must be aligned to 0x8000, while TEMP_SIZE on NVE4_3D
must be aligned to 0x20000, so perform both alignments to be sure
we allocate enough space (actually the bo will most likely use 128
KiB pages and not aligning to that would be a waste anyway).

Cc: "9.2" mesa-stable@lists.freedesktop.org
src/gallium/drivers/nvc0/nvc0_screen.c
src/gallium/drivers/nvc0/nve4_compute.c