[Intel-gfx] [PATCH] drm/i915: fix infinite recursion on unbind due to ilk vt-d w/a

2011-12-08 Thread Bobby Powers
rity ept vpid bogomips: 5184.24 clflush size: 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: [3 other processors omitted] -- next part -- A non-text attachment was scrubbed... Name: i915-list_add-corruption Type: application/octet-stream Size: 14938 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111208/817dca0f/attachment-0001.obj>

[Linaro-mm-sig] [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-12-08 Thread Daniel Vetter
On Wed, Dec 7, 2011 at 14:40, Arnd Bergmann wrote: > On Wednesday 07 December 2011, Semwal, Sumit wrote: >> Thanks for the excellent discussion - it indeed is very good learning >> for the relatively-inexperienced me :) >> >> So, for the purpose of dma-buf framework, could I summarize the >> follo

[Bug 43655] New: Latest radeon dri driver on HD6950 with kernel 3.2 flickers

2011-12-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43655 Bug #: 43655 Summary: Latest radeon dri driver on HD6950 with kernel 3.2 flickers Classification: Unclassified Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64)

[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2011-12-08 Thread che...@lemote.com
Thank you for your reply. I found CP_RB_WPTR has changed when "ring test failed", so I think CP is active, but what it get from ring buffer is wrong. Then, I want to know whether there is a way to check the content that GPU get from ring buffer. BTW, when I use "echo shutdown > /sys/power/disk; e

[Bug 26345] [845G] CPU/GPU incoherency

2011-12-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26345 Mike Ranweiler changed: What|Removed |Added CC||mjr at linux.vnet.ibm.com --- Comment #

[PATCH] drm/vmwgfx: fix incorrect VRAM size check in vmw_kms_fb_create()

2011-12-08 Thread Xi Wang
The commit e133e737 didn't correctly fix the overflow issue. - unsigned int required_size; + u64 required_size; ... required_size = mode_cmd->pitch * mode_cmd->height; - if (unlikely(required_size > dev_priv->vram_size)) { + if (unlikely(required_size > (u64

Re: [Linaro-mm-sig] [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-12-08 Thread Daniel Vetter
On Wed, Dec 7, 2011 at 14:40, Arnd Bergmann wrote: > On Wednesday 07 December 2011, Semwal, Sumit wrote: >> Thanks for the excellent discussion - it indeed is very good learning >> for the relatively-inexperienced me :) >> >> So, for the purpose of dma-buf framework, could I summarize the >> follo

[PATCH 0/2] omap/drm: dmm/tiler support for GEM buffers

2011-12-08 Thread Gross, Andy
tiler code as an > independent driver would mean replicating all those features. > > I guess it's not quite a fair comparison, but I'm comparing tiler to the > vrfb driver (well, lib is perhaps a better word for it), which doesn't > depend on any framework and can be used by any kernel component. > > No I appreciate your input. I had thoughts along the same line. But since I did not have any exported kernel functions, I figured that it should just sit underneath the omapdrm umbrella (so to speak). -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111208/273218a6/attachment.htm>

[PATCH] drm/edid: Try harder to fix up broken headers

2011-12-08 Thread Tormod Volden
zeof(edid_header)); } Or would the extra comparison in the good case be unacceptable? One could think about demagifying 6 somewhat also, but I am not sure it makes it more readable. Cheers, Tormod -- next part -- A non-text attachment was scrubbed... Nam

[patch] drm/ttm: fix condition (and vs or)

2011-12-08 Thread David Airlie
- Original Message - > From: "Konrad Rzeszutek Wilk" > To: "Jerome Glisse" > Cc: dri-devel at lists.freedesktop.org, "Jerome Glisse" redhat.com>, kernel-janitors at vger.kernel.org, "Thomas > Hellstrom" , "Dan Carpenter" oracle.com> > Sent: Thursday, 8 December, 2011 4:53:34 PM > Subj

[patch] drm/ttm: fix condition (and vs or)

2011-12-08 Thread Konrad Rzeszutek Wilk
On Thu, Dec 08, 2011 at 10:34:00AM -0500, Jerome Glisse wrote: > On Thu, Dec 08, 2011 at 09:50:54AM +0300, Dan Carpenter wrote: > > The "if (!p && !p->dev)" condition isn't right because || was intended > > instead of &&. But actually, "p" is the list cursor and so it's always Duh! > > non-NULL a

Re: [PATCH 0/2] omap/drm: dmm/tiler support for GEM buffers

2011-12-08 Thread Gross, Andy
On Thu, Dec 8, 2011 at 2:45 AM, Tomi Valkeinen wrote: > On Wed, 2011-12-07 at 07:29 -0600, Rob Clark wrote: > > On Wed, Dec 7, 2011 at 3:31 AM, Tomi Valkeinen > wrote: > > > Hi, > > > > > > On Mon, 2011-12-05 at 19:19 -0600, Rob Clark wrote: > > >> From: Rob Clark > > >> > > >> Support for DMM a

