Priority | medium |
---|---|
Bug ID | 72425 |
Assignee | dri-devel@lists.freedesktop.org |
Summary | divide by zero error in radeon_surface.c when opening chrome with WebGL enabled |
Severity | normal |
Classification | Unclassified |
OS | All |
Reporter | crwulff@gmail.com |
Hardware | Other |
Status | NEW |
Version | unspecified |
Component | libdrm |
Product | DRI |
Created attachment 90384 [details]
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.