summaryrefslogtreecommitdiff
path: root/nouveau/pushbuf.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-12-10 12:38:26 -0500
committerAlex Deucher <alexander.deucher@amd.com>2013-12-24 15:17:06 -0500
commit1543c96e154d6801cf725c3b511d61604a378e03 (patch)
tree022a2f2dc56bdd4cb983f4ed16b98c1517ea7187 /nouveau/pushbuf.c
parent068ea68b3f7ebd5efcfcc2f6ae417651423c8382 (diff)
radeon: avoid possible divide by 0 in surface manager
Some users report hitting a divide by 0 with the tile split in certain apps. Tile_split shouldn't ever be 0 unless the surface structure was not properly initialized. I think there may be some cases where mesa uses an improperly initialized surface struct, but I haven't had time to track it down. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=72425 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'nouveau/pushbuf.c')
0 files changed, 0 insertions, 0 deletions