[Dual-LVDS Acer Iconia laptop] i915/DRM issue: one screen stays off [3.2-rc4+]

2011-12-08 Thread Benjamin Tissoires
Hi, On Tue, Dec 6, 2011 at 23:31, Baptiste Jonglez wrote: > On Tue, Dec 06, 2011 at 11:12:26PM +0100, Benjamin Tissoires wrote: >> Hi Baptiste, > > Hi, > >> On Tue, Dec 6, 2011 at 22:51, Baptiste Jonglez >> wrote: >> > The second screen works fine with the attached patch. It actually is >> > 6

[PATCH 0/2] omap/drm: dmm/tiler support for GEM buffers

2011-12-08 Thread Tomi Valkeinen
endent driver would mean replicating all those features. I guess it's not quite a fair comparison, but I'm comparing tiler to the vrfb driver (well, lib is perhaps a better word for it), which doesn't depend on any framework and can be used by any kernel component. Tomi -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111208/47942ff2/attachment-0001.pgp>

[Bug 26345] [845G] CPU/GPU incoherency

2011-12-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26345 Mike Ranweiler changed: What|Removed |Added CC||m...@linux.vnet.ibm.com --- Comment #14

[patch] drm/ttm: fix condition (and vs or)

2011-12-08 Thread Jerome Glisse
On Thu, Dec 08, 2011 at 09:50:54AM +0300, Dan Carpenter wrote: > The "if (!p && !p->dev)" condition isn't right because || was intended > instead of &&. But actually, "p" is the list cursor and so it's always > non-NULL and we can just remove that bit. We can remove the another > similar check as

[Bug 43617] [bisected i965]oglc api-error(negative.glGetPixelMap) segfaults

2011-12-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43617 Chris Wilson changed: What|Removed |Added AssignedTo|dri-devel at lists.freedesktop |idr at freedesktop.org

[Bug 43623] [r300g] EVE online: texture corruption

2011-12-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43623 Pavel Ondra?ka changed: What|Removed |Added Keywords||regression -- Configure bugmail: https

[Bug 43623] New: [r300g] EVE online: texture corruption

2011-12-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43623 Bug #: 43623 Summary: [r300g] EVE online: texture corruption Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

[patch] drm/ttm: fix condition (and vs or)

2011-12-08 Thread Dan Carpenter
The "if (!p && !p->dev)" condition isn't right because || was intended instead of &&. But actually, "p" is the list cursor and so it's always non-NULL and we can just remove that bit. We can remove the another similar check as well. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/ttm

[Bug 35460] [855GM] Corruptions with linux-2.6.38 & xf-video-intel-2.14.901

2011-12-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=35460 --- Comment #15 from Bruno 2011-12-08 01:50:04 PST --- (In reply to comment #14) > Created attachment 53954 [details] [review] > use wmb to flush the wc cache > > Hi Bruno, can you please test whether this patch works, too. I think this is > th

Re: [patch] drm/ttm: fix condition (and vs or)

2011-12-08 Thread David Airlie
- Original Message - > From: "Konrad Rzeszutek Wilk" > To: "Jerome Glisse" > Cc: dri-devel@lists.freedesktop.org, "Jerome Glisse" , > kernel-janit...@vger.kernel.org, "Thomas > Hellstrom" , "Dan Carpenter" > Sent: Thursday, 8 December, 2011 4:53:34 PM > Subject: Re: [patch] drm/ttm: f

Re: [patch] drm/ttm: fix condition (and vs or)

2011-12-08 Thread Konrad Rzeszutek Wilk
On Thu, Dec 08, 2011 at 10:34:00AM -0500, Jerome Glisse wrote: > On Thu, Dec 08, 2011 at 09:50:54AM +0300, Dan Carpenter wrote: > > The "if (!p && !p->dev)" condition isn't right because || was intended > > instead of &&. But actually, "p" is the list cursor and so it's always Duh! > > non-NULL a

[Bug 30931] mesa gallium r600 driver (7.10-devel) AIGLX error: Calling driver entry point failed

2011-12-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30931 Jos van Wolput changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 43617] New: [bisected i965]oglc api-error(negative.glGetPixelMap) segfaults

2011-12-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43617 Bug #: 43617 Summary: [bisected i965]oglc api-error(negative.glGetPixelMap) segfaults Classification: Unclassified Product: DRI Version: unspecified Platform: All

Re: [patch] drm/ttm: fix condition (and vs or)

2011-12-08 Thread Jerome Glisse
On Thu, Dec 08, 2011 at 09:50:54AM +0300, Dan Carpenter wrote: > The "if (!p && !p->dev)" condition isn't right because || was intended > instead of &&. But actually, "p" is the list cursor and so it's always > non-NULL and we can just remove that bit. We can remove the another > similar check as

