| Summary: | wrong amount of offscreen memory w/ accel | ||||||
|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | Thomas Winischhofer <thomas> | ||||
| Component: | Driver/Radeon | Assignee: | Xorg Project Team <xorg-team> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | high | CC: | eric, mharris | ||||
| Version: | git | ||||||
| Hardware: | x86 (IA32) | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| i915 platform: | i915 features: | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1690 | ||||||
| Attachments: |
|
||||||
|
Description
Thomas Winischhofer
2004-08-16 17:38:26 UTC
*** Bug 1196 has been marked as a duplicate of this bug. *** Has this been fixed in CVS?
The code now looks like this:
tex_bytepp = PICT_FORMAT_BPP(format) >> 3;
dst_pitch = (width * tex_bytepp + 63) & ~63;
size = dst_pitch * height;
AllocateLinear(pScrn, size)
--(sizeNeeded=size)-->
xf86AllocateOffscreenLinear(pScrn->pScreen, sizeNeeded, 32, NULL,
RemoveLinear, info);
Created attachment 3737 [details] [review] Proposed fix. Please review and/or test with XAA. Look for RENDER regressions (or possibly even improvements :). Comment on attachment 3737 [details] [review] Proposed fix. looks obviously correct to me. Comment on attachment 3737 [details] [review] Proposed fix. approved, i'll check this in. fixed, thanks |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.