new patch up.
Announcement
Collapse
No announcement yet.
Radeon Page-Flipping Patches Come About
Collapse
X
-
The good news is that it now passes the width test (both 1680), the bad news is that I'm now back to having a corrupted image . So they must have a different stride and pitch. And just like before it works again after using xrandr to switch to a different resolution and then back.
Comment
-
Okay I think I found the inconsistency with regard to stride after xrandr resize. I think the initial stride of 1792 is correct, and the 1728 after xrandr not.
In drmmode_xf86crtc_resize:
Code:pitch = RADEON_ALIGN(width, drmmode_get_pitch_align(scrn, cpp, tiling_flags) / cpp);
Code:pitch = RADEON_ALIGN(width, drmmode_get_pitch_align(scrn, cpp, tiling_flags));
Btw There's also some pitch calculation code in RADEONSetPitch, maybe can be unified as well.
Comment
-
Btw, are you testing with drm-next on top of 2.6.36? There's some regression there that leads to corrupted textures in at least Nexuiz, unrelated to color tiling or page flipping. git bisecting it here atm, sevenish iterations to go but kinda slow.
Comment
-
Ok, I think I fixed all the allocations. new commit to xf86-video-ati master and udpated ddx patches:
Comment
-
Originally posted by agd5f View PostOk, I think I fixed all the allocations. new commit to xf86-video-ati master and udpated ddx patches:
http://people.freedesktop.org/~agd5f/pflip/## VGA ##
AMD: X1950XTX, HD3870, HD5870
Intel: GMA45, HD3000 (Core i5 2500K)
Comment
Comment