| Summary: | Broken ring info in debugfs | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | DRI | Reporter: | Rafał Miłecki <zajec5> | ||||||||
| Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | medium | ||||||||||
| Version: | unspecified | ||||||||||
| Hardware: | Other | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| i915 platform: | i915 features: | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Rafał Miłecki
2009-11-01 09:11:25 UTC
Created attachment 30893 [details] [review] fix ring info in debugfs on r600+ With this patch applied I get: # cat r600_ring_info CP_STAT 0x800000c1 CP_RB_WPTR 0x0000ade0 CP_RB_RPTR 0x0000add0 262128 free dwords in ring 16 dwords in ring r[44497]=0x10181000 r[44498]=0x00000000 r[44499]=0x000002a0 r[44500]=0xc0016800 r[44501]=0x00000140 r[44502]=0x00000489 r[44503]=0x80000000 r[44504]=0x80000000 r[44505]=0x80000000 r[44506]=0x80000000 r[44507]=0x80000000 r[44508]=0x80000000 r[44509]=0x80000000 r[44510]=0x80000000 r[44511]=0x80000000 r[44512]=0x0901000d r[44513]=0x000dc1ea you can compare this to /broken/ data in bug #24535 comment #6 Created attachment 30901 [details] [review] fix ring info in debugfs on r600+ V2 First version was dumping ring from CP_RB_RPTR + 1 to CP_RB_WPTR + 1 Created attachment 30995 [details] [review] fix ring info in debugfs on r600+ V3 Both: V1 and V2 missed printing actual value of CP_RB_WPTR and CP_RB_RPTR. Now we print that registers and local value of them. Example of debug info with patch V3 applied: CP_STAT 0x800000c1 CP_RB_WPTR 0x000126a0 CP_RB_RPTR 0x000126a0 driver's copy of the CP_RB_WPTR 0x000126a0 driver's copy of the CP_RB_RPTR 0x00012690 262128 free dwords in ring 16 dwords in ring r[75408]=0xc0023200 r[75409]=0x10101000 r[75410]=0x00000000 r[75411]=0x0000028d r[75412]=0xc0016800 r[75413]=0x00000140 r[75414]=0x00000e21 r[75415]=0x80000000 r[75416]=0x80000000 r[75417]=0x80000000 r[75418]=0x80000000 r[75419]=0x80000000 r[75420]=0x80000000 r[75421]=0x80000000 r[75422]=0x80000000 r[75423]=0x80000000 r[75424]=0x0030189a I believe the patch is upstream now (In reply to comment #5) > I believe the patch is upstream now It didn't hit drm-next or drm-radeon-testing, not to mention mainline. But OK, let's keep it resolved, I'll post commit when Dave take this patch to some branch. |
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.