Re: i915: GPU hung (F14, Intel Core i5-670)

2012-05-30 Thread Chris Wilson
On Tue, 29 May 2012 19:41:37 -0700, Linus Torvalds wrote: > On Mon, May 28, 2012 at 12:06 AM, Chris Wilson > wrote: > > > > No, the i915_error_state had everything I needed to see. It is the old > > ddx bug that was hardcoding a maximum relocation address that never > > corresponded with an act

Re: i915: GPU hung (F14, Intel Core i5-670)

2012-05-30 Thread Chris Wilson
On Tue, 29 May 2012 19:41:37 -0700, Linus Torvalds wrote: > On Mon, May 28, 2012 at 12:06 AM, Chris Wilson > wrote: > > > > No, the i915_error_state had everything I needed to see. It is the old > > ddx bug that was hardcoding a maximum relocation address that never > > corresponded with an act

Re: i915: GPU hung (F14, Intel Core i5-670)

2012-05-30 Thread Daniel Vetter
On Tue, May 29, 2012 at 07:41:37PM -0700, Linus Torvalds wrote: > On Mon, May 28, 2012 at 12:06 AM, Chris Wilson > wrote: > > > > No, the i915_error_state had everything I needed to see. It is the old > > ddx bug that was hardcoding a maximum relocation address that never > > corresponded with an

Re: edp backtrace spam on MacBookAir4,1

2012-05-30 Thread Daniel Vetter
On Mon, May 28, 2012 at 08:51:51PM +0200, Daniel Vetter wrote: > On Mon, May 28, 2012 at 1:09 AM, Linus Torvalds > wrote: > > A new worry about excessively verbose i915 driver "errors" that don't > > actually seem to be errors. > > > > I got myself a micro-DP to VGA adapter so that I can use my Ma

