divide by zero error in radeon_surface.c when opening chrome with WebGL enabled
Submitted by Chris Wulff
Assigned to Default DRI bug account
Description
Created attachment 90384 Fix divide by zero in radeon_surface
Passing a tile_split of zero to eg_surface_init_2d causes a divide by zero error. Launching chromium with WebGL enabled on a AMD Llano (A8-3850) exhibits this behavior and webgl then fails to work. The attached patch fixes the problem and allows WebGL to work in chrome on this platform.
Attachment 90384, "Fix divide by zero in radeon_surface":
02_fix_divide_zero.diff