Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 677052 Details for
Bug 892233
radeon modeset crashes on A4-3400 HD6410D with kernel 3.7.1
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch that works around the division by zero
r600.hack.patch (text/plain), 1.01 KB, created by
Mikko Tiihonen
on 2013-01-11 18:35:43 UTC
(
hide
)
Description:
Patch that works around the division by zero
Filename:
MIME Type:
Creator:
Mikko Tiihonen
Created:
2013-01-11 18:35:43 UTC
Size:
1.01 KB
patch
obsolete
>--- ./vanilla-3.7/drivers/gpu/drm/radeon/r600.c 2013-01-07 23:02:57.029414308 +0200 >+++ ./vanilla-3.7/drivers/gpu/drm/radeon/r600.c.fixed 2013-01-11 20:24:15.464141294 +0200 >@@ -1382,14 +1382,15 @@ > u32 disabled_rb_mask) > { > u32 rendering_pipe_num, rb_num_width, req_rb_num; >- u32 pipe_rb_ratio, pipe_rb_remain; >+ u32 pipe_rb_ratio, pipe_rb_remain, tmp; > u32 data = 0, mask = 1 << (max_rb_num - 1); > unsigned i, j; > >- printk(KERN_INFO "r6xx_remap_render_backend: tiling_pipe_num=%d, max_rb_num=%d, total_max_rb_num=%d, disabled_rb_mask=%d,\n", tiling_pipe_num,max_rb_num,total_max_rb_num,disabled_rb_mask); >- > /* mask out the RBs that don't exist on that asic */ >- disabled_rb_mask |= (0xff << max_rb_num) & 0xff; >+ tmp = disabled_rb_mask | (0xff << max_rb_num) & 0xff; >+ if ((tmp & 0xff) != 0xff) >+ /* only use the formula if it leaves at least one RB available */ >+ disabled_rb_mask = tmp; > > rendering_pipe_num = 1 << tiling_pipe_num; > req_rb_num = total_max_rb_num - r600_count_pipe_bits(disabled_rb_mask);
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 892233
:
673228
| 677052