[PATCH] radeon: avoid possible divide by 0 in surface manager
Michel Dänzer
michel at daenzer.net
Tue Dec 10 16:39:31 PST 2013
On Die, 2013-12-10 at 12:42 -0500, Alex Deucher wrote:
> 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.
It would be good to know where the bogus tile split is coming from
though — who knows what else might be wrong in that case?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the dri-devel
mailing list