[Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

2012-08-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 Andreas Boll changed: What|Removed |Added AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.

[bisected] nouveau: "Failed to idle channel x" after resume

2012-08-13 Thread Maxim Levitsky
On Mon, 2012-08-13 at 18:22 +0200, Sven Joachim wrote: > On 2012-08-08 08:18 +0200, Sven Joachim wrote: > > > On 2012-08-08 08:08 +0200, Ben Skeggs wrote: > > > >> On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: > >>> Not for me on my GeForce 8500 GT, and I still cannot suspend more

[Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

2012-08-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 --- Comment #5 from maximlevit...@gmail.com 2012-08-14 04:51:48 UTC --- This still happens on nouveau, despite OpenGL 3.0 advertised. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail

[PATCH 7/7] drm/i915: Merge FDI RX reg writes during training

2012-08-13 Thread Keith Packard
Need to turn on the error correction when enabling training or it might not get enabled in time. This seems to fix the FDI-B/FDI-C link training problem. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_display.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) di

[PATCH 6/7] drm/i915: Disable FDI RX before FDI TX

2012-08-13 Thread Keith Packard
Doesn't make sense to disable in the other order. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_display.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index b099a17..754

[PATCH 3/7] drm/i915: Delay between FDI link training tries. Clear FDI_RX_IIR before training

2012-08-13 Thread Keith Packard
Just a bit of cleanup; it appears to have no effect. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_display.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 7106807..952

[PATCH 1/7] drm/i915: Allow VGA on CRTC 2

2012-08-13 Thread Keith Packard
This is left over from the old PLL sharing code and isn't useful now that PLLs are shared when possible. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_crt.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i91

[PATCH 2/7] drm/i915: FDI B/C share 4 lanes on Ivybridge

2012-08-13 Thread Keith Packard
IVB shares 4 lanes between FDI B and FDI C. When sharing, compute the maximum BPC based on the available bandwidth. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_display.c | 101 +++--- 1 file changed, 94 insertions(+), 7 deletions(-) diff --git a/driv

[PATCH 5/7] drm/i915: Pipe-C only configurations would not get SR

2012-08-13 Thread Keith Packard
These should probably all look like enabled |= (1 << pipe) so that the intent is clear... Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel

[PATCH 0/7] drm/i915: IVB FDI B/C fixes and misc cleanups

2012-08-13 Thread Keith Packard
This is the complete set of patches that yield a working 3-pipe mode setting configuration on my test machines. It does not make DPMS work, so I still need to figure that out. As the DPMS paths are almost entirely different from mode setting (whose crazy idea was that, anyway?), that may take a bit

[PATCH 4/7] drm/i915: Check display_bpc against max_fdi_bpp after display_bpc is set

2012-08-13 Thread Keith Packard
display_bpc might not have been set before comparing with the requested mode, so wait until afterwards before comparing with the supported fdi bandwidth. Not a significant change as any case that mattered would have worked; this just makes the debug messages look nicer. Signed-off-by: Keith Packar

[PATCH 7/7] drm/i915: Merge FDI RX reg writes during training

2012-08-13 Thread Keith Packard
Need to turn on the error correction when enabling training or it might not get enabled in time. This seems to fix the FDI-B/FDI-C link training problem. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_display.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) di

[PATCH 6/7] drm/i915: Disable FDI RX before FDI TX

2012-08-13 Thread Keith Packard
Doesn't make sense to disable in the other order. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_display.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index b099a17..754

[PATCH 5/7] drm/i915: Pipe-C only configurations would not get SR

2012-08-13 Thread Keith Packard
These should probably all look like enabled |= (1 << pipe) so that the intent is clear... Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel

[PATCH 4/7] drm/i915: Check display_bpc against max_fdi_bpp after display_bpc is set

2012-08-13 Thread Keith Packard
display_bpc might not have been set before comparing with the requested mode, so wait until afterwards before comparing with the supported fdi bandwidth. Not a significant change as any case that mattered would have worked; this just makes the debug messages look nicer. Signed-off-by: Keith Packar

[PATCH 3/7] drm/i915: Delay between FDI link training tries. Clear FDI_RX_IIR before training

