https://bugs.freedesktop.org/show_bug.cgi?id=31400
Summary: [RV740] Mipmapping broken in drm-radeon-next / drm-next Product: DRI Version: DRI CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: liquid.acid@gmx.net
Hey there,
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.
My hardware: 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: 881fe6c1d06bf49f4ab7aef212cdaf66bd059614
drm/radeon/kms: properly compute group_size on 6xx/7xx
Needed for tiled surfaces.
-------------------------------
Link: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commit;h=881...
Looks like tiling_group_size has to be 256 on my hardware.
Greets, Tobias
https://bugs.freedesktop.org/show_bug.cgi?id=31400
--- Comment #1 from Alex Deucher agd5f@yahoo.com 2010-11-08 09:12:41 PST --- Fixed in mesa git master and 7.9. Although, I'm not sure how best to handle backwards compat for old userspace.
https://bugs.freedesktop.org/show_bug.cgi?id=31400
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=31400
--- Comment #2 from Tobias Jakobi liquid.acid@gmx.net 2010-11-09 11:15:37 PST --- 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?
Greets, Tobias
https://bugs.freedesktop.org/show_bug.cgi?id=31400
--- Comment #3 from Alex Deucher agd5f@yahoo.com 2010-11-09 13:10:22 PST --- (In reply to comment #2)
gallium needs to be updated as well, just haven't gotten a chance yet.
https://bugs.freedesktop.org/show_bug.cgi?id=31400
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #4 from Tobias Jakobi liquid.acid@gmx.net 2010-11-09 13:14:34 PST --- OK, no need to hurry. Was just curious and a bit surprised when the bug was suddenly set to RESOLVED/FIXED.
https://bugs.freedesktop.org/show_bug.cgi?id=31400
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #5 from Alex Deucher agd5f@yahoo.com 2010-11-18 10:01:41 PST --- gallium should be fixed now as well with a23f25eba1fb8919a29efb88ef9e351abcc65b2e
dri-devel@lists.freedesktop.org