[Bug 53490] [bisected] bump map corruption from kernel 3.5

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 31 17:56:43 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53490

--- Comment #12 from Joeri Capens <joeri at capens.net> 2012-09-01 00:56:43 UTC ---
Bit 8 of tile_config (CHANSIZE?) needs to be 1 to make the bumpmap corruption
disappear on my system.

Before 416a2bd274566a6f607a271f524b2dc0b84d9106 this used to be calculated from
the BURSTLENGTH value. My patch reverted to that and while it works it does
indeed look weird.

Patch 416a2bd274566a6f607a271f524b2dc0b84d9106 replaced the calculation with:

rdev->config.evergreen.tile_config |= 0 << 8;

which also looks weird because this operation does nothing. So I guess it must
simply be:

rdev->config.evergreen.tile_config |= 1 << 8;

I don't have a clue what all of this actually means or does to the hardware, it
only seems more logical to me and it fixes the problems I was having.

The value of tile_config is now 0x0122 on my system.

Attaching a new patch.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list