2012-08-13 Thread Keith Packard
Just a bit of cleanup; it appears to have no effect. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_display.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 7106807..952

[PATCH 2/7] drm/i915: FDI B/C share 4 lanes on Ivybridge

2012-08-13 Thread Keith Packard
IVB shares 4 lanes between FDI B and FDI C. When sharing, compute the maximum BPC based on the available bandwidth. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_display.c | 101 +++--- 1 file changed, 94 insertions(+), 7 deletions(-) diff --git a/driv

[PATCH 1/7] drm/i915: Allow VGA on CRTC 2

2012-08-13 Thread Keith Packard
This is left over from the old PLL sharing code and isn't useful now that PLLs are shared when possible. Signed-off-by: Keith Packard --- drivers/gpu/drm/i915/intel_crt.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i91

[PATCH 0/7] drm/i915: IVB FDI B/C fixes and misc cleanups

2012-08-13 Thread Keith Packard
This is the complete set of patches that yield a working 3-pipe mode setting configuration on my test machines. It does not make DPMS work, so I still need to figure that out. As the DPMS paths are almost entirely different from mode setting (whose crazy idea was that, anyway?), that may take a bit

[PATCH V2] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Huacai Chen
When SWIOTLB is configured, if without this patch kernel compilation fails with such error messages: drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_tt_populate': drivers/gpu/drm/radeon/radeon_ttm.c:606:2: error: implicit declaration of function 'swiotlb_nr_tbl' drivers/gpu/drm/radeo

[BUG] Intel xorg driver 2.20.2 overlay off-by-one bug

2012-08-13 Thread Chris Wilson
On Sun, 12 Aug 2012 10:01:44 +0100, Russell King - ARM Linux wrote: > While reading through the Intel driver code, I spotted this in > I830SetPortAttributeOverlay: > > } else if (attribute == xvPipe) { > xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); >

[RFC] make VM handling async

