Re: [Nouveau] [PATCH v3 0/2] drm: nouveau: memory coherency for ARM

2014-07-03 Thread Alexandre Courbot
While this series is more correct from the DMA API point of view, it is also much heavier as it strictly disables the use of any cache on all user-space mapped BOs, and is also much more restricted in terms of which memory it can use. I have a v4 in the works that lets us use TTM for user-mapped o

[Nouveau] [PATCH] drm: default scaling to NONE for external connectors

2014-07-03 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- Based on a recent discussion in #radeon, and also my own observation that the 'full' scaling causes no end of confusion among users. See https://bugs.freedesktop.org/show_bug.cgi?id=80868 for some more details, although it is more radeon-specific. Side-note: the s

[Nouveau] [PATCH v3 1/2] nv50/ir: Add support for the double Type to BuildUtil

2014-07-03 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- .../drivers/nouveau/codegen/nv50_ir_build_util.cpp | 17 + .../drivers/nouveau/codegen/nv50_ir_build_util.h| 2 ++ 2 files changed, 19 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp b/src/ga

[Nouveau] [PATCH v3 2/2] nv50/ir: Handle OP_CVT when folding constant expressions

2014-07-03 Thread Tobias Klausmann
Folding for conversions: F32/64->(U16/32, S16/32) and (U16/32, S16/32)->F32 No piglit regressions observed on nv50 and nvc0! Signed-off-by: Tobias Klausmann --- .../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 74 ++ 1 file changed, 74 insertions(+) diff --git a/src/gall

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
On 2014/7/3 11:20, Ilia Mirkin wrote: > Hello, > > A user (cc'd) reported that nouveau's enabling of MSI causes the card > to not work on his setup [1]. I think the situation is that MSI is > just not supported by the underlying motherboard, even though the > card, and probably bridge, support it

[Nouveau] [Bug 80865] Hard hang (GPC0/TPC0/MP trap: MULTIPLE_WARP_ERRORS MEM_OUT_OF_BOUNDS)

2014-07-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80865 Aaron Plattner changed: What|Removed |Added Assignee|aplatt...@nvidia.com|nouveau@lists.freedesktop.o

[Nouveau] [Bug 80865] [NVE7] Hard hang (GPC0/TPC0/MP trap: MULTIPLE_WARP_ERRORS MEM_OUT_OF_BOUNDS)

2014-07-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80865 Ilia Mirkin changed: What|Removed |Added Summary|Hard hang (GPC0/TPC0/MP |[NVE7] Hard hang |trap:

Re: [Nouveau] [PATCH] drm: default scaling to NONE for external connectors

2014-07-03 Thread Ben Skeggs
On Fri, Jul 4, 2014 at 5:27 AM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > > Based on a recent discussion in #radeon, and also my own observation that the > 'full' scaling causes no end of confusion among users. > > See https://bugs.freedesktop.org/show_bug.cgi?id=80868 for some more

Re: [Nouveau] [PATCH] drm: default scaling to NONE for external connectors

2014-07-03 Thread Ilia Mirkin
On Thu, Jul 3, 2014 at 8:27 PM, Ben Skeggs wrote: > On Fri, Jul 4, 2014 at 5:27 AM, Ilia Mirkin wrote: >> Signed-off-by: Ilia Mirkin >> --- >> >> Based on a recent discussion in #radeon, and also my own observation that the >> 'full' scaling causes no end of confusion among users. >> >> See http

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
Hi Brian, From your 01:00.0 VGA compatible controller PCI config register, it supports 1 MSI vector, so I think this card has no problem. But you didn't answer what's the pci_enable_msi() return during it enable MSI fail. You can check PCI bus whether support MSI like: cat /sys/bus/pci/devic

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Ilia Mirkin
On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: > Hi Brian, >From your 01:00.0 VGA compatible controller PCI config register, it > supports 1 MSI vector, so I think this > card has no problem. But you didn't answer what's the pci_enable_msi() return > during it enable MSI fail. > > You c

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
On 2014/7/4 10:43, Ilia Mirkin wrote: > On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: >> Hi Brian, >>From your 01:00.0 VGA compatible controller PCI config register, it >> supports 1 MSI vector, so I think this >> card has no problem. But you didn't answer what's the pci_enable_msi() >

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
On 2014/7/4 10:45, Brian Becker wrote: > Yijing, > > cat /sys/bus/pci/devices/\:00\:0e.0/msi_bus returns 1, suggesting > that it supports MSI. However, this "00:0e.0 PCI bridge: PLX > Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)" > is a component of the addin card. Would

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Ilia Mirkin
On Thu, Jul 3, 2014 at 11:09 PM, Yijing Wang wrote: > On 2014/7/4 10:43, Ilia Mirkin wrote: >> On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: >>> Hi Brian, >>>From your 01:00.0 VGA compatible controller PCI config register, it >>> supports 1 MSI vector, so I think this >>> card has no p

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
On 2014/7/4 11:30, Ilia Mirkin wrote: > On Thu, Jul 3, 2014 at 11:09 PM, Yijing Wang wrote: >> On 2014/7/4 10:43, Ilia Mirkin wrote: >>> On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: Hi Brian, From your 01:00.0 VGA compatible controller PCI config register, it supports 1

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Ilia Mirkin
On Thu, Jul 3, 2014 at 11:56 PM, Yijing Wang wrote: > On 2014/7/4 11:30, Ilia Mirkin wrote: >> On Thu, Jul 3, 2014 at 11:09 PM, Yijing Wang wrote: >>> On 2014/7/4 10:43, Ilia Mirkin wrote: On Thu, Jul 3, 2014 at 10:35 PM, Yijing Wang wrote: > Hi Brian, >From your 01:00.0 VGA com

Re: [Nouveau] How to check for proper MSI support?

2014-07-03 Thread Yijing Wang
>>> There is a NVIDIA G96 GPU (which is PCIe only) hanging off of a PCIe >>> <-> PCI bridge (all on one card), which is plugged into a motherboard >>> with the 430FX chipset (PCI 2.0 supported). >>> >>> The GPU PCI device, of course, has full support for MSI. However my >>> understanding is that MS