[Bug 16334] [DRM 945GM] i915 Oops (i915_driver_lastclose) when shutdown X

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16334


Gordon Jin gordon@intel.com changed:

   What|Removed |Added

  Component|DRM/other   |DRM/Intel
   Keywords||NEEDINFO




--- Comment #7 from Gordon Jin gordon@intel.com  2009-02-05 00:15:13 PST 
---
Does this still exist with the latest code?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16245] [kernel modesetting] display mashed after change mode

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16245


Gordon Jin gordon@intel.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
  Component|DRM/other   |DRM/Intel
 Resolution||WONTFIX




--- Comment #2 from Gordon Jin gordon@intel.com  2009-02-05 00:18:24 PST 
---
Closing this ancient bug, since the code has changed much after that.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15376] X aborts on running glxinfo

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15376


Gordon Jin gordon@intel.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #3 from Gordon Jin gordon@intel.com  2009-02-05 00:22:18 PST 
---
Closing this ancient bug, since the code has changed much after that.
If you have problem with the latest code, please file new bugs.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15376] X aborts on running glxinfo

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15376


Johan Bilien j...@via.ecp.fr changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED




--- Comment #4 from Johan Bilien j...@via.ecp.fr  2009-02-05 00:28:52 PST ---
Confirming that i can't reproduce this


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16334] [DRM 945GM] i915 Oops (i915_driver_lastclose) when shutdown X

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16334


Johannes Engel jcnen...@googlemail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #8 from Johannes Engel jcnen...@googlemail.com  2009-02-05 
01:01:23 PST ---
For me it is gone.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 19963] New: libdrm-2.4.4: slow 3D performance on intel 965gm after suspend to ram

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=19963

   Summary: libdrm-2.4.4: slow 3D performance on intel 965gm after
suspend to ram
   Product: DRI
   Version: XOrg CVS
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: libdrm
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: shadow...@gmail.com
CC: r...@gentoo.org


Created an attachment (id=22606)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=22606)
xorg config

After returning from suspend-to-ram, 3D accel. is not working as expected --
meaning, compiz 0.7.8 becomes unusable -- untill reboot that is.

And the fun part? It works as intended with libdrm-2.4.3 (after rebuilding
everything and rebooting).. sometimes..

With libdrm-2.4.3 system experiences such simptoms as described at
https://bugs.freedesktop.org/show_bug.cgi?id=17807 -- random square blip under
mouse cursor, touchpad working but every other input dead after returning from
suspend-to-ram -- also at one time there was a message about xorg being in
infinite loop.

Trading one annoying problem for another.

I'll attach all related logs below. Please let me know if you need something
else.

Using:
- libdrm-2.4.4
- xf86-video-intel-2.6.1
- xorg-server-1.5.3
- mesa-7.3
- EXA accel method
- DRI


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 19963] libdrm-2.4.4: slow 3D performance on intel 965gm after suspend to ram

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=19963





--- Comment #1 from Uros shadow...@gmail.com  2009-02-05 05:14:42 PST ---
Created an attachment (id=22607)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=22607)
xorg log


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 19963] libdrm-2.4.4: slow 3D performance on intel 965gm after suspend to ram

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=19963





--- Comment #2 from Uros shadow...@gmail.com  2009-02-05 05:15:18 PST ---
Created an attachment (id=22608)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=22608)
dmesg log


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 12634] video distortion and lockup with i830 video chip and 2.6.28.3

2009-02-05 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12634


r...@sisk.pl changed:

   What|Removed |Added

 CC||r...@sisk.pl
OtherBugsDependingO||11808
  nThis||




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 12419] possible circular locking dependency on i915 dma

2009-02-05 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12419





--- Comment #3 from r...@sisk.pl  2009-02-05 07:59 ---
On Thursday 05 February 2009, Wang Chen wrote:
 Rafael J. Wysocki said the following on 2009-2-4 18:23:
  This message has been generated automatically as a part of a report
  of recent regressions.
  
  The following bug entry is on the current list of known regressions
  from 2.6.28.  Please verify if it still should be listed and let me know
  (either way).
  
  
  Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=12419
  Subject : possible circular locking dependency on i915 dma
  Submitter   : Wang Chen wangc...@cn.fujitsu.com
  Date: 2009-01-08 14:11 (28 days old)
  References  : http://marc.info/?l=linux-kernelm=123142399720125w=4
  
 
 status not changed.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Gem GTT mmaps..

