[PATCH 2/2] drm/radeon/kms/blit: workaround for a possible hardware bug

Michel Dänzer michel at daenzer.net
Wed Feb 1 09:54:49 PST 2012


On Mit, 2012-02-01 at 11:42 -0500, Ilija Hadzic wrote: 
> If a blit copy operation specifies a rectangle whose one dimension
> is 16384 (max allowed by these chips), the chip will silently
> drop all commands.

What exactly does 'silently drop all commands' mean?

Did you notice the following in i2f():

                fraction = (input & 0x3fff) << 10; /* cheat and only
                                                      handle numbers below 2^^15 */

I suspect that should say 2^14, as 16384 == 0x4000, which results in 0
for the above assignment.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the dri-devel mailing list