Re: [RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote: > The passed mode must not be modified by the operation, make it const. > > Signed-off-by: Laurent Pinchart Acked-by: Daniel Vetter -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48 __

Re: [RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Laurent Pinchart
Hi Daniel, On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote: > On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote: > > The passed mode must not be modified by the operation, make it const. > > > > Signed-off-by: Laurent Pinchart > > Acked-by: Daniel Vetter Thank you for the

Re: [RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 11:24:50AM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote: > > On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote: > > > The passed mode must not be modified by the operation, make it const. > > > > > > S

Re: [RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Laurent Pinchart
Hi Daniel, On Wednesday 30 May 2012 12:02:19 Daniel Vetter wrote: > On Wed, May 30, 2012 at 11:24:50AM +0200, Laurent Pinchart wrote: > > On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote: > > > On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote: > > > > The passed mode must not

[git pull] drm fixes

2012-05-30 Thread Dave Airlie
Hi Linus, just regular fixes, bunch from intel, quieting some of the over zealous power warnings, and the rest just misc. I've got another pull with the remaining dma-buf bits, since the vmap bits are in your tree now. I'll send tomorrow just to space things out a bit. Dave. The following ch

Re: [PATCH 1/2] DRM: Add DRM kms/fb cma helper

2012-05-30 Thread Sascha Hauer
On Tue, May 29, 2012 at 08:20:35PM +0200, Lars-Peter Clausen wrote: > This patchset introduces a set of helper function for implementing the KMS > framebuffer layer for drivers which use the drm gem CMA helper function. I just integrated this into my series. Works great, thanks. Would be great to

Re: [RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 12:11:49PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 30 May 2012 12:02:19 Daniel Vetter wrote: > > On Wed, May 30, 2012 at 11:24:50AM +0200, Laurent Pinchart wrote: > > > On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote: > > > > On Wed, May 30, 2012

[PATCH] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Daniel Vetter
We should only frob adjusted_mode. This is in preparation of a massive patch by Laurent Pinchart to make the mode argument const. The only thing we actually touch is mode->clock, but only if it's a panel. And in that case we also set adjusted_mode->clock to the same value. All the generic code alr

Re: [PATCH] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Chris Wilson
On Wed, 30 May 2012 12:28:04 +0200, Daniel Vetter wrote: > We should only frob adjusted_mode. This is in preparation of > a massive patch by Laurent Pinchart to make the mode argument > const. > > The only thing we actually touch is mode->clock, but only if > it's a panel. And in that case we al

[Bug 43295] panic occurred switching back to text console ubuntu 11.10

2012-05-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=43295 Alan changed: What|Removed |Added Status|NEW |NEEDINFO CC|

[Bug 43295] panic occurred switching back to text console ubuntu 11.10

2012-05-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=43295 --- Comment #3 from Alan 2012-05-30 11:26:43 --- *** Bug 43288 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- Yo

Re: [PATCH/RFC] drm: Disallow DRM_IOCTL_MODESET_CTL for KMS drivers

2012-05-30 Thread Michel Dänzer
On Mit, 2012-05-30 at 00:58 +0200, Laurent Pinchart wrote: > DRM_IOCTL_MODESET_CTL must only be used for UMS drivers. Make it a no-op > for KMS drivers. > > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/drm_irq.c |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > My

Re: [PATCH] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 11:58:43AM +0100, Chris Wilson wrote: > On Wed, 30 May 2012 12:28:04 +0200, Daniel Vetter > wrote: > > We should only frob adjusted_mode. This is in preparation of > > a massive patch by Laurent Pinchart to make the mode argument > > const. > > > > The only thing we actua

[PATCH 1/2] drm/i915: adjusted_mode->clock in the dp mode_fixup

2012-05-30 Thread Daniel Vetter
... instead of changing mode->clock, which we should leave as-is. We only touch that if it's a panel, and then adjusted mode->clock equals adjusted_mode->clock. Outside of intel_dp.c we only use ajusted_mode->clock in the mode_set functions. Within intel_dp.c we only use it to calculate the dp di

[PATCH 2/2] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Daniel Vetter
We should only frob adjusted_mode. This is in preparation of a massive patch by Laurent Pinchart to make the mode argument const. After the prevous prep patch to use adjusted_mode->clock instead of mode->clock the only thing left is to clean up things a bit. I've opted to pass in an adjust_mode pa

Re: [PATCH] drm: Add downclock quirk for Samsung LTN121AT10-301

2012-05-30 Thread Sean Paul
On Wed, May 30, 2012 at 1:06 AM, Rafał Miłecki wrote: > 2012/5/30 Sean Paul : >> On Tue, May 29, 2012 at 5:23 PM, Alex Deucher wrote: >>> On Tue, May 29, 2012 at 4:33 PM, Sean Paul wrote: On Tue, May 29, 2012 at 10:43 AM, Alex Deucher wrote: > On Mon, May 28, 2012 at 1:20 PM, Sea

Re: [PATCH 1/2] drm/i915: adjusted_mode->clock in the dp mode_fixup

2012-05-30 Thread Chris Wilson
On Wed, 30 May 2012 13:52:02 +0200, Daniel Vetter wrote: > ... instead of changing mode->clock, which we should leave as-is. > > We only touch that if it's a panel, and then adjusted mode->clock > equals adjusted_mode->clock. Outside of intel_dp.c we only use > ajusted_mode->clock in the mode_se

[PATCH 0/4] Renesas SH Mobile DRM driver

2012-05-30 Thread Laurent Pinchart
Hi everybody, Here's a new DRM driver for the Renesas SH Mobile display controller (a.k.a. LCDC). The hardware is pretty simple and consists of a single CRTC and four (non-scalable) planes that can be alpha-blended (first two planes only), overlayed or composed using ROP3. The first two patches w

[PATCH 1/4] fbdev: sh_mobile_meram: Add MERAM operations wrappers

2012-05-30 Thread Laurent Pinchart
Remove direct dependency on the MERAM driver implementation by introducing inline wrappers for MERAM operations. Signed-off-by: Laurent Pinchart --- drivers/video/sh_mobile_meram.c | 24 include/video/sh_mobile_meram.h | 28 2 files chang

[PATCH 2/4] fbdev: sh_mobile_lcdc: Use MERAM operations wrappers

2012-05-30 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- drivers/video/sh_mobile_lcdcfb.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index 7a0b301..671685d 100644 --- a/drivers/video/sh_mobile_lcdcfb.c

[PATCH 3/4] drm: Add NV24 and NV42 pixel formats

2012-05-30 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- include/drm/drm_fourcc.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h index bdf0152..fac7235 100644 --- a/include/drm/drm_fourcc.h +++ b/include/drm/drm_fourcc.h @@ -106,6 +106,8 @

Re: [PATCH 1/2] drm/i915: adjusted_mode->clock in the dp mode_fixup

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 01:18:35PM +0100, Chris Wilson wrote: > On Wed, 30 May 2012 13:52:02 +0200, Daniel Vetter > wrote: > > ... instead of changing mode->clock, which we should leave as-is. > > > > We only touch that if it's a panel, and then adjusted mode->clock > > equals adjusted_mode->clo

[Bug 12677] radeon DRM module oopses the kernel, 2.6.28/powerpc

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

[Bug 12677] radeon DRM module oopses the kernel, 2.6.28/powerpc

2012-05-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=12677 Alan changed: What|Removed |Added Status|RESOLVED|CLOSED -- Configure bugmail: https://bugzilla

Re: [PATCH 3/4] drm: Add NV24 and NV42 pixel formats

2012-05-30 Thread Ville Syrjälä
On Wed, May 30, 2012 at 02:32:58PM +0200, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart > --- > include/drm/drm_fourcc.h |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h > index bdf0152..fac7235 100644

Re: [PATCH 3/4] drm: Add NV24 and NV42 pixel formats

2012-05-30 Thread Laurent Pinchart
Hi Ville, Thank you for the review. On Wednesday 30 May 2012 16:09:25 Ville Syrjälä wrote: > On Wed, May 30, 2012 at 02:32:58PM +0200, Laurent Pinchart wrote: > > Signed-off-by: Laurent Pinchart > > --- > > > > include/drm/drm_fourcc.h |2 ++ > > 1 files changed, 2 insertions(+), 0 deletio

Re: [PATCH 2/2] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Paul Menzel
Am Mittwoch, den 30.05.2012, 13:52 +0200 schrieb Daniel Vetter: Typo in »change« in the commit message. > We should only frob adjusted_mode. This is in preparation of > a massive patch by Laurent Pinchart to make the mode argument > const. > > After the prevous prep patch to use adjusted_mode->c

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-05-30 Thread Sascha Hauer
Hi Laurent, On Wed, May 30, 2012 at 02:32:59PM +0200, Laurent Pinchart wrote: > The SH Mobile LCD controller (LCDC) DRM driver supports the main > graphics plane in RGB and YUV formats, as well as the overlay planes (in > alpha-blending mode only). > > Only flat panel outputs using the parallel i

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-05-30 Thread Lars-Peter Clausen
On 05/30/2012 03:43 PM, Sascha Hauer wrote: > Hi Laurent, > > On Wed, May 30, 2012 at 02:32:59PM +0200, Laurent Pinchart wrote: >> The SH Mobile LCD controller (LCDC) DRM driver supports the main >> graphics plane in RGB and YUV formats, as well as the overlay planes (in >> alpha-blending mode onl

Re: [PATCH 3/4] drm: Add NV24 and NV42 pixel formats

2012-05-30 Thread Ville Syrjälä
On Wed, May 30, 2012 at 03:20:09PM +0200, Laurent Pinchart wrote: > Hi Ville, > > Thank you for the review. > > On Wednesday 30 May 2012 16:09:25 Ville Syrjälä wrote: > > On Wed, May 30, 2012 at 02:32:58PM +0200, Laurent Pinchart wrote: > > > Signed-off-by: Laurent Pinchart > > > --- > > > > >

Re: [PATCH 3/4] drm: Add NV24 and NV42 pixel formats

2012-05-30 Thread Laurent Pinchart
Hi Ville, On Wednesday 30 May 2012 17:05:10 Ville Syrjälä wrote: > On Wed, May 30, 2012 at 03:20:09PM +0200, Laurent Pinchart wrote: > > On Wednesday 30 May 2012 16:09:25 Ville Syrjälä wrote: > > > On Wed, May 30, 2012 at 02:32:58PM +0200, Laurent Pinchart wrote: > > > > Signed-off-by: Laurent Pin

[PATCH] drm/radeon: fix regression in UMS CS ioctl

2012-05-30 Thread alexdeucher
From: Alex Deucher radeon_cs_parser_init is called by both the legacy UMS CS ioctl and the KMS CS ioctl. Protect KMS specific pieces of the code by checking that rdev is not NULL. Reported-by: Michael Burian Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- drivers/gpu/drm/radeon/r

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-05-30 Thread Laurent Pinchart
Hi Sascha, On Wednesday 30 May 2012 15:43:24 Sascha Hauer wrote: > Hi Laurent, > > On Wed, May 30, 2012 at 02:32:59PM +0200, Laurent Pinchart wrote: > > The SH Mobile LCD controller (LCDC) DRM driver supports the main > > graphics plane in RGB and YUV formats, as well as the overlay planes (in >

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-05-30 Thread Ville Syrjälä
On Wed, May 30, 2012 at 02:32:59PM +0200, Laurent Pinchart wrote: > +static struct drm_framebuffer * > +shmob_drm_fb_create(struct drm_device *dev, struct drm_file *file_priv, > + struct drm_mode_fb_cmd2 *mode_cmd) > +{ > + const struct shmob_drm_format_info *format; > + str

Re: [PATCH] drm: Add downclock quirk for Samsung LTN121AT10-301

2012-05-30 Thread Adam Jackson
On 5/30/12 8:05 AM, Sean Paul wrote: Yes, definitely. The reason I can't set it via xrandr (easily) is because we look for lvds downclock modes (in i915) on the driver init. Since the driver initializes way before we have a chance to add a new mode via xrandr, the driver won't have a downclock m

[Bug 12796] via driver (?) fails to handle interrupt

2012-05-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=12796 Jonathan Nieder changed: What|Removed |Added CC||jrnie...@gmail.com Alan changed:

[Bug 12796] via driver (?) fails to handle interrupt

2012-05-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=12796 Alan changed: What|Removed |Added Status|RESOLVED|CLOSED -- Configure bugmail: https://bugzilla

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-05-30 Thread Lars-Peter Clausen
On 05/30/2012 02:32 PM, Laurent Pinchart wrote: > [...] > + for (i = 0; i < (format->yuv ? 2 : 1); ++i) { > + obj = drm_gem_object_lookup(dev, file_priv, > + mode_cmd->handles[i]); > + if (obj == NULL) { > + dev

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-05-30 Thread Lars-Peter Clausen
On 05/30/2012 04:45 PM, Lars-Peter Clausen wrote: > On 05/30/2012 02:32 PM, Laurent Pinchart wrote: >> [...] >> +for (i = 0; i < (format->yuv ? 2 : 1); ++i) { >> +obj = drm_gem_object_lookup(dev, file_priv, >> +mode_cmd->handles[i]); >> +

Re: [PATCH] drm: Add downclock quirk for Samsung LTN121AT10-301

2012-05-30 Thread Sean Paul
On Wed, May 30, 2012 at 10:16 AM, Adam Jackson wrote: > On 5/30/12 8:05 AM, Sean Paul wrote: > >> Yes, definitely. The reason I can't set it via xrandr (easily) is >> because we look for lvds downclock modes (in i915) on the driver init. >> Since the driver initializes way before we have a chance

[PATCH v2] DRM: Add DRM kms/fb cma helper

2012-05-30 Thread Lars-Peter Clausen
This patch introduces a set of helper function for implementing the KMS framebuffer layer for drivers which use the drm gem CMA helper function. Signed-off-by: Lars-Peter Clausen --- Changes since v1: * Some spelling fixes * Add missing kfree in drm_fb_cma_alloc error path

Re: [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-05-30 Thread Semwal, Sumit
On Tue, May 29, 2012 at 6:25 AM, Laurent Pinchart wrote: > Hi Tomasz, Hi Tomasz, Laurent, Mauro, > > On Wednesday 23 May 2012 14:10:14 Tomasz Stanislawski wrote: >> Hello everyone, >> This patchset adds support for DMABUF [2] importing to V4L2 stack. >> The support for DMABUF exporting was moved t

Re: edp backtrace spam on MacBookAir4,1

2012-05-30 Thread Linus Torvalds
On Wed, May 30, 2012 at 1:27 AM, Daniel Vetter wrote: > > Ok, Chris couldn't reproduce this on his mba. Can you please boot with > drm.debug=0xe, reproduce the noise and then attach the full dmesg? Hmm. Now *I* can't reproduce it either. I have updated my system in the meantime, so maybe this is

Re: [PATCH] DRM: add drm gem CMA helper

2012-05-30 Thread Laurent Pinchart
Hi Sascha, Thank you for the patch. I've successfully tested the helper with the new SH Mobile DRM driver. Just a couple of comments below in addition to Lars' comments (this is not a full review, just details that caught my attention when comparing the code with my implementation, and trying t

Re: edp backtrace spam on MacBookAir4,1

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 08:39:13AM -0700, Linus Torvalds wrote: > On Wed, May 30, 2012 at 1:27 AM, Daniel Vetter wrote: > > > > Ok, Chris couldn't reproduce this on his mba. Can you please boot with > > drm.debug=0xe, reproduce the noise and then attach the full dmesg? > > Hmm. Now *I* can't repr

[Bug 13132] vbetool stops X from initialising

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

[Bug 13132] vbetool stops X from initialising

2012-05-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=13132 Alan changed: What|Removed |Added Status|RESOLVED|CLOSED -- Configure bugmail: https://bugzilla

Re: edp backtrace spam on MacBookAir4,1

2012-05-30 Thread Linus Torvalds
On Wed, May 30, 2012 at 9:00 AM, Daniel Vetter wrote: > > Hm, that's pretty strange that you can't reproduce this any more. We check > this has_edp stuff once at boot and then never touch it again. Actually, I think I just figured out how to reproduce it: try to suspend with the micro-DP <-> VGA

Re: i915: GPU hung (F14, Intel Core i5-670)

2012-05-30 Thread Linus Torvalds
On Wed, May 30, 2012 at 12:42 AM, Daniel Vetter wrote: > > Really, please upgrade your userspace - this is by far not the only bug > fixed since then that can result in a gpu hang. I *can't* upgrade my userpsace. F14 is the last one that has a sane window manager. After that, the gnome3 shit hap

Re: i915: GPU hung (F14, Intel Core i5-670)

2012-05-30 Thread Linus Torvalds
On Wed, May 30, 2012 at 12:25 AM, Chris Wilson wrote: > > You've reported this bug in the past, though maybe on a different machine: It's quite likely the same machine - but in the past it may have happened once per six months or something. Now it happened twice in two days. Li

[Bug 13170] Macbook 5,2 only boots with acpi=off, or nosmp, or maxcpus=1

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

[Bug 13170] Macbook 5,2 only boots with acpi=off, or nosmp, or maxcpus=1

2012-05-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=13170 Alan changed: What|Removed |Added Status|RESOLVED|CLOSED -- Configure bugmail: https://bugzilla

Re: [PATCH] DRM: add drm gem CMA helper

2012-05-30 Thread Sascha Hauer
On Wed, May 30, 2012 at 05:40:13PM +0200, Laurent Pinchart wrote: > Hi Sascha, > > Thank you for the patch. I've successfully tested the helper with the new SH > Mobile DRM driver. Just a couple of comments below in addition to Lars' > comments (this is not a full review, just details that caugh

Re: [PATCH 4/4] drm: Renesas SH Mobile DRM driver

2012-05-30 Thread Sascha Hauer
On Wed, May 30, 2012 at 02:32:59PM +0200, Laurent Pinchart wrote: > The SH Mobile LCD controller (LCDC) DRM driver supports the main > graphics plane in RGB and YUV formats, as well as the overlay planes (in > alpha-blending mode only). > > Only flat panel outputs using the parallel interface are

Re: [PATCH/RFC] drm: Disallow DRM_IOCTL_MODESET_CTL for KMS drivers

2012-05-30 Thread Laurent Pinchart
Hi Michel, On Wednesday 30 May 2012 13:29:06 Michel Dänzer wrote: > On Mit, 2012-05-30 at 00:58 +0200, Laurent Pinchart wrote: > > DRM_IOCTL_MODESET_CTL must only be used for UMS drivers. Make it a no-op > > for KMS drivers. > > > > Signed-off-by: Laurent Pinchart > > --- > > > > drivers/gpu/d

Re: Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Eric Anholt
On Sun, 27 May 2012 13:16:54 -0700, Ben Widawsky wrote: > diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c > index b776d2f..695a449 100644 > --- a/intel/intel_bufmgr_gem.c > +++ b/intel/intel_bufmgr_gem.c > @@ -1478,6 +1478,32 @@ drm_intel_gem_bo_wait_rendering(drm_intel_bo *bo) >

Re: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Ben Widawsky
On Wed, 30 May 2012 10:41:20 -0700 Eric Anholt wrote: > On Sun, 27 May 2012 13:16:54 -0700, Ben Widawsky wrote: > > diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c > > index b776d2f..695a449 100644 > > --- a/intel/intel_bufmgr_gem.c > > +++ b/intel/intel_bufmgr_gem.c > > @@ -147

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #56 from Alexandre Demers 2012-05-30 11:18:28 PDT --- (In reply to comment #55) > (In reply to comment #54) > > On latest git (3cd7bee48f7caf7850ea64d40f43875d4c975507), in > > src/gallium/drivers/r600/r66_hw_context.c, on line 194,

Re: Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 7:41 PM, Eric Anholt wrote: > I guess GL_ALREADY_SIGNALED handling will be done using a check for > bo_busy() before calling this. I've just read through the mesa code and gl_already_signalled seems to be handled already by core mesa code in _mesa_ClientWaitSync (if the dr

Re: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Ben Widawsky
On Wed, 30 May 2012 21:07:57 +0200 Daniel Vetter wrote: > On Wed, May 30, 2012 at 7:41 PM, Eric Anholt wrote: > > I guess GL_ALREADY_SIGNALED handling will be done using a check for > > bo_busy() before calling this. > > I've just read through the mesa code and gl_already_signalled seems to > b

[PATCH] drm/edid: Make the header fixup threshold tunable

2012-05-30 Thread Adam Jackson
6 bytes seems to be a reasonable default so far, but for the desperate it's worth exposing this. Bugzilla: https://bugzilla.redhat.com/582559 Signed-off-by: Adam Jackson --- drivers/gpu/drm/drm_edid.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/dr

Lots of i915/drm spew on 3.4

2012-05-30 Thread Dave Jones
On this hardware: 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) I get this every boot with Linus current tree (up to af56e0aa35f3ae2a4c1a6d1000702df1dd78cb76) [8.046291] udevadm used greatest stack depth: 4952 bytes left [8.15320

Re: Lots of i915/drm spew on 3.4

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 11:31 PM, Dave Jones wrote: > On this hardware: > > 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated > Graphics Controller (rev 02) > > I get this every boot with Linus current tree (up to > af56e0aa35f3ae2a4c1a6d1000702df1dd78cb76) Just a quick

Re: Lots of i915/drm spew on 3.4

2012-05-30 Thread Dave Jones
On Wed, May 30, 2012 at 11:51:54PM +0200, Daniel Vetter wrote: > On Wed, May 30, 2012 at 11:31 PM, Dave Jones wrote: > > On this hardware: > > > > 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated > > Graphics Controller (rev 02) > > > > I get this every boot with L

Re: Lots of i915/drm spew on 3.4

2012-05-30 Thread Dave Jones
On Wed, May 30, 2012 at 05:58:48PM -0400, Dave Jones wrote: > On Wed, May 30, 2012 at 11:51:54PM +0200, Daniel Vetter wrote: > > On Wed, May 30, 2012 at 11:31 PM, Dave Jones wrote: > > > On this hardware: > > > > > > 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ > Integ

Re: [PATCH] drm/radeon: fix regression in UMS CS ioctl

2012-05-30 Thread Jerome Glisse
On Wed, May 30, 2012 at 10:09 AM, wrote: > From: Alex Deucher > > radeon_cs_parser_init is called by both the legacy UMS > CS ioctl and the KMS CS ioctl.  Protect KMS specific > pieces of the code by checking that rdev is not NULL. > > Reported-by: Michael Burian > > Signed-off-by: Alex Deucher

Re: Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Eric Anholt
On Wed, 30 May 2012 21:07:57 +0200, Daniel Vetter wrote: > On Wed, May 30, 2012 at 7:41 PM, Eric Anholt wrote: > > I guess GL_ALREADY_SIGNALED handling will be done using a check for > > bo_busy() before calling this. > > I've just read through the mesa code and gl_already_signalled seems to > b

[Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49981 --- Comment #1 from Brad Campbell 2012-05-30 19:13:12 PDT --- Created attachment 62305 --> https://bugs.freedesktop.org/attachment.cgi?id=62305 The hack I use to enable 3 heads on my iMac without torching the Radeon -- Configure bugmail: htt

[Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49981 --- Comment #2 from Brad Campbell 2012-05-30 19:15:29 PDT --- I can replicate this on all radeon enabled kernels including current. It appears than when more than one head is enabled, a separate set of power profiles is used which attempts to s

[Bug 43295] panic occurred switching back to text console ubuntu 11.10

2012-05-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=43295 --- Comment #4 from Thanigaivelan 2012-05-31 02:51:44 --- My System hangs when panic occurred switching back to text console. I have to restart it again. it happen many time. Please tell me what is the problem in kernel file. I am using ke

[PATCH/RFC] drm: Disallow DRM_IOCTL_MODESET_CTL for KMS drivers

2012-05-30 Thread Laurent Pinchart
DRM_IOCTL_MODESET_CTL must only be used for UMS drivers. Make it a no-op for KMS drivers. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/drm_irq.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) My understanding of the DRM framework tells me that calling DRM_IOCTL_MODESET_CT

[RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Laurent Pinchart
The passed mode must not be modified by the operation, make it const. Signed-off-by: Laurent Pinchart --- This will break the i915 driver, as it modifies mode->clock in intel_dp_mode_fixup(), hence the RFC state. Is this incorrect behaviour from the i915 driver ? drivers/gpu/drm/exynos/exynos_

[Bug 50149] Faulty shaders on RS600

2012-05-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50149 --- Comment #12 from Roman ?makal 2012-05-29 21:35:06 PDT --- With this settings textures are rendered, but they are red-shaded instead, so its not a fix for the issue -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[PATCH] drm: Add downclock quirk for Samsung LTN121AT10-301

2012-05-30 Thread Rafał Miłecki
2012/5/30 Sean Paul : > On Tue, May 29, 2012 at 5:23 PM, Alex Deucher > wrote: >> On Tue, May 29, 2012 at 4:33 PM, Sean Paul wrote: >>> On Tue, May 29, 2012 at 10:43 AM, Alex Deucher >>> wrote: On Mon, May 28, 2012 at 1:20 PM, Sean Paul wrote: > On Wed, Jan 18, 2012 at 10:06 AM

i915: GPU hung (F14, Intel Core i5-670)

2012-05-30 Thread Chris Wilson
On Tue, 29 May 2012 19:41:37 -0700, Linus Torvalds wrote: > On Mon, May 28, 2012 at 12:06 AM, Chris Wilson > wrote: > > > > No, the i915_error_state had everything I needed to see. It is the old > > ddx bug that was hardcoding a maximum relocation address that never > > corresponded with an actu

No subject

2012-05-30 Thread
0x0314e050: 0x61010006: STATE_BASE_ADDRESS 0x0314e054: 0x0001:general state base address 0x 0x0314e058: 0x0001:surface state base address 0x 0x0314e05c: 0x0001:indirect state base address 0x 0x0314e060: 0x0001:instruct

i915: GPU hung (F14, Intel Core i5-670)

2012-05-30 Thread Chris Wilson
On Tue, 29 May 2012 19:41:37 -0700, Linus Torvalds wrote: > On Mon, May 28, 2012 at 12:06 AM, Chris Wilson > wrote: > > > > No, the i915_error_state had everything I needed to see. It is the old > > ddx bug that was hardcoding a maximum relocation address that never > > corresponded with an actu

i915: GPU hung (F14, Intel Core i5-670)

2012-05-30 Thread Daniel Vetter
On Tue, May 29, 2012 at 07:41:37PM -0700, Linus Torvalds wrote: > On Mon, May 28, 2012 at 12:06 AM, Chris Wilson > wrote: > > > > No, the i915_error_state had everything I needed to see. It is the old > > ddx bug that was hardcoding a maximum relocation address that never > > corresponded with an

edp backtrace spam on MacBookAir4,1

2012-05-30 Thread Daniel Vetter
On Mon, May 28, 2012 at 08:51:51PM +0200, Daniel Vetter wrote: > On Mon, May 28, 2012 at 1:09 AM, Linus Torvalds > wrote: > > A new worry about excessively verbose i915 driver "errors" that don't > > actually seem to be errors. > > > > I got myself a micro-DP to VGA adapter so that I can use my Ma

[RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote: > The passed mode must not be modified by the operation, make it const. > > Signed-off-by: Laurent Pinchart Acked-by: Daniel Vetter -- Daniel Vetter Mail: daniel at ffwll.ch Mobile: +41 (0)79 365 57 48

[RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Laurent Pinchart
Hi Daniel, On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote: > On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote: > > The passed mode must not be modified by the operation, make it const. > > > > Signed-off-by: Laurent Pinchart > > Acked-by: Daniel Vetter Thank you for the

[RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 11:24:50AM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote: > > On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote: > > > The passed mode must not be modified by the operation, make it const. > > > > > > S

[RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Laurent Pinchart
Hi Daniel, On Wednesday 30 May 2012 12:02:19 Daniel Vetter wrote: > On Wed, May 30, 2012 at 11:24:50AM +0200, Laurent Pinchart wrote: > > On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote: > > > On Wed, May 30, 2012 at 01:01:08AM +0200, Laurent Pinchart wrote: > > > > The passed mode must not

[git pull] drm fixes

2012-05-30 Thread Dave Airlie
Hi Linus, just regular fixes, bunch from intel, quieting some of the over zealous power warnings, and the rest just misc. I've got another pull with the remaining dma-buf bits, since the vmap bits are in your tree now. I'll send tomorrow just to space things out a bit. Dave. The following ch

[PATCH 1/2] DRM: Add DRM kms/fb cma helper

2012-05-30 Thread Sascha Hauer
On Tue, May 29, 2012 at 08:20:35PM +0200, Lars-Peter Clausen wrote: > This patchset introduces a set of helper function for implementing the KMS > framebuffer layer for drivers which use the drm gem CMA helper function. I just integrated this into my series. Works great, thanks. Would be great to

[RFC/PATCH] drm: Make the .mode_fixup() operations mode argument a const pointer

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 12:11:49PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 30 May 2012 12:02:19 Daniel Vetter wrote: > > On Wed, May 30, 2012 at 11:24:50AM +0200, Laurent Pinchart wrote: > > > On Wednesday 30 May 2012 11:18:56 Daniel Vetter wrote: > > > > On Wed, May 30, 2012

[PATCH] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Daniel Vetter
We should only frob adjusted_mode. This is in preparation of a massive patch by Laurent Pinchart to make the mode argument const. The only thing we actually touch is mode->clock, but only if it's a panel. And in that case we also set adjusted_mode->clock to the same value. All the generic code alr

[PATCH] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Chris Wilson
On Wed, 30 May 2012 12:28:04 +0200, Daniel Vetter wrote: > We should only frob adjusted_mode. This is in preparation of > a massive patch by Laurent Pinchart to make the mode argument > const. > > The only thing we actually touch is mode->clock, but only if > it's a panel. And in that case we al

[Bug 43295] panic occurred switching back to text console ubuntu 11.10

2012-05-30 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=43295 Alan changed: What|Removed |Added Status|NEW |NEEDINFO CC|

[Bug 43295] panic occurred switching back to text console ubuntu 11.10

2012-05-30 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=43295 --- Comment #3 from Alan 2012-05-30 11:26:43 --- *** Bug 43288 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- Yo

[PATCH/RFC] drm: Disallow DRM_IOCTL_MODESET_CTL for KMS drivers

2012-05-30 Thread Michel Dänzer
On Mit, 2012-05-30 at 00:58 +0200, Laurent Pinchart wrote: > DRM_IOCTL_MODESET_CTL must only be used for UMS drivers. Make it a no-op > for KMS drivers. > > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/drm_irq.c |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > My

[PATCH] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 11:58:43AM +0100, Chris Wilson wrote: > On Wed, 30 May 2012 12:28:04 +0200, Daniel Vetter > wrote: > > We should only frob adjusted_mode. This is in preparation of > > a massive patch by Laurent Pinchart to make the mode argument > > const. > > > > The only thing we actua

[PATCH 1/2] drm/i915: adjusted_mode->clock in the dp mode_fixup

2012-05-30 Thread Daniel Vetter
... instead of changing mode->clock, which we should leave as-is. We only touch that if it's a panel, and then adjusted mode->clock equals adjusted_mode->clock. Outside of intel_dp.c we only use ajusted_mode->clock in the mode_set functions. Within intel_dp.c we only use it to calculate the dp di

[PATCH 2/2] drm/i915: don't chnage the original mode in dp_mode_fixup

2012-05-30 Thread Daniel Vetter
We should only frob adjusted_mode. This is in preparation of a massive patch by Laurent Pinchart to make the mode argument const. After the prevous prep patch to use adjusted_mode->clock instead of mode->clock the only thing left is to clean up things a bit. I've opted to pass in an adjust_mode pa

[PATCH] drm: Add downclock quirk for Samsung LTN121AT10-301

2012-05-30 Thread Sean Paul
On Wed, May 30, 2012 at 1:06 AM, Rafa? Mi?ecki wrote: > 2012/5/30 Sean Paul : >> On Tue, May 29, 2012 at 5:23 PM, Alex Deucher >> wrote: >>> On Tue, May 29, 2012 at 4:33 PM, Sean Paul wrote: On Tue, May 29, 2012 at 10:43 AM, Alex Deucher wrote: > On Mon, May 28, 2012 at 1:20 PM,

[PATCH 1/2] drm/i915: adjusted_mode->clock in the dp mode_fixup

2012-05-30 Thread Chris Wilson
On Wed, 30 May 2012 13:52:02 +0200, Daniel Vetter wrote: > ... instead of changing mode->clock, which we should leave as-is. > > We only touch that if it's a panel, and then adjusted mode->clock > equals adjusted_mode->clock. Outside of intel_dp.c we only use > ajusted_mode->clock in the mode_se

  1   2   >