2009-02-05 Thread Jesse Barnes
On Wednesday, February 4, 2009 3:42 pm Eric Anholt wrote:
 On Wed, 2009-02-04 at 15:02 -0800, Jesse Barnes wrote:
  On Wednesday, February 4, 2009 2:32 pm Thomas Hellström wrote:
   Jesse,
  
   I have some concerns about the GEM GTT mmap functionality.
 
  Thanks for looking it over again; you would know since some of this code
  came from you in the first place. :)
 
   First, a gem object pointer is copied to map-offset and then to the
   vma-vm_private_data without proper reference counting. This pointer is
   used in i915_gem_fault() to access the gem object. However if the gem
   object is destroyed and a process then tries to access data in a vma
   mapping the (now destroyed) object, it would dereference a stale
   pointer into kernel space? Shouldn't those pointers be reference
   counted, and to account for fork(), a vm open and close would be needed
   to  reference count corresponding pointers of newly created and
   destroyed vmas?
 
  Yeah looks like we don't protect against vm_private_data pointing at a
  freed or other object.  But rather than refcounting the pointers I wonder
  if we could make the private data use the GEM object name instead, then
  do the lookup in the fault handler?

 The object doesn't necessarily have a public name.  You do need to
 refcount the objects.

So if we leave the lookup reference around from the GTT mapping ioctl, that 
would take care of new mappings.  And if we added/removed references at VM 
open/close time, we should be covered for fork.  But is it ok to add a new 
unref in the finish ioctl for GTT mapped objects?  I don't think so, because 
we don't know for sure if the caller was the one that created the new fake 
offset (which would be one way of detecting whether it was GTT mapped).  
Seems like we need a new unmap ioctl?  Or we could put the mapping ref/unref 
in libdrm, where it would be tracked on a per-process basis...

-- 
Jesse Barnes, Intel Open Source Technology Center

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 19963] libdrm-2.4.4: slow 3D performance on intel 965gm after suspend to ram

2009-02-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=19963





--- Comment #3 from Uros shadow...@gmail.com  2009-02-05 14:32:07 PST ---
Sorry for not noticing another bug report before posting ... almost the same
problem with restarting/reloading xorg and performance degradation
(libdrm-2.4.4) @ http://bugs.freedesktop.org/show_bug.cgi?id=19675


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[PATCH] drm/radeon: Print PCI ID of cards when probing

2009-02-05 Thread Benjamin Herrenschmidt
This is usedul when you have multiple cards to figure out which
one is which minor.

Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---

 drivers/gpu/drm/drm_stub.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-work.orig/drivers/gpu/drm/drm_stub.c  2009-02-04 17:18:21.0 
+1100
+++ linux-work/drivers/gpu/drm/drm_stub.c   2009-02-04 17:18:29.0 
+1100
@@ -403,9 +403,9 @@ int drm_get_dev(struct pci_dev *pdev, co
 
list_add_tail(dev-driver_item, driver-device_list);
 
-   DRM_INFO(Initialized %s %d.%d.%d %s on minor %d\n,
+   DRM_INFO(Initialized %s %d.%d.%d %s for %s on minor %d\n,
 driver-name, driver-major, driver-minor, driver-patchlevel,
-driver-date, dev-primary-index);
+driver-date, pci_name(pdev), dev-primary-index);
 
return 0;
 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[PATCH] drm: Remove typedef drm_local_map_t

2009-02-05 Thread Benjamin Herrenschmidt
Now that linus has real separate struct drm_map and struct drm_local_map,
the drm_local_map_t typedef is gratuituous and I don't like typedefs of
structs that much so remove it.

Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
---

 drivers/gpu/drm/i810/i810_drv.h |4 ++--
 drivers/gpu/drm/i830/i830_drv.h |4 ++--
 drivers/gpu/drm/i915/i915_drv.h |6 +++---
 drivers/gpu/drm/mga/mga_drv.h   |   12 ++--
 drivers/gpu/drm/r128/r128_drv.h |   10 +-
 drivers/gpu/drm/radeon/radeon_cp.c  |2 +-
 drivers/gpu/drm/radeon/radeon_drv.h |   12 ++--
 drivers/gpu/drm/savage/savage_drv.h |   16 
 drivers/gpu/drm/sis/sis_drv.h   |2 +-
 drivers/gpu/drm/sis/sis_mm.c|4 ++--
 drivers/gpu/drm/via/via_drv.h   |8 
 drivers/gpu/drm/via/via_verifier.c  |   11 ++-
 drivers/gpu/drm/via/via_verifier.h  |2 +-
 include/drm/drmP.h  |2 --
 14 files changed, 47 insertions(+), 48 deletions(-)

--- linux-work.orig/drivers/gpu/drm/mga/mga_drv.h   2009-02-04 
13:36:05.0 +1100
+++ linux-work/drivers/gpu/drm/mga/mga_drv.h2009-02-04 13:36:05.0 
+1100
@@ -138,12 +138,12 @@ typedef struct drm_mga_private {
unsigned int texture_offset;
unsigned int texture_size;
 
-   drm_local_map_t *sarea;
-   drm_local_map_t *mmio;
-   drm_local_map_t *status;
-   drm_local_map_t *warp;
-   drm_local_map_t *primary;
-   drm_local_map_t *agp_textures;
+   struct drm_local_map *sarea;
+   struct drm_local_map *mmio;
+   struct drm_local_map *status;
+   struct drm_local_map *warp;
+   struct drm_local_map *primary;
+   struct drm_local_map *agp_textures;
 
unsigned long agp_handle;
unsigned int agp_size;
Index: linux-work/drivers/gpu/drm/r128/r128_drv.h
===
--- linux-work.orig/drivers/gpu/drm/r128/r128_drv.h 2009-02-04 
13:35:45.0 +1100
+++ linux-work/drivers/gpu/drm/r128/r128_drv.h  2009-02-04 13:36:05.0 
+1100
@@ -115,11 +115,11 @@ typedef struct drm_r128_private {
u32 depth_pitch_offset_c;
u32 span_pitch_offset_c;
 
-   drm_local_map_t *sarea;
-   drm_local_map_t *mmio;
-   drm_local_map_t *cce_ring;
-   drm_local_map_t *ring_rptr;
-   drm_local_map_t *agp_textures;
+   struct drm_local_map *sarea;
+   struct drm_local_map *mmio;
+   struct drm_local_map *cce_ring;
+   struct drm_local_map *ring_rptr;
+   struct drm_local_map *agp_textures;
struct drm_ati_pcigart_info gart_info;
 } drm_r128_private_t;
 
Index: linux-work/drivers/gpu/drm/radeon/radeon_cp.c
===
--- linux-work.orig/drivers/gpu/drm/radeon/radeon_cp.c  2009-02-04 
13:36:05.0 +1100
+++ linux-work/drivers/gpu/drm/radeon/radeon_cp.c   2009-02-04 
13:36:05.0 +1100
@@ -1818,7 +1818,7 @@ void radeon_master_destroy(struct drm_de
 int radeon_driver_firstopen(struct drm_device *dev)
 {
int ret;
-   drm_local_map_t *map;
+   struct drm_local_map *map;
drm_radeon_private_t *dev_priv = dev-dev_private;
 
dev_priv-gart_info.table_size = RADEON_PCIGART_TABLE_SIZE;
Index: linux-work/drivers/gpu/drm/radeon/radeon_drv.h
===
--- linux-work.orig/drivers/gpu/drm/radeon/radeon_drv.h 2009-02-04 
13:36:05.0 +1100
+++ linux-work/drivers/gpu/drm/radeon/radeon_drv.h  2009-02-04 
13:36:05.0 +1100
@@ -227,7 +227,7 @@ struct radeon_virt_surface {
 #define RADEON_PURGE_EMITED(1  1)
 
 struct drm_radeon_master_private {
-   drm_local_map_t *sarea;
+   struct drm_local_map *sarea;
drm_radeon_sarea_t *sarea_priv;
 };
 
@@ -290,10 +290,10 @@ typedef struct drm_radeon_private {
unsigned long buffers_offset;
unsigned long gart_textures_offset;
 
-   drm_local_map_t *sarea;
-   drm_local_map_t *cp_ring;
-   drm_local_map_t *ring_rptr;
-   drm_local_map_t *gart_textures;
+   struct drm_local_map *sarea;
+   struct drm_local_map *cp_ring;
+   struct drm_local_map *ring_rptr;
+   struct drm_local_map *gart_textures;
 
struct mem_block *gart_heap;
struct mem_block *fb_heap;
@@ -320,7 +320,7 @@ typedef struct drm_radeon_private {
 
int num_gb_pipes;
int track_flush;
-   drm_local_map_t *mmio;
+   struct drm_local_map *mmio;
 } drm_radeon_private_t;
 
 typedef struct drm_radeon_buf_priv {
Index: linux-work/drivers/gpu/drm/savage/savage_drv.h
===
--- linux-work.orig/drivers/gpu/drm/savage/savage_drv.h 2009-02-04 
13:35:45.0 +1100
+++ linux-work/drivers/gpu/drm/savage/savage_drv.h  2009-02-04 
13:36:05.0 +1100
@@ -151,14 +151,14 @@ typedef struct