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

[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

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

[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

[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 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

[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

[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

[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

[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

Lots of i915/drm spew on 3.4

2012-05-30 Thread Dave Jones
now, I'll get it in > a while. Attached. Dave -- next part -- A non-text attachment was scrubbed... Name: xrandr-3.3 Type: application/x-troff-man Size: 7704 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/

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

2012-05-30 Thread bugzilla-dae...@freedesktop.org
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,

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

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

[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

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

[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

[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

[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]); >> +

[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 > > > --- > > > > >

[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

[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

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

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

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

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

[Bug 13132] vbetool stops X from initialising

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

[Bug 13132] vbetool stops X from initialising

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

[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 >

[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 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

[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

[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: 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

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

2012-05-30 Thread Eric Anholt
't. I don't see a strong recommendation either way from that. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120530/19bba28a/attachment.pgp>

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

2012-05-30 Thread Paul Menzel
tachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120530/cce1bdbc/attachment.pgp>

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: 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

[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

[RFC] Documentation: DRM framework documentation

2012-05-30 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- Documentation/drm.txt | 1265 + 1 files changed, 1265 insertions(+), 0 deletions(-) create mode 100644 Documentation/drm.txt Hi everybody, Here's the DRM kernel framework documentation I wrote while developing

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 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

[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

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

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

2012-05-30 Thread Laurent Pinchart
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 supported. Support for SYS panels, HDMI and DSI is currently not implemented

[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 @

[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 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 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

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

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

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

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

[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 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] 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

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/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

[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/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 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

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

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

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

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

[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

[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 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 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

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

[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

[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 --- 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

[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

[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

[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,

[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

[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|

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

[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

[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: 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) >

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

2012-05-30 Thread Eric Anholt
next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120530/8fe6d3e9/attachment-0001.pgp>

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

[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 downc

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

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

2012-05-30 Thread alexdeuc...@gmail.com
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: stable at vger.kernel.org --- drivers/gpu/drm/radeo

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: [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] 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

[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

[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|

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

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: 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

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. L

[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

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

[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|

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

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: [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 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: [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

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

[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

  1   2   >