Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 370592 Details for
Bug 501286
media-libs/mesa crashes x11-drivers/xf86-video-ati[glamor] with SIGFPE with large textures (when firefox loads a specific website)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
working patch
gallium_r600_cheight.patch (text/plain), 736 bytes, created by
jospezial
on 2014-02-16 22:01:10 UTC
(
hide
)
Description:
working patch
Filename:
MIME Type:
Creator:
jospezial
Created:
2014-02-16 22:01:10 UTC
Size:
736 bytes
patch
obsolete
>diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c >index a0d527b..8690849 100644 >--- a/src/gallium/drivers/r600/r600_state.c >+++ b/src/gallium/drivers/r600/r600_state.c >@@ -3095,7 +3095,8 @@ static boolean r600_dma_copy_tile(struct r600_context *rctx, > /* It's a r6xx/r7xx limitation, the blit must be on 8 boundary for number > * line in the blit. Compute max 8 line we can copy in the size limit > */ >- cheight = ((0x0000ffff << 2) / pitch) & 0xfffffff8; >+ cheight = ((0x0000ffff << 2) / pitch) > 0x00000008 ? >+ ((0x0000ffff << 2) / pitch) & 0xfffffff8 : ((0x0000ffff << 2) / pitch); > ncopy = (copy_height / cheight) + !!(copy_height % cheight); > r600_need_dma_space(rctx, ncopy * 7); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 501286
:
370578
| 370592