2012-08-13 Thread Christian König
On 13.08.2012 14:53, Sylvain BERTRAND wrote: >> It's not 100% complete cause page table updates should be made with the DMA >> ring, but we haven't released documentation for that yet, so I currently >> use CP memory writes instead. > Sad. Any release time hint? (the DMA ring will cleanup a lot of

[PATCH 10/10] drm/radeon: make page table updates async

2012-08-13 Thread Christian König
On 13.08.2012 18:19, Jerome Glisse wrote: > On Mon, Aug 13, 2012 at 6:26 AM, Christian K?nig > wrote: >> Currently doing the update with the CP. >> >> Signed-off-by: Christian K?nig > NAK until point below are addressed [SNIP] > For this to work properly you will need patch : > http://people.free

[bisected] nouveau: "Failed to idle channel x" after resume

2012-08-13 Thread Sven Joachim
On 2012-08-08 08:18 +0200, Sven Joachim wrote: > On 2012-08-08 08:08 +0200, Ben Skeggs wrote: > >> On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: >>> Not for me on my GeForce 8500 GT, and I still cannot suspend more than >>> once, subsequent attempts fail: >>> >>> , >>> | Aug 8

[Intel-gfx] v3.5 Oops in i2c_algo_bit.c:bit_xfer+0x23/0x870: i915 or i2c?

2012-08-13 Thread Jani Nikula
On Mon, 13 Aug 2012, Daniel Vetter wrote: > On Sun, Aug 12, 2012 at 11:49:22PM -0400, George Spelvin wrote: >> (Bringing this back to the mailing lists after a bit of uninteresting private >> conversation.) >> >> > Honestly, I think we need a way to force disable gmbus with a module >> > paramet

[PATCH 3/3] gma500: Consider CRTC initially active.

2012-08-13 Thread Alan Cox
[this one ideally should make 3.6 - it fixes the very annoying mode setting bug] From: Forest Bond This causes the pipe to be forced off prior to initial mode set, which roughly mirrors the behavior of the i915 driver. It fixes initial mode setting on my Intel DN2800MT (Cedarview) board. Witho

[PATCH 2/3] gma500: psb_intel_crtc: Drop crtc_enable flag.

2012-08-13 Thread Alan Cox
From: Forest Bond This is set when setting DPMS on and off, but it isn't checked anywhere, so just remove it. Signed-off-by: Forest Bond Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_display.c |2 -- drivers/gpu/drm/gma500/psb_intel_drv.h |1 - 2 files changed, 3 d

[PATCH 1/3] gma500: Fix comment mispelling in cdv_intel_limits definition.

2012-08-13 Thread Alan Cox
From: Forest Bond Signed-off-by: Forest Bond Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_display.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_display.c b/drivers/gpu/drm/gma500/cdv_intel_display.c index bfb0565..24

[PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Huacai Chen
When SWIOTLB is configured, if without this patch kernel compilation fails with such error messages: drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_tt_populate': drivers/gpu/drm/radeon/radeon_ttm.c:606:2: error: implicit declaration of function 'swiotlb_nr_tbl' drivers/gpu/drm/radeo

[RFCv3 PATCH 1/8] v4l2 core: add the missing pieces to support DVI/HDMI/DisplayPort.

2012-08-13 Thread Soby Mathew
Hi Hans, The patch seems to cover most of the requirement. I find 2 gaps: > +/* DV-class control IDs defined by V4L2 */ > +#define V4L2_CID_DV_CLASS_BASE (V4L2_CTRL_CLASS_DV | 0x900) > +#define V4L2_CID_DV_CLASS (V4L2_CTRL_CLASS_DV | 1) > + > +#define

转发: Siliconmotion new kernel driver initial patch

2012-08-13 Thread Aaron.Chen 陈俊杰
river-initial-patch.patch Type: application/octet-stream Size: 369305 bytes Desc: 0001-Siliconmotion-new-kernel-driver-initial-patch.patch URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120813/9fc4abf7/attachment-0001.obj>

[git pull] drm fixes

2012-08-13 Thread Dave Airlie
Hi Linus, radeon and intel fixes mostly, one fix to the mgag200 driver to not hang on certain server variants. Dave. The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://peopl

[Bug 17782] Kernel panic when booting with radeon.audio=0

2012-08-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=17782 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 17692] Intermittent failure to resume from suspend-to-ram in radeon_bo_get_surface_reg with RV515 and ColorTiling

2012-08-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=17692 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[BUG] EDID leaks kernel memory

2012-08-13 Thread Daniel Vetter
On Sat, Aug 11, 2012 at 6:51 PM, Russell King - ARM Linux wrote: > Hi, > > While looking at the kernel DRM code, I've noticed that in many places > we kmalloc() memory to store the raw EDID information, whether it be > from a DDC adapter, or loaded from firmware. > > Nowhere can I find where this

[Bug 17511] Display no longer works with KMS enabled

2012-08-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=17511 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment #

v3.5 Oops in i2c_algo_bit.c:bit_xfer+0x23/0x870: i915 or i2c?

2012-08-13 Thread Daniel Vetter
On Sun, Aug 12, 2012 at 11:49:22PM -0400, George Spelvin wrote: > (Bringing this back to the mailing lists after a bit of uninteresting private > conversation.) > > > Honestly, I think we need a way to force disable gmbus with a module > > parameter or something anyway. It's not the first time gm

[PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Huacai Chen
On Mon, Aug 13, 2012 at 3:50 PM, Paul Menzel wrote: > Dear Huacai, > > > Am Montag, den 13.08.2012, 15:16 +0800 schrieb Huacai Chen: >> On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel wrote: > >> > thanks for your patch. >> > >> > Firstly, is Chen your first or last name? If it is your first name, yo

[Bug 17511] Display no longer works with KMS enabled

2012-08-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=17511 Alan changed: What|Removed |Added CC||alan at lxorguk.ukuu.org.uk Component|Ot

[Bug 17241] Enabling KMS on Radeon X300 gives NULL pointer dereference

2012-08-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=17241 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 16581] 2.6.35 regression bisected : System hang when starting X with VGA/DVI monitor connected.

2012-08-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16581 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 16560] nvidia video card not working

