All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform
@ 2015-10-30 16:12 bugzilla-daemon
  2015-10-30 17:22 ` bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-10-30 16:12 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 854 bytes --]

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@lists.freedesktop.org
          Reporter: r@hev.cc
        QA Contact: dri-devel@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.

[-- Attachment #1.2: Type: text/html, Size: 2163 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform
  2015-10-30 16:12 [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform bugzilla-daemon
@ 2015-10-30 17:22 ` bugzilla-daemon
  2015-11-02  9:55 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-10-30 17:22 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 327 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92738

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
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.

[-- Attachment #1.2: Type: text/html, Size: 1104 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform
  2015-10-30 16:12 [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform bugzilla-daemon
  2015-10-30 17:22 ` bugzilla-daemon
@ 2015-11-02  9:55 ` bugzilla-daemon
  2015-11-02 10:00 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-11-02  9:55 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 383 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92738

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1474 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform
  2015-10-30 16:12 [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform bugzilla-daemon
  2015-10-30 17:22 ` bugzilla-daemon
  2015-11-02  9:55 ` bugzilla-daemon
@ 2015-11-02 10:00 ` bugzilla-daemon
  2015-11-03  1:10 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-11-02 10:00 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 722 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92738

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #119338|0                           |1
        is obsolete|                            |

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2340 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform
  2015-10-30 16:12 [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-11-02 10:00 ` bugzilla-daemon
@ 2015-11-03  1:10 ` bugzilla-daemon
  2015-11-03  1:33 ` bugzilla-daemon
  2015-11-20  3:21 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-11-03  1:10 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2002 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92738

--- Comment #4 from Heiher <r@hev.cc> ---
(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 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)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform
  2015-10-30 16:12 [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-11-03  1:10 ` bugzilla-daemon
@ 2015-11-03  1:33 ` bugzilla-daemon
  2015-11-20  3:21 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-11-03  1:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 599 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92738

--- Comment #5 from Heiher <r@hev.cc> ---
(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.

[-- Attachment #1.2: Type: text/html, Size: 1814 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform
  2015-10-30 16:12 [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-11-03  1:33 ` bugzilla-daemon
@ 2015-11-20  3:21 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-11-20  3:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92738

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

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

Author: Michel Dänzer <michel.daenzer@amd.com>
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.

[-- Attachment #1.2: Type: text/html, Size: 2520 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-11-20  3:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30 16:12 [Bug 92738] Randon R7 240 doesn't work on 16KiB page size platform bugzilla-daemon
2015-10-30 17:22 ` bugzilla-daemon
2015-11-02  9:55 ` bugzilla-daemon
2015-11-02 10:00 ` bugzilla-daemon
2015-11-03  1:10 ` bugzilla-daemon
2015-11-03  1:33 ` bugzilla-daemon
2015-11-20  3:21 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.