[Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform

2015-11-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=92738

Michel Dänzer  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Michel Dänzer  ---
Module: Mesa
Branch: master
Commit: 24abbaff9ad177624c2b4906c7d94f5d91ac3cc0
URL:   
http://cgit.freedesktop.org/mesa/mesa/commit/?id=24abbaff9ad177624c2b4906c7d94f5d91ac3cc0

Author: Michel Dänzer 
Date:   Thu Aug 21 18:30:44 2014 +0900

winsys/radeon: Use CPU page size instead of hardcoding 4096 bytes v3

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform

2015-11-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=92738

--- Comment #5 from Heiher  ---
(In reply to Michel Dänzer from comment #3)
> 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!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform

2015-11-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=92738

--- Comment #4 from Heiher  ---
(In reply to Alex Deucher from comment #1)
> 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 :02:00.0: bo 9801e5d76000 va 0x000802
conflict with (bo 9801e5d76800 0x000800 0x000803)
[ 1071.095425] radeon :02:00.0: bo 9801e5d76000 va 0x000802
conflict with (bo 9801e5d76800 0x000800 0x000803)
[ 1073.201289] radeon :02:00.0: bo 9801e5dfac00 va 0x000802
conflict with (bo 9801e5dfbc00 0x000800 0x000803)
[ 1073.213795] radeon :02:00.0: bo 9801e5dfac00 va 0x000802
conflict with (bo 9801e5dfbc00 0x000800 0x000803)
[ 1074.413274] radeon :02:00.0: bo 9801e5d76800 va 0x000802
conflict with (bo 9801e5d74000 0x000800 0x000803)
[ 1074.425699] radeon :02:00.0: bo 9801e5d76800 va 0x000802
conflict with (bo 9801e5d74000 0x000800 0x000803)
[ 1075.634164] radeon :02:00.0: bo 9801fad14c00 va 0x000802
conflict with (bo 9801fad16c00 0x000800 0x000803)
[ 1075.646623] radeon :02:00.0: bo 9801fad14c00 va 0x000802
conflict with (bo 9801fad16c00 0x000800 0x000803)
[ 1076.867784] radeon :02:00.0: bo 9801e5dfbc00 va 0x000802
conflict with (bo 9801e5dfb800 0x000800 0x000803)
[ 1076.880201] radeon :02:00.0: bo 9801e5dfbc00 va 0x000802
conflict with (bo 9801e5dfb800 0x000800 0x000803)
[ 1078.747714] radeon :02:00.0: bo 9801e5df9400 va 0x000802
conflict with (bo 9801e5df8c00 0x000800 0x000803)
[ 1078.760208] radeon :02:00.0: bo 9801e5df9400 va 0x000802
conflict with (bo 9801e5df8c00 0x000800 0x000803)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform

2015-11-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=92738

Michel Dänzer  changed:

   What|Removed |Added

 Attachment #119338|0   |1
is obsolete||

--- Comment #3 from Michel Dänzer  ---
Created attachment 119339
  --> https://bugs.freedesktop.org/attachment.cgi?id=119339=edit
winsys/radeon: Use CPU page size instead of hardcoding 4096

Updated patch which leaves the 4K alignment for the VM range start address.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform

2015-11-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=92738

--- Comment #2 from Michel Dänzer  ---
Created attachment 119338
  --> https://bugs.freedesktop.org/attachment.cgi?id=119338=edit
winsys/radeon: Use CPU page size instead of hardcoding 4096

Does this patch fix it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform

2015-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=92738

--- Comment #1 from Alex Deucher  ---
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform

2015-10-30 Thread bugzilla-dae...@freedesktop.org
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: dri-devel at lists.freedesktop.org
  Reporter: r at hev.cc
QA Contact: dri-devel at lists.freedesktop.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: