Randon R7 240 doesn't work on 16KiB page size platform
https://bugs.freedesktop.org/show_bug.cgi?id=92738
Bug ID: 92738
Summary: Randon R7 240 doesn't work on 16KiB page size platform
Product: Mesa
Version: git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The radeon gpu that with VM supported doesn't work on >= 4KiB page size platforms. (e.g. Loongson 16k)
It seems we assume that the maximum page size is 4096 in radeon_bomgr_find_va and radeon_bomgr_free_va. I think dynmamic get system page size here would better.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=92738
--- Comment #1 from Alex Deucher <[email protected]> ---
GPU pages are 4k. These functions are dealing with the GPU's virtual address space, not the CPU's. What sort of problem are you seeing?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=92738
--- Comment #2 from Michel Dänzer <[email protected]> --- Created attachment 119338
--> https://bugs.freedesktop.org/attachment.cgi?id=119338&action=edit
winsys/radeon: Use CPU page size instead of hardcoding 4096
Does this patch fix it?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=92738
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #119338|0 |1
is obsolete| |
--- Comment #3 from Michel Dänzer <[email protected]> --- Created attachment 119339
--> https://bugs.freedesktop.org/attachment.cgi?id=119339&action=edit
winsys/radeon: Use CPU page size instead of hardcoding 4096
Updated patch which leaves the 4K alignment for the VM range start address.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=92738
--- Comment #4 from Heiher <[email protected]> ---
(In reply to Alex Deucher from comment #1)
Quoted 2 lines
GPU pages are 4k. These functions are dealing with the GPU's virtual address space, not the CPU's. What sort of problem are you seeing?
dmesg outputs when X server starting:
[ 1071.083005] radeon 0000:02:00.0: bo 98000001e5d76000 va 0x0000000802 conflict with (bo 98000001e5d76800 0x0000000800 0x0000000803) [ 1071.095425] radeon 0000:02:00.0: bo 98000001e5d76000 va 0x0000000802 conflict with (bo 98000001e5d76800 0x0000000800 0x0000000803) [ 1073.201289] radeon 0000:02:00.0: bo 98000001e5dfac00 va 0x0000000802 conflict with (bo 98000001e5dfbc00 0x0000000800 0x0000000803) [ 1073.213795] radeon 0000:02:00.0: bo 98000001e5dfac00 va 0x0000000802 conflict with (bo 98000001e5dfbc00 0x0000000800 0x0000000803) [ 1074.413274] radeon 0000:02:00.0: bo 98000001e5d76800 va 0x0000000802 conflict with (bo 98000001e5d74000 0x0000000800 0x0000000803) [ 1074.425699] radeon 0000:02:00.0: bo 98000001e5d76800 va 0x0000000802 conflict with (bo 98000001e5d74000 0x0000000800 0x0000000803) [ 1075.634164] radeon 0000:02:00.0: bo 98000001fad14c00 va 0x0000000802 conflict with (bo 98000001fad16c00 0x0000000800 0x0000000803) [ 1075.646623] radeon 0000:02:00.0: bo 98000001fad14c00 va 0x0000000802 conflict with (bo 98000001fad16c00 0x0000000800 0x0000000803) [ 1076.867784] radeon 0000:02:00.0: bo 98000001e5dfbc00 va 0x0000000802 conflict with (bo 98000001e5dfb800 0x0000000800 0x0000000803) [ 1076.880201] radeon 0000:02:00.0: bo 98000001e5dfbc00 va 0x0000000802 conflict with (bo 98000001e5dfb800 0x0000000800 0x0000000803) [ 1078.747714] radeon 0000:02:00.0: bo 98000001e5df9400 va 0x0000000802 conflict with (bo 98000001e5df8c00 0x0000000800 0x0000000803) [ 1078.760208] radeon 0000:02:00.0: bo 98000001e5df9400 va 0x0000000802
conflict with (bo 98000001e5df8c00 0x0000000800 0x0000000803)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=92738
--- Comment #5 from Heiher <[email protected]> ---
(In reply to Michel Dänzer from comment #3)
Quoted 4 lines
Created attachment 119339 [details] [review] winsys/radeon: Use CPU page size instead of hardcoding 4096
Updated patch which leaves the 4K alignment for the VM range start address.
I have backport this patch to mesa 10.4.0 and fixed. but i'm not sure the changes in radeon_winsys_bo_from_ptr isn't ok? because buffer_from_ptr missing in mesa 10.4.0. Thanks!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=92738
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #6 from Michel Dänzer <[email protected]> ---
Module: Mesa
Branch: master
Commit: 24abbaff9ad177624c2b4906c7d94f5d91ac3cc0 URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=24abbaff9ad177624c2b4906c7d94f5d91ac3cc0
Author: Michel Dänzer <[email protected]> Date: Thu Aug 21 18:30:44 2014 +0900
winsys/radeon: Use CPU page size instead of hardcoding 4096 bytes v3
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel