[ANNOUNCE] intel-gpu-tools 1.2

2012-02-09 Thread Daniel Vetter
plication/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120209/98d79b51/attachment-0001.pgp>

[PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Daniel Vetter
On Thu, Feb 9, 2012 at 21:24, Eugeni Dodonov wrote: > On Thu, Feb 9, 2012 at 15:56, Jesse Barnes > wrote: >> >> This prevents a race between module init and sysfs access (usually only >> seen at module reload time, or if somehow your userspace starts fast >> enough and pokes at /sys/class/drm

[Bug 45856] New: [r300g] piglit glx-swap-pixmap leaves screen completely corrupted

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45856 Bug #: 45856 Summary: [r300g] piglit glx-swap-pixmap leaves screen completely corrupted Classification: Unclassified Product: Mesa Version: git Platform: Other

[Bug 42727] radeon KMS with CRT TV

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

[PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Eugeni Dodonov
t; > Signed-off-by: Jesse Barnes > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120209/2f44d3fc/attachment.htm>

[Bug 42727] radeon KMS with CRT TV

2012-02-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42727 --- Comment #4 from Aur 2012-02-09 17:48:16 --- I don't know if this TV supports NTSC but it supports PAL and SECAM. Is it possible to force driver to use PAL by a kernel option or by a patch ? -- Configure bugmail:

[PATCH] drm/i915: Fix race condition in accessing GMBUS

2012-02-09 Thread Yufeng Shen
GMBUS has several ports and each has it's own corresponding I2C adpater. When multiple I2C adapters call gmbus_xfer() at the same time there is a race condition in using the underlying GMBUS controller. Fixing this by adding a mutex lock when calling gmbus_xfer(). Signed-off-by: Yufeng Shen ---

[PATCH -next 0/0] vmwgfx updates

2012-02-09 Thread Thomas Hellstrom
Should of course be 0/9 /Thomas On 02/09/2012 04:56 PM, Thomas Hellstrom wrote: > A series of updates that brings in fake pageflipping support and > sets initial preferred mode in a way similar to how the legacy Xorg driver > does it. We bump minor to indicate availability of the pageflipping

[Bug 36602] Hierarchical Z support for R600

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #36 from Sven Arvidsson 2012-02-09 08:57:17 PST --- (In reply to comment #35) > Didn't work very well for me, glxgears output garbled and logs full of: Actually scratch that, glxgears in a window doesnt work, but running it

[PATCH 9/9] drm/vmwgfx: Bump driver minor

2012-02-09 Thread Thomas Hellstrom
a393bdc..d0f2c07 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h @@ -40,9 +40,9 @@ #include "ttm/ttm_module.h" #include "vmwgfx_fence.h" -#define VMWGFX_DRIVER_DATE "20111025" +#define VMWGFX_DRIVER_DATE "20120209"

[PATCH 8/9] vmwgfx: Move function declaration to correct header

2012-02-09 Thread Thomas Hellstrom
Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 12 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h |8 ++-- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h

[PATCH 7/9] drm/vmwgfx: Treat out-of-range initial width and height as host errors

2012-02-09 Thread Thomas Hellstrom
And assign the initial width and height to the minimum in that case. Strange values (-1) from these registers have been reported by users. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 18 ++ 1 files changed, 14

[PATCH 6/9] vmwgfx: Pick up the initial size from the width and height regs

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 32 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |2 ++ drivers/gpu/drm/vmwgfx/vmwgfx_fb.c |8 ++--

[PATCH 5/9] vmwgfx: Add page flip support

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 64 ++ drivers/gpu/drm/vmwgfx/vmwgfx_kms.h |8 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 34

[PATCH 4/9] vmwgfx: Pipe fence out of screen object dirty functions

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 21 +++-- 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

[PATCH 3/9] vmwgfx: Make it possible to get fence from execbuf

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |3 ++- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 15 +++ drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 10 +- 3 files

[PATCH 2/9] vmwgfx: Clean up pending event references to struct drm_file objects on close

2012-02-09 Thread Thomas Hellstrom
Pending events may have stale pointer references to struct drm_file objects after a file has been closed, but before the event is supposed to be attached to the drm file. Remove such events on file close. Tested with "modetest". Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz

[PATCH 1/9] vmwgfx: Rework fence event action

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 12 ++ drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 210 ++-- 2 files changed, 104 insertions(+), 118 deletions(-)

[PATCH -next 0/0] vmwgfx updates

2012-02-09 Thread Thomas Hellstrom
A series of updates that brings in fake pageflipping support and sets initial preferred mode in a way similar to how the legacy Xorg driver does it. We bump minor to indicate availability of the pageflipping ioctl.

[Bug 16140] [RADEON:KMS:RV250:RESUME] suspend to RAM resume broken

2012-02-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16140 --- Comment #48 from Wirawan Purwanto 2012-02-09 16:41:59 --- The trick mentioned in comment #45 applies to Dell Latitude D600 model. Here is the link to Canonical's bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/559163

[Bug 16140] [RADEON:KMS:RV250:RESUME] suspend to RAM resume broken

2012-02-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16140 --- Comment #47 from Paul Bolle 2012-02-09 16:12:36 --- (In reply to comment #45) > No fix in sight, but there is a workaround: set a primary password in the > BIOS. > The BIOS will initialize the video card on wake-up and allow Linux to

[PATCH 1/2] intel: Mark up with valgrind intrinsics to reduce false positives

2012-02-09 Thread Ben Widawsky
On 02/09/2012 11:43 AM, Chris Wilson wrote: > In particular, declare the hidden CPU mmaps to valgrind so that it knows > about those memory regions. > > References: https://bugs.freedesktop.org/show_bug.cgi?id=35071 > Signed-off-by: Chris Wilson Acked-by: Ben Widawsky > --- > configure.ac

[PATCH] drm/edid: Strengthen the algorithm for CRT default resolution

2012-02-09 Thread Adam Jackson
If a CRT doesn't deign to provide a preferred mode, we should try to pick a mode with a vaguely reasonable DPI instead of whatever happens to be biggest. Bugzilla: https://bugzilla.redhat.com/522155 Signed-off-by: Adam Jackson --- drivers/gpu/drm/drm_edid.c | 52

[Bug 45825] Displayport output unusable on Llano

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45825 --- Comment #5 from Tomi Pievil?inen 2012-02-09 06:56:30 PST --- I have stock ubuntu oneiric kernel, linux-image-3.2.0-030200rc2-generic -- Configure bugmail:

[Bug 45825] Displayport output unusable on Llano

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45825 --- Comment #4 from Tomi Pievil?inen 2012-02-09 06:55:05 PST --- Created attachment 56820 --> https://bugs.freedesktop.org/attachment.cgi?id=56820 dmesg -- Configure bugmail:

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34096 --- Comment #5 from Sven Arvidsson 2012-02-09 06:05:40 PST --- 414N : It's probably a better idea to open a new bug for this, it might not be the same problem. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34096 --- Comment #4 from 414N 2012-02-09 06:00:05 PST --- Having this problem too with a mesa built from a 2 days old git snapshot. The problem occurs when trying to launch a WebGL demo (http://www.chromeexperiments.com/detail/glass-shader/) using

[Bug 16140] [RADEON:KMS:RV250:RESUME] suspend to RAM resume broken

2012-02-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16140 --- Comment #46 from Paul Bolle 2012-02-09 13:54:32 --- (In reply to comment #45) > I posted this workaround on the Canonical Launchpad > bug report some time ago; I guess it hasn't been shared outside as of yet. Could you add a link to

[PULL] drm-intel-fixes

2012-02-09 Thread Keith Packard
: 827 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120209/4bc8536f/attachment.pgp>

[Bug 45825] Displayport output unusable on Llano

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45825 Alex Deucher changed: What|Removed |Added AssignedTo|xorg-driver-ati at lists.x.org |dri-devel at lists.freedesktop

[PATCH] drm/i915: Fix single msg gmbus_xfers writes

2012-02-09 Thread Benson Leung
gmbus_xfer with a single message (particularly a single message write) would set Bus Cycle Select to 100b, the Gen Stop cycle, instead of 101b, No Index, Stop cycle. This would not start single message i2c transactions. Also, gmbus_xfer done: will disable the interface without checking if it is

[Intel-gfx] [PATCH 2/2] intel: Detect cache domain inconsistency with valgrind

2012-02-09 Thread Daniel Vetter
On Thu, Feb 09, 2012 at 10:43:11AM +, Chris Wilson wrote: > Every access to either the GTT or CPU pointer is supposed to be > proceeded by a set_domain ioctl so that GEM is able to manage the cache > domains correctly and for the following access to be coherent. Of > course, some people

[PATCH 1/2] omap2+: add drm device

2012-02-09 Thread Rob Clark
On Thu, Feb 9, 2012 at 11:28 AM, Greg KH wrote: > On Fri, Jan 13, 2012 at 02:41:59PM -0600, Rob Clark wrote: >> From: Rob Clark >> >> Register OMAP DRM/KMS platform device, and reserve a CMA region for >> the device to use for buffer allocation. >> >> v1: initial patch >> v2: move platform data

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Daniel Vetter
On Wed, Feb 08, 2012 at 11:36:22PM +, Chris Wilson wrote: > On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky wrote: > > Mostly copied from i915 gtt mmaps, this will properly fault in pages as > > the user tries to use them. The only thing of note are that no > > prefaulting occurs, so perhaps

[PATCH 2/2] intel: Detect cache domain inconsistency with valgrind

2012-02-09 Thread Chris Wilson
Every access to either the GTT or CPU pointer is supposed to be proceeded by a set_domain ioctl so that GEM is able to manage the cache domains correctly and for the following access to be coherent. Of course, some people explicitly want incoherent, non-blocking access which is going to trigger

[PATCH 1/2] intel: Mark up with valgrind intrinsics to reduce false positives

2012-02-09 Thread Chris Wilson
In particular, declare the hidden CPU mmaps to valgrind so that it knows about those memory regions. References: https://bugs.freedesktop.org/show_bug.cgi?id=35071 Signed-off-by: Chris Wilson --- configure.ac |3 ++ intel/Makefile.am|1 + intel/intel_bufmgr_gem.c |

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Ben Widawsky
On 02/09/2012 12:36 AM, Chris Wilson wrote: > On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky wrote: >> Mostly copied from i915 gtt mmaps, this will properly fault in pages as >> the user tries to use them. The only thing of note are that no >> prefaulting occurs, so perhaps some kind of madvise

[PATCH] Ignore LVDS on hp t5745 and hp st5747 thin client

2012-02-09 Thread Marc Gariepy
Add a no_lvds quirk for the HP t5745 and HP st5747 thin clients dmidecode for those thin clients are attached in thoses bugs: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911916 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911920 Signed-off-by: Marc Gariepy --- Hello, this

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45760 --- Comment #6 from Michel D?nzer 2012-02-09 01:33:03 PST --- > With start of game the fps is above 30. After hour of game fps down to 10. > That > may be cured by changing, for example, vertical sync in game settings, but > after hour of game

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45760 Michel D?nzer changed: What|Removed |Added Attachment #56792|text/x-log |text/plain mime type|

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45760 Michel D?nzer changed: What|Removed |Added Attachment #56791|text/x-log |text/plain mime type|

[PATCH 1/2] omap2+: add drm device

2012-02-09 Thread Greg KH
On Fri, Jan 13, 2012 at 02:41:59PM -0600, Rob Clark wrote: > From: Rob Clark > > Register OMAP DRM/KMS platform device, and reserve a CMA region for > the device to use for buffer allocation. > > v1: initial patch > v2: move platform data structs into plat-omap to avoid having to > #include

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45760 Michel D?nzer changed: What|Removed |Added Attachment #56790|text/x-log |text/plain mime type|

[Bug 33038] [RADEON:KMS:R600C] celestia crashes radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted' failed

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33038 aceman changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 42727] radeon KMS with CRT TV

2012-02-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42727 --- Comment #3 from Michel D?nzer 2012-02-09 09:13:35 --- Looks like the radeon driver uses NTSC output by default, can the TV handle that? -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are

[Bug 36602] Hierarchical Z support for R600

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #35 from Sven Arvidsson 2012-02-09 08:50:05 UTC --- (In reply to comment #33) > Created attachment 56785 [details] [review] > Kernel patch top of lastest linux + tiling > > Kernel patch on top of last linus + tiling. All seems to

scheduling while atomic on radeon rv620, kernel 3.30-rc3

2012-02-09 Thread Mikko Vinni
Hi, testing 3.3.0-rc3 on an HP Pavilion dv5 (last tested kernel 3.2.5 works fine) and getting bugs apparently right after the radeon module is loaded. Linux version 3.3.0-rc3-CUST (mikko at koni) (gcc version 4.6.2 20120120 (prerelease) (GCC) ) #198 SMP PREEMPT Thu Feb 9 09:36:43 EET 2012

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45760 --- Comment #5 from Andrew 2012-02-08 23:09:21 PST --- Yesterday I switched to xorg edgers, but the problem has remained. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because:

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45760 --- Comment #4 from Andrew 2012-02-08 23:05:01 PST --- Created attachment 56792 --> https://bugs.freedesktop.org/attachment.cgi?id=56792 xorg -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45760 --- Comment #3 from Andrew 2012-02-08 23:04:39 PST --- Created attachment 56791 --> https://bugs.freedesktop.org/attachment.cgi?id=56791 glxinfo -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45760 --- Comment #2 from Andrew 2012-02-08 23:04:11 PST --- Created attachment 56790 --> https://bugs.freedesktop.org/attachment.cgi?id=56790 dmesg -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Bug 16140] [RADEON:KMS:RV250:RESUME] suspend to RAM resume broken

2012-02-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16140 soren121 changed: What|Removed |Added CC||doodle62 at gmail.com --- Comment #45

[Bug 36602] Hierarchical Z support for R600

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #34 from darkbasic 2012-02-08 16:46:33 PST --- Thanks. Any chance hitting git master (masked behind a flag of course)? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail

[Bug 36602] Hierarchical Z support for R600

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #33 from Jerome Glisse 2012-02-08 16:29:04 PST --- Created attachment 56785 --> https://bugs.freedesktop.org/attachment.cgi?id=56785 Kernel patch top of lastest linux + tiling Kernel patch on top of last linus + tiling. All seems

[Bug 36602] Hierarchical Z support for R600

2012-02-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #32 from Jerome Glisse 2012-02-08 16:27:23 PST --- Created attachment 56784 --> https://bugs.freedesktop.org/attachment.cgi?id=56784 r600g patch r600g patch on top of master -- Configure bugmail:

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Ben Widawsky
Mostly copied from i915 gtt mmaps, this will properly fault in pages as the user tries to use them. The only thing of note are that no prefaulting occurs, so perhaps some kind of madvise will happen later if needed. The only other thing missing right not is shrinker support, which will come next

[PATCH 4/5] drm/vgem: getparam ioctl

2012-02-09 Thread Ben Widawsky
Similar to i915, it's nice to be able to query this device uniquely and get some info Signed-off-by: Ben Widawsky --- drivers/gpu/drm/vgem/vgem_drv.c | 29 + include/drm/vgem_drm.h | 11 +++ 2 files changed, 32 insertions(+), 8 deletions(-) diff

[PATCH 3/5] drm/vgem: Add a drm_vgem_gem_object

2012-02-09 Thread Ben Widawsky
and use it Signed-off-by: Ben Widawsky --- drivers/gpu/drm/vgem/vgem_drv.c | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index 3084389..d47bd71 100644 --- a/drivers/gpu/drm/vgem/vgem_drv.c

[PATCH 2/5] drm/vgem: fops should be separate and constified

2012-02-09 Thread Ben Widawsky
...or else it just won't build. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/vgem/vgem_drv.c | 20 +++- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index 82c6787..3084389 100644 ---

[PATCH 1/5] drm/vgem: virtual GEM provider

2012-02-09 Thread Ben Widawsky
From: Adam Jackson This is about as minimal of a virtual GEM service as possible. My plan is to use this with non-native-3D hardware for buffer sharing between X and DRI. The current drisw winsys assumes an unmodified X server, which means it's hopelessly inefficient for both

[RFCv2 PATCH 0/5] virtual GEM provider

2012-02-09 Thread Ben Widawsky
Incorporated some of the feedback given to Adam's original patch. My intention is to use this to do some dmabuf work/testing with i915 since it seemed too difficult to get some of Dave Airlie's stuff working, and I really don't feel like learning anything about nouveau if I can avoid it.

[Bug 42727] radeon KMS with CRT TV

2012-02-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42727 --- Comment #3 from Michel Dänzer mic...@daenzer.net 2012-02-09 09:13:35 --- Looks like the radeon driver uses NTSC output by default, can the TV handle that? -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ---

Re: [PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Ben Widawsky
On 02/09/2012 12:36 AM, Chris Wilson wrote: On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky b...@bwidawsk.net wrote: Mostly copied from i915 gtt mmaps, this will properly fault in pages as the user tries to use them. The only thing of note are that no prefaulting occurs, so perhaps some kind

[Bug 33038] [RADEON:KMS:R600C] celestia crashes radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi-space_accounted' failed

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33038 aceman aceli...@atlas.sk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45760 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Attachment #56790|text/x-log |text/plain

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45760 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Attachment #56791|text/x-log |text/plain

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45760 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Attachment #56792|text/x-log |text/plain

[Bug 45760] World of warcraft 4.3 slow down after a hour of game

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45760 --- Comment #6 from Michel Dänzer mic...@daenzer.net 2012-02-09 01:33:03 PST --- With start of game the fps is above 30. After hour of game fps down to 10. That may be cured by changing, for example, vertical sync in game settings, but

Re: [PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Daniel Vetter
On Wed, Feb 08, 2012 at 11:36:22PM +, Chris Wilson wrote: On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky b...@bwidawsk.net wrote: Mostly copied from i915 gtt mmaps, this will properly fault in pages as the user tries to use them. The only thing of note are that no prefaulting occurs,

[PATCH 1/2] intel: Mark up with valgrind intrinsics to reduce false positives

2012-02-09 Thread Chris Wilson
In particular, declare the hidden CPU mmaps to valgrind so that it knows about those memory regions. References: https://bugs.freedesktop.org/show_bug.cgi?id=35071 Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk --- configure.ac |3 ++ intel/Makefile.am|1 +

[PATCH 2/2] intel: Detect cache domain inconsistency with valgrind

2012-02-09 Thread Chris Wilson
Every access to either the GTT or CPU pointer is supposed to be proceeded by a set_domain ioctl so that GEM is able to manage the cache domains correctly and for the following access to be coherent. Of course, some people explicitly want incoherent, non-blocking access which is going to trigger

Re: [Intel-gfx] [PATCH 2/2] intel: Detect cache domain inconsistency with valgrind

2012-02-09 Thread Daniel Vetter
On Thu, Feb 09, 2012 at 10:43:11AM +, Chris Wilson wrote: Every access to either the GTT or CPU pointer is supposed to be proceeded by a set_domain ioctl so that GEM is able to manage the cache domains correctly and for the following access to be coherent. Of course, some people explicitly

[Bug 45825] Displayport output unusable on Llano

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45825 Alex Deucher ag...@yahoo.com changed: What|Removed |Added AssignedTo|xorg-driver-...@lists.x.org

[Bug 16140] [RADEON:KMS:RV250:RESUME] suspend to RAM resume broken

2012-02-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=16140 --- Comment #46 from Paul Bolle pebo...@tiscali.nl 2012-02-09 13:54:32 --- (In reply to comment #45) I posted this workaround on the Canonical Launchpad bug report some time ago; I guess it hasn't been shared outside as of yet. Could you

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34096 --- Comment #4 from 414N grsf...@tiscali.it 2012-02-09 06:00:05 PST --- Having this problem too with a mesa built from a 2 days old git snapshot. The problem occurs when trying to launch a WebGL demo

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34096 --- Comment #5 from Sven Arvidsson s...@whiz.se 2012-02-09 06:05:40 PST --- 414N : It's probably a better idea to open a new bug for this, it might not be the same problem. -- Configure bugmail:

[PATCH] Ignore LVDS on hp t5745 and hp st5747 thin client

2012-02-09 Thread Marc Gariepy
Add a no_lvds quirk for the HP t5745 and HP st5747 thin clients dmidecode for those thin clients are attached in thoses bugs: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911916 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911920 Signed-off-by: Marc Gariepy mgari...@ubuntu.com

Re: [PATCH 1/2] intel: Mark up with valgrind intrinsics to reduce false positives

2012-02-09 Thread Ben Widawsky
On 02/09/2012 11:43 AM, Chris Wilson wrote: In particular, declare the hidden CPU mmaps to valgrind so that it knows about those memory regions. References: https://bugs.freedesktop.org/show_bug.cgi?id=35071 Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk Acked-by: Ben Widawsky

[Bug 45825] Displayport output unusable on Llano

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45825 --- Comment #4 from Tomi Pieviläinen tomi.pievilainen+freedesk...@iki.fi 2012-02-09 06:55:05 PST --- Created attachment 56820 -- https://bugs.freedesktop.org/attachment.cgi?id=56820 dmesg -- Configure bugmail:

[PATCH 1/9] vmwgfx: Rework fence event action

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Reviewed-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 12 ++ drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 210 ++-- 2 files changed, 104

[PATCH 2/9] vmwgfx: Clean up pending event references to struct drm_file objects on close

2012-02-09 Thread Thomas Hellstrom
Pending events may have stale pointer references to struct drm_file objects after a file has been closed, but before the event is supposed to be attached to the drm file. Remove such events on file close. Tested with modetest. Signed-off-by: Thomas Hellstrom thellst...@vmware.com Reviewed-by:

[PATCH 3/9] vmwgfx: Make it possible to get fence from execbuf

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Reviewed-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |3 ++- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 15 +++

[PATCH 4/9] vmwgfx: Pipe fence out of screen object dirty functions

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 21 +++-- 1 files changed, 15 insertions(+), 6 deletions(-) diff --git

[PATCH 6/9] vmwgfx: Pick up the initial size from the width and height regs

2012-02-09 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 32 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |2 ++

[PATCH 7/9] drm/vmwgfx: Treat out-of-range initial width and height as host errors

2012-02-09 Thread Thomas Hellstrom
And assign the initial width and height to the minimum in that case. Strange values (-1) from these registers have been reported by users. Signed-off-by: Thomas Hellstrom thellst...@vmware.com Reviewed-by: Jakob Bornecrantz ja...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 18

[PATCH 8/9] vmwgfx: Move function declaration to correct header

2012-02-09 Thread Thomas Hellstrom
Signed-off-by: Thomas Hellstrom thellst...@vmware.com Reviewed-by: Jakob Bornecrantz ja...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 12 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h |8 ++-- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git

[PATCH 9/9] drm/vmwgfx: Bump driver minor

2012-02-09 Thread Thomas Hellstrom
/vmwgfx_drv.h index a393bdc..d0f2c07 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h @@ -40,9 +40,9 @@ #include ttm/ttm_module.h #include vmwgfx_fence.h -#define VMWGFX_DRIVER_DATE 20111025 +#define VMWGFX_DRIVER_DATE 20120209 #define

Re: [PATCH -next 0/0] vmwgfx updates

2012-02-09 Thread Thomas Hellstrom
Should of course be 0/9 /Thomas On 02/09/2012 04:56 PM, Thomas Hellstrom wrote: A series of updates that brings in fake pageflipping support and sets initial preferred mode in a way similar to how the legacy Xorg driver does it. We bump minor to indicate availability of the pageflipping

[Bug 16140] [RADEON:KMS:RV250:RESUME] suspend to RAM resume broken

2012-02-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=16140 --- Comment #47 from Paul Bolle pebo...@tiscali.nl 2012-02-09 16:12:36 --- (In reply to comment #45) No fix in sight, but there is a workaround: set a primary password in the BIOS. The BIOS will initialize the video card on wake-up and

[Bug 16140] [RADEON:KMS:RV250:RESUME] suspend to RAM resume broken

2012-02-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=16140 --- Comment #48 from Wirawan Purwanto wiraw...@gmail.com 2012-02-09 16:41:59 --- The trick mentioned in comment #45 applies to Dell Latitude D600 model. Here is the link to Canonical's bug report:

[Bug 36602] Hierarchical Z support for R600

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #35 from Sven Arvidsson s...@whiz.se 2012-02-09 08:50:05 UTC --- (In reply to comment #33) Created attachment 56785 [details] [review] Kernel patch top of lastest linux + tiling Kernel patch on top of last linus + tiling. All

[Bug 36602] Hierarchical Z support for R600

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #36 from Sven Arvidsson s...@whiz.se 2012-02-09 08:57:17 PST --- (In reply to comment #35) Didn't work very well for me, glxgears output garbled and logs full of: Actually scratch that, glxgears in a window doesnt work, but running

[Bug 42727] radeon KMS with CRT TV

2012-02-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42727 --- Comment #4 from Aur apro...@linux62.org 2012-02-09 17:48:16 --- I don't know if this TV supports NTSC but it supports PAL and SECAM. Is it possible to force driver to use PAL by a kernel option or by a patch ? -- Configure bugmail:

[PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Jesse Barnes
This prevents a race between module init and sysfs access (usually only seen at module reload time, or if somehow your userspace starts fast enough and pokes at /sys/class/drm while the drivers are still initializing). Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org ---

[Bug 42727] radeon KMS with CRT TV

2012-02-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42727 Alex Deucher alexdeuc...@gmail.com changed: What|Removed |Added CC|

[PATCH] drm/edid: Strengthen the algorithm for CRT default resolution

2012-02-09 Thread Adam Jackson
If a CRT doesn't deign to provide a preferred mode, we should try to pick a mode with a vaguely reasonable DPI instead of whatever happens to be biggest. Bugzilla: https://bugzilla.redhat.com/522155 Signed-off-by: Adam Jackson a...@redhat.com --- drivers/gpu/drm/drm_edid.c | 52

Re: [PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Eugeni Dodonov
On Thu, Feb 9, 2012 at 15:56, Jesse Barnes jbar...@virtuousgeek.org wrote: This prevents a race between module init and sysfs access (usually only seen at module reload time, or if somehow your userspace starts fast enough and pokes at /sys/class/drm while the drivers are still initializing).

Re: [PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Daniel Vetter
On Thu, Feb 9, 2012 at 21:24, Eugeni Dodonov eug...@dodonov.net wrote: On Thu, Feb 9, 2012 at 15:56, Jesse Barnes jbar...@virtuousgeek.org wrote: This prevents a race between module init and sysfs access (usually only seen at module reload time, or if somehow your userspace starts fast enough

[Bug 45856] New: [r300g] piglit glx-swap-pixmap leaves screen completely corrupted

2012-02-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45856 Bug #: 45856 Summary: [r300g] piglit glx-swap-pixmap leaves screen completely corrupted Classification: Unclassified Product: Mesa Version: git Platform: Other

[PULL] drm-intel-fixes

2012-02-09 Thread Keith Packard
Here are a few bug fixes for drm/i915. This fixes switching from interlaced to non-interlaced mode at boot time, as well as a bunch of regressions caused by bad DP bandwidth computations. The following changes since commit acb42a3b611d7ad4cb173c3b37674b549df2ffeb: Merge branch 'drm-fixes' of

  1   2   >