2012-08-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16560 Alan changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Huacai Chen
On Mon, Aug 13, 2012 at 3:00 PM, Paul Menzel wrote: > Dear Chen, > > > thanks for your patch. > > Firstly, is Chen your first or last name? If it is your first name, your > From address should be switched. Chen is may last name. > > Am Montag, den 13.08.2012, 10:09 +0800 schrieb Huacai Chen: >> W

[PATCH V2] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Michel Dänzer
On Mon, 2012-08-13 at 20:40 +0800, Huacai Chen wrote: > When SWIOTLB is configured, if without this patch kernel compilation > fails with such error messages: > > drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_tt_populate': > drivers/gpu/drm/radeon/radeon_ttm.c:606:2: error: implici

[RFC] make VM handling async

2012-08-13 Thread Sylvain BERTRAND
> It's not 100% complete cause page table updates should be made with the DMA > ring, but we haven't released documentation for that yet, so I currently > use CP memory writes instead. Sad. Any release time hint? (the DMA ring will cleanup a lot of code). BTW, maybe at the same time the HDP_NONSU

[Linaro-mm-sig] [PATCH 2/4] dma-fence: dma-buf synchronization (v8 )

2012-08-13 Thread Maarten Lankhorst
Hey, Op 11-08-12 21:39, Daniel Vetter schreef: > + > + if (!ret) { > + cb->base.flags = 0; > + cb->base.func = __dma_fence_wake_func; > + cb->base.private = priv; > + cb->fence = fence; > + cb->func = func;

[RFCv3 PATCH 1/8] v4l2 core: add the missing pieces to support DVI/HDMI/DisplayPort.

2012-08-13 Thread Hans Verkuil
On Mon August 13 2012 13:48:28 Soby Mathew wrote: > Hi Hans, >The patch seems to cover most of the requirement. I find 2 gaps: > > > +/* DV-class control IDs defined by V4L2 */ > > +#define V4L2_CID_DV_CLASS_BASE (V4L2_CTRL_CLASS_DV | 0x900) > > +#define V4L2_CID_DV_CLASS

转发: Siliconmotion new kernel driver initial patch

2012-08-13 Thread Konrad Rzeszutek Wilk
On Mon, Aug 13, 2012 at 04:56:33PM +0800, Aaron.Chen ??? wrote: > > Since there is no response for the last mail. Maybe it didn't sent > successfully. So I send it again. Here is the initial patch for siliconmotion > kernel driver. What's with the #ifdef 0 or #ifdef 1? Why is there a bunch of

[PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Konrad Rzeszutek Wilk
On Mon, Aug 13, 2012 at 05:26:03PM +0800, Huacai Chen wrote: > When SWIOTLB is configured, if without this patch kernel compilation > fails with such error messages: > > drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_tt_populate': > drivers/gpu/drm/radeon/radeon_ttm.c:606:2: error: i

[PATCH 2/2] drm/i915: fall back to bit-banging if GMBUS fails in CRT EDID reads

2012-08-13 Thread Jani Nikula
GMBUS was enabled over bit-banging as the default in commits: commit c3dfefa0a6d235bd465309e12f4c56ea16e7 Author: Daniel Vetter Date: Tue Feb 14 22:37:25 2012 +0100 drm/i915: reenable gmbus on gen3+ again and commit 0fb3f969c8683505fb7323c06bf8a999a5a45a15 Author: Daniel Vetter Date

[PATCH 1/2] drm/i915: extract connector update from intel_ddc_get_modes() for reuse

2012-08-13 Thread Jani Nikula
Refactor the connector update part of intel_ddc_get_modes() into a separate intel_connector_update_modes() function for reuse. No functional changes. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_drv.h |2 ++ drivers/gpu/drm/i915/intel_modes.c | 31 ++-

[PATCH 0/2] GMBUS EDID read bit-banging fallback

2012-08-13 Thread Jani Nikula
Alex, Maciej, please test the following to see if it fixes the issue [1], thanks. BR, Jani. [1] https://bugzilla.kernel.org/show_bug.cgi?id=45881 Jani Nikula (2): drm/i915: extract connector update from intel_ddc_get_modes() for reuse drm/i915: fall back to bit-banging if GMBUS fails in

[PATCH 10/10] drm/radeon: make page table updates async

2012-08-13 Thread Jerome Glisse
On Mon, Aug 13, 2012 at 12:53 PM, Christian K?nig wrote: > On 13.08.2012 18:19, Jerome Glisse wrote: >> >> On Mon, Aug 13, 2012 at 6:26 AM, Christian K?nig >> wrote: >>> >>> Currently doing the update with the CP. >>> >>> Signed-off-by: Christian K?nig >> >> NAK until point below are addressed >

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-13 Thread Maxim Levitsky
On Mon, 2012-08-13 at 18:22 +0200, Sven Joachim wrote: > On 2012-08-08 08:18 +0200, Sven Joachim wrote: > > > On 2012-08-08 08:08 +0200, Ben Skeggs wrote: > > > >> On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: > >>> Not for me on my GeForce 8500 GT, and I still cannot suspend more

[PATCH 10/10] drm/radeon: make page table updates async

2012-08-13 Thread Christian König
Currently doing the update with the CP. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/ni.c | 20 ++ drivers/gpu/drm/radeon/nid.h |1 + drivers/gpu/drm/radeon/radeon.h |2 + drivers/gpu/drm/radeon/radeon_asic.c |3 ++ drivers/gpu/drm/radeon/

[PATCH 09/10] drm/radeon: Move looping over the PTEs into chip code

2012-08-13 Thread Christian König
Makes it easier to move it into the rings. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/ni.c | 22 +++--- drivers/gpu/drm/radeon/radeon.h | 12 ++-- drivers/gpu/drm/radeon/radeon_asic.c |3 --- drivers/gpu/drm/radeon/radeon_asic.h |7

[PATCH 08/10] drm/radeon: rework VM page table handling

2012-08-13 Thread Christian König
Removing the need to wait for anything. Still not ideal, since we need to free pt on va remove. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon.h |4 +- drivers/gpu/drm/radeon/radeon_cs.c | 28 + drivers/gpu/drm/radeon/radeon_gart.c | 107 +++--

[PATCH 07/10] drm/radeon: rework VMID handling

2012-08-13 Thread Christian König
Move binding onto the ring, simplifying handling a bit. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/ni.c| 20 ++--- drivers/gpu/drm/radeon/radeon.h| 30 +++- drivers/gpu/drm/radeon/radeon_asic.c |9 +-- drivers/gpu/drm/radeon/radeon_asic.h |4

[PATCH 06/10] drm/radeon: make VM flushs a ring operation

2012-08-13 Thread Christian König
Move flushing the VMs as function into the rings. First step to make VM operations async. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/ni.c | 31 --- drivers/gpu/drm/radeon/radeon.h |6 -- drivers/gpu/drm/radeon/radeon_asic.c | 1

[PATCH 05/10] drm/radeon: add sync helper function

2012-08-13 Thread Christian König
Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon_cs.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index 0a9d1eb..85a80e4 100644 --- a/drivers/gpu/drm/radeon/rad

[PATCH 04/10] drm/radeon: remove vm_unbind

2012-08-13 Thread Christian König
It actually isn't very useful. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/ni.c | 11 --- drivers/gpu/drm/radeon/radeon.h |2 -- drivers/gpu/drm/radeon/radeon_asic.c |3 --- drivers/gpu/drm/radeon/radeon_gart.c |1 - drivers/gpu/drm/radeon/si.c

[PATCH 03/10] drm/radeon: move VM funcs into asic structure

2012-08-13 Thread Christian König
So it looks more like the rest of the driver. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon.h | 35 +--- drivers/gpu/drm/radeon/radeon_asic.c | 50 ++ drivers/gpu/drm/radeon/radeon_gart.c | 16 +-- 3 files

[PATCH 02/10] drm/radeon: cleanup VM id handling a bit

2012-08-13 Thread Christian König
Store a reference to the VM into the IB structure, that makes calculating the IBs address a bit less complicated. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/ni.c |5 +++-- drivers/gpu/drm/radeon/r100.c|2 +- drivers/gpu/drm/radeon/r600.c|2 +-

[PATCH 01/10] drm/radeon: fence virtual address and free it once idle v4

2012-08-13 Thread Christian König
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. Kernel 3.5/3.4 need a similar patch but adapted for difference in mutex locking. v2: For to update pagetable when unbindi

[RFC] make VM handling async

2012-08-13 Thread Christian König
Yeah, I know I'm on vacation, but without coding I die of boringness in less than a week. This patchset is currently based on Jeromes VA fencing patch, but in the end makes it superfluous. It just moves the whole VM handling into the CP ring, removing the need to wait for anything directly in the

[RFC] make VM handling async

2012-08-13 Thread Jerome Glisse
On Mon, Aug 13, 2012 at 6:25 AM, Christian K?nig wrote: > Yeah, I know I'm on vacation, but without coding I die of boringness in less > than a week. > > This patchset is currently based on Jeromes VA fencing patch, but in the end > makes it superfluous. It just moves the whole VM handling into th

[PATCH 10/10] drm/radeon: make page table updates async

2012-08-13 Thread Jerome Glisse
On Mon, Aug 13, 2012 at 6:26 AM, Christian K?nig wrote: > Currently doing the update with the CP. > > Signed-off-by: Christian K?nig NAK until point below are addressed > --- > drivers/gpu/drm/radeon/ni.c | 20 ++ > drivers/gpu/drm/radeon/nid.h |1 + > drivers/gp

Re: [BUG] Intel xorg driver 2.20.2 overlay off-by-one bug

2012-08-13 Thread Chris Wilson
On Sun, 12 Aug 2012 10:01:44 +0100, Russell King - ARM Linux wrote: > While reading through the Intel driver code, I spotted this in > I830SetPortAttributeOverlay: > > } else if (attribute == xvPipe) { > xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); >

Re: 转发: Siliconmotion new kernel driver initial patch

2012-08-13 Thread Konrad Rzeszutek Wilk
On Mon, Aug 13, 2012 at 04:56:33PM +0800, Aaron.Chen 陈俊杰 wrote: > > Since there is no response for the last mail. Maybe it didn't sent > successfully. So I send it again. Here is the initial patch for siliconmotion > kernel driver. What's with the #ifdef 0 or #ifdef 1? Why is there a bunch of

Re: [PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Konrad Rzeszutek Wilk
On Mon, Aug 13, 2012 at 05:26:03PM +0800, Huacai Chen wrote: > When SWIOTLB is configured, if without this patch kernel compilation > fails with such error messages: > > drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_tt_populate': > drivers/gpu/drm/radeon/radeon_ttm.c:606:2: error: i

[PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Paul Menzel
m line and paste it after the Subject line? wereHamster on #git suggested to use git send-email --from 'Huacai Chen ' and it should do the right thing. Thanks, Paul > > [1] http://lists.freedesktop.org/archives/dri-devel/2012-July/025200.html -- next part

[PATCH] Consistently name interlaced modes

2012-08-13 Thread Alex Deucher
On Fri, Aug 10, 2012 at 6:52 PM, Russell King - ARM Linux wrote: > At the moment, there is an inconsistency in the way modes are named. > Modes with timings parsed from the EDID information will call > drm_mode_set_name(), which will name the mode using this form: > > x > > eg, 1920x1080i

v3.5 Oops in i2c_algo_bit.c:bit_xfer+0x23/0x870: i915 or i2c?

2012-08-13 Thread George Spelvin
> One thing of interest would be the exact .config you use to build the > kernel and the output of lsmod (after the kernel crashed). I guess the > issue is with the combination of drivers you have (i2c_detect in the > calltrace calls back into other registered i2c drivers ...). The lsmod will take

Re: [PATCH 10/10] drm/radeon: make page table updates async

2012-08-13 Thread Jerome Glisse
On Mon, Aug 13, 2012 at 12:53 PM, Christian König wrote: > On 13.08.2012 18:19, Jerome Glisse wrote: >> >> On Mon, Aug 13, 2012 at 6:26 AM, Christian König >> wrote: >>> >>> Currently doing the update with the CP. >>> >>> Signed-off-by: Christian König >> >> NAK until point below are addressed >

[PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Huacai Chen
When SWIOTLB is configured, if without this patch kernel compilation fails. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/radeon/radeon_ttm.c |4 1 files changed, 4 insertions(+), 0 deletions(-

Re: [RFC] make VM handling async

2012-08-13 Thread Christian König
On 13.08.2012 14:53, Sylvain BERTRAND wrote: It's not 100% complete cause page table updates should be made with the DMA ring, but we haven't released documentation for that yet, so I currently use CP memory writes instead. Sad. Any release time hint? (the DMA ring will cleanup a lot of code).

Re: [PATCH 10/10] drm/radeon: make page table updates async

2012-08-13 Thread Christian König
On 13.08.2012 18:19, Jerome Glisse wrote: On Mon, Aug 13, 2012 at 6:26 AM, Christian König wrote: Currently doing the update with the CP. Signed-off-by: Christian König NAK until point below are addressed [SNIP] For this to work properly you will need patch : http://people.freedesktop.org/

[PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Paul Menzel
es from the beginning as for example Alex Deucher is doing [1]. [?] Thanks, Paul [1] http://lists.freedesktop.org/archives/dri-devel/2012-July/025200.html -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120813/112079d5/attachment.pgp>

[PATCH v4 0/3] Enhanced EDID quirk functionality

2012-08-13 Thread Ian Pilcher
On 08/12/2012 04:31 PM, Paul Menzel wrote: > So I vote for getting this into stable and hopefully the maintainers > agree. Paul - We obviously disagree on whether this makes sense for -stable. If you feel strongly that it should go in, I suggest that you go ahead and submit it for inclusion. Th

[Bug 17782] Kernel panic when booting with radeon.audio=0

2012-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=17782 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 17692] Intermittent failure to resume from suspend-to-ram in radeon_bo_get_surface_reg with RV515 and ColorTiling

2012-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=17692 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-13 Thread Sven Joachim
On 2012-08-08 08:18 +0200, Sven Joachim wrote: > On 2012-08-08 08:08 +0200, Ben Skeggs wrote: > >> On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: >>> Not for me on my GeForce 8500 GT, and I still cannot suspend more than >>> once, subsequent attempts fail: >>> >>> , >>> | Aug 8

Re: [RFC] make VM handling async

2012-08-13 Thread Jerome Glisse
On Mon, Aug 13, 2012 at 6:25 AM, Christian König wrote: > Yeah, I know I'm on vacation, but without coding I die of boringness in less > than a week. > > This patchset is currently based on Jeromes VA fencing patch, but in the end > makes it superfluous. It just moves the whole VM handling into th

Re: [PATCH 10/10] drm/radeon: make page table updates async

2012-08-13 Thread Jerome Glisse
On Mon, Aug 13, 2012 at 6:26 AM, Christian König wrote: > Currently doing the update with the CP. > > Signed-off-by: Christian König NAK until point below are addressed > --- > drivers/gpu/drm/radeon/ni.c | 20 ++ > drivers/gpu/drm/radeon/nid.h |1 + > drivers/gp

[Bug 17511] Display no longer works with KMS enabled

2012-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=17511 Alex Deucher changed: What|Removed |Added CC||alexdeuc...@gmail.com --- Comment #2 f

[Bug 17511] Display no longer works with KMS enabled

2012-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=17511 Alan changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk Component|Other

[Bug 17241] Enabling KMS on Radeon X300 gives NULL pointer dereference

2012-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=17241 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Paul Menzel
Dear Chen, thanks for your patch. Firstly, is Chen your first or last name? If it is your first name, your

[Bug 16581] 2.6.35 regression bisected : System hang when starting X with VGA/DVI monitor connected.

2012-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=16581 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 16560] nvidia video card not working

2012-08-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=16560 Alan changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[PATCH 3/3] gma500: Consider CRTC initially active.

2012-08-13 Thread Alan Cox
[this one ideally should make 3.6 - it fixes the very annoying mode setting bug] From: Forest Bond This causes the pipe to be forced off prior to initial mode set, which roughly mirrors the behavior of the i915 driver. It fixes initial mode setting on my Intel DN2800MT (Cedarview) board. Witho

[PATCH 2/3] gma500: psb_intel_crtc: Drop crtc_enable flag.

2012-08-13 Thread Alan Cox
From: Forest Bond This is set when setting DPMS on and off, but it isn't checked anywhere, so just remove it. Signed-off-by: Forest Bond Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_display.c |2 -- drivers/gpu/drm/gma500/psb_intel_drv.h |1 - 2 files changed, 3 d

[PATCH 1/3] gma500: Fix comment mispelling in cdv_intel_limits definition.

2012-08-13 Thread Alan Cox
From: Forest Bond Signed-off-by: Forest Bond Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/cdv_intel_display.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_display.c b/drivers/gpu/drm/gma500/cdv_intel_display.c index bfb0565..24

Re: [PATCH] Consistently name interlaced modes

2012-08-13 Thread Alex Deucher
On Fri, Aug 10, 2012 at 6:52 PM, Russell King - ARM Linux wrote: > At the moment, there is an inconsistency in the way modes are named. > Modes with timings parsed from the EDID information will call > drm_mode_set_name(), which will name the mode using this form: > > x > > eg, 1920x1080i

Re: [PATCH v4 0/3] Enhanced EDID quirk functionality

2012-08-13 Thread Ian Pilcher
On 08/12/2012 04:31 PM, Paul Menzel wrote: > So I vote for getting this into stable and hopefully the maintainers > agree. Paul - We obviously disagree on whether this makes sense for -stable. If you feel strongly that it should go in, I suggest that you go ahead and submit it for inclusion. Th

Re: [Intel-gfx] v3.5 Oops in i2c_algo_bit.c:bit_xfer+0x23/0x870: i915 or i2c?

2012-08-13 Thread Jani Nikula
On Mon, 13 Aug 2012, Daniel Vetter wrote: > On Sun, Aug 12, 2012 at 11:49:22PM -0400, George Spelvin wrote: >> (Bringing this back to the mailing lists after a bit of uninteresting private >> conversation.) >> >> > Honestly, I think we need a way to force disable gmbus with a module >> > paramet

Re: [BUG] EDID leaks kernel memory

2012-08-13 Thread Daniel Vetter
On Sat, Aug 11, 2012 at 6:51 PM, Russell King - ARM Linux wrote: > Hi, > > While looking at the kernel DRM code, I've noticed that in many places > we kmalloc() memory to store the raw EDID information, whether it be > from a DDC adapter, or loaded from firmware. > > Nowhere can I find where this

Re: v3.5 Oops in i2c_algo_bit.c:bit_xfer+0x23/0x870: i915 or i2c?

2012-08-13 Thread Daniel Vetter
On Sun, Aug 12, 2012 at 11:49:22PM -0400, George Spelvin wrote: > (Bringing this back to the mailing lists after a bit of uninteresting private > conversation.) > > > Honestly, I think we need a way to force disable gmbus with a module > > parameter or something anyway. It's not the first time gm

Re: [PATCH V2] drm/radeon: Include swiotlb.h if SWIOTLB configured.

2012-08-13 Thread Michel Dänzer
On Mon, 2012-08-13 at 20:40 +0800, Huacai Chen wrote: > When SWIOTLB is configured, if without this patch kernel compilation > fails with such error messages: > > drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_tt_populate': > drivers/gpu/drm/radeon/radeon_ttm.c:606:2: error: implici

Re: [RFCv3 PATCH 1/8] v4l2 core: add the missing pieces to support DVI/HDMI/DisplayPort.

2012-08-13 Thread Soby Mathew
Hi Hans, The patch seems to cover most of the requirement. I find 2 gaps: > +/* DV-class control IDs defined by V4L2 */ > +#define V4L2_CID_DV_CLASS_BASE (V4L2_CTRL_CLASS_DV | 0x900) > +#define V4L2_CID_DV_CLASS (V4L2_CTRL_CLASS_DV | 1) > + > +#define

  1   2   >