Re: [Dual-LVDS Acer Iconia laptop] i915/DRM issue: one screen stays off [3.2-rc4+]

2011-12-08 Thread Benjamin Tissoires
Hi, On Tue, Dec 6, 2011 at 23:31, Baptiste Jonglez wrote: > On Tue, Dec 06, 2011 at 11:12:26PM +0100, Benjamin Tissoires wrote: >> Hi Baptiste, > > Hi, > >> On Tue, Dec 6, 2011 at 22:51, Baptiste Jonglez wrote: >> > The second screen works fine with the attached patch. It actually is >> > 6 mont

Re: [PATCH] drm/edid: Try harder to fix up broken headers

2011-12-08 Thread Tormod Volden
On Thu, Dec 8, 2011 at 12:26 AM, Adam Jackson wrote: > There's no reason to force the first byte to be correct if we're already > scoring how correct the header is. > > See also: https://bugzilla.redhat.com/show_bug.cgi?id=722909 > > Signed-off-by: Adam Jackson > --- >  drivers/gpu/drm/drm_edid.c

[Bug 43617] [bisected i965]oglc api-error(negative.glGetPixelMap) segfaults

2011-12-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43617 Chris Wilson changed: What|Removed |Added AssignedTo|dri-devel@lists.freedesktop |i...@freedesktop.org |.

[Bug 43623] [r300g] EVE online: texture corruption

2011-12-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43623 Pavel Ondračka changed: What|Removed |Added Keywords||regression -- Configure bugmail: https

[Bug 43623] New: [r300g] EVE online: texture corruption

2011-12-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43623 Bug #: 43623 Summary: [r300g] EVE online: texture corruption Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

[Bug 35460] [855GM] Corruptions with linux-2.6.38 & xf-video-intel-2.14.901

2011-12-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35460 --- Comment #15 from Bruno 2011-12-08 01:50:04 PST --- (In reply to comment #14) > Created attachment 53954 [details] [review] > use wmb to flush the wc cache > > Hi Bruno, can you please test whether this patch works, too. I think this is > the

Re: [PATCH 0/2] omap/drm: dmm/tiler support for GEM buffers

2011-12-08 Thread Tomi Valkeinen
On Wed, 2011-12-07 at 07:29 -0600, Rob Clark wrote: > On Wed, Dec 7, 2011 at 3:31 AM, Tomi Valkeinen wrote: > > Hi, > > > > On Mon, 2011-12-05 at 19:19 -0600, Rob Clark wrote: > >> From: Rob Clark > >> > >> Support for DMM and tiled buffers. The DMM/TILER block in omap4+ SoC > >> provides suppor

[PATCH 11/23] drm/via: clean up reclaim_buffers

2011-12-08 Thread James Simmons
> A few things > - kill reclaim_buffers, it's never ever called because via does not set > DRIVER_HAVE_DMA > - inline the idlelock dance into the buffer reclaim logic and make it > a simple preclose cleanup function > - directly call the the dma_quiescent function and kill the needless > if

[PATCH V2 3/3] drm/radeon/kms: enable HDMI mode on Evergreen encoders

2011-12-08 Thread Rafał Miłecki
Signed-off-by: Rafa? Mi?ecki --- V2: Don't touch DIG_CNTL manually, AtomBIOS does that for us. My early testing was done with hacked code to enable HDMI on DVI. After fixing atombios_get_encoder_mode the behaviour has changed a little, that hack is not needed anymore. --- drivers/gpu/drm/radeon/

[Bug 30931] mesa gallium r600 driver (7.10-devel) AIGLX error: Calling driver entry point failed

2011-12-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30931 Jos van Wolput changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Noise in games on Intel HD Graphics 2000

2011-12-08 Thread semiRocket
On Wed, 07 Dec 2011 19:42:22 +0100, Eric Anholt wrote: > On Tue, 06 Dec 2011 22:59:58 +0100, semiRocket > wrote: >> Hi, >> >> I'm running on Intel i3 2100 integrated graphics, I'm getting some >> strange >> noise particles in games like Minecraft and Speed Dreams (mostly >> noticeable in Min

[PATCH 2/3] drm/radeon/kms: one more HDMI cleanup (in disabling code)

2011-12-08 Thread Rafał Miłecki
Signed-off-by: Rafa? Mi?ecki --- drivers/gpu/drm/radeon/r600_hdmi.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c index 5021372..06f923e 100644 --- a/drivers/gpu/drm/radeon/r600_hdmi.c ++

[PATCH V2] drm/radeon/kms: do not force DVI mode on DCE4 if audio is on

2011-12-08 Thread Rafał Miłecki
Signed-off-by: Rafa? Mi?ecki --- V2: don't duplicate check for radeon_audio --- drivers/gpu/drm/radeon/atombios_encoders.c | 35 +-- 1 files changed, 12 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu/drm/radeon/ato