I already partially explained this in bug #31046.
With a recent drm-radeon-next or also drm-next the mipmaps are broken with both r600c and r600g.
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 4770 [RV740]
libdrm, xf86-video-ati and mesa are all git master tip.
Today I found some time to bisect drm-next and this commit introduces the mipmap issue:
drm/radeon/kms: properly compute group_size on 6xx/7xx
Needed for tiled surfaces.
Looks like tiling_group_size has to be 256 on my hardware.
Fixed in mesa git master and 7.9. Although, I'm not sure how best to handle backwards compat for old userspace.
Thanks for fixing this. Although I noticed that your patch only seems to touch r600 classic, while I also noticed lots of mipmap rendering errors with the gallium driver. Or are the r600g issues a separate problem?
(In reply to comment #2)
> Thanks for fixing this. Although I noticed that your patch only seems to touch
> r600 classic, while I also noticed lots of mipmap rendering errors with the
> gallium driver. Or are the r600g issues a separate problem?
gallium needs to be updated as well, just haven't gotten a chance yet.
OK, no need to hurry. Was just curious and a bit surprised when the bug was suddenly set to RESOLVED/FIXED.
gallium should be fixed now as well with a23f25eba1fb8919a29efb88ef9e351abcc65b2e