Re: [Intel-gfx] [Patch 0/5]: the patch set for kms about CRT/LVDS

2009-03-03 Thread yakui_zhao
On Tue, 2009-03-03 at 18:25 +0800, Steven J Newbury wrote: > On Tue, 2009-03-03 at 17:48 +0800, yakui_zhao wrote: > > Hi > > the following is the patch set for KMS about CRT/LVDS. I have tested > > them on the > > T61 box. > > patch 01: add the CRT save/restore for VT switch > > patch

[Bug 19504] [945GM] glitch in ut2004, regression

2009-03-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=19504 --- Comment #11 from haihao 2009-03-03 19:48:08 PST --- I tested it against mesa_7_4_branch(819b028a8e74bf67d28bf8b29efc7cc5dcb2a758) on a x86 box, and it worked fine with game type Invasion and DeathMatch and map DM_HyperBlast2. Could you t

[PATCH] drm/i915: TV modes' parameters sync up with 2D driver

2009-03-03 Thread Zhenyu Wang
Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_tv.c | 112 +++--- 1 files changed, 56 insertions(+), 56 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index f95dc4d..ceca947 100644 --- a/drivers/gpu/drm/i915

Re: [Intel-gfx] [Patch 0/5]: the patch set for kms about CRT/LVDS

2009-03-03 Thread Wang, Zhenyu Z
On 2009.03.04 10:49:39 +0800, Steven J Newbury wrote: > On Wed, 2009-03-04 at 10:28 +0800, Zhenyu Wang wrote: > > On 2009.03.03 18:25:39 +0800, Steven J Newbury wrote: > ... > > > While you are working on this, any chance you could look at the KMS > > > S-Video initial detection path? For some reas

Re: [Intel-gfx] [Patch 0/5]: the patch set for kms about CRT/LVDS

2009-03-03 Thread Steven J Newbury
On Wed, 2009-03-04 at 10:28 +0800, Zhenyu Wang wrote: > On 2009.03.03 18:25:39 +0800, Steven J Newbury wrote: ... > > While you are working on this, any chance you could look at the KMS > > S-Video initial detection path? For some reason TV out is detected on > > boot despite not being connected. X

Re: [Intel-gfx] [Patch 0/5]: the patch set for kms about CRT/LVDS

2009-03-03 Thread Zhenyu Wang
On 2009.03.03 18:25:39 +0800, Steven J Newbury wrote: > On Tue, 2009-03-03 at 17:48 +0800, yakui_zhao wrote: > > Hi > > the following is the patch set for KMS about CRT/LVDS. I have tested > > them on the > > T61 box. > > patch 01: add the CRT save/restore for VT switch > > patch 02: S

[PATCH] drm/i915: TV detection fix

2009-03-03 Thread Zhenyu Wang
Check encoder has real enabled crtc for TV detect, and fix missing TV type setting after detect. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_tv.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/inte

[PATCH] drm/i915: Fix TV get_modes to return modes count

2009-03-03 Thread Zhenyu Wang
TV modes count must be returned in get_modes. This also fixed TV mode's clock calculation int overflow issue, and use 0.01 precision for mode refresh validation. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/intel_tv.c | 20 1 files changed, 12 insertions(+), 8 delet

[PATCH] drm/i915: TV mode_set sync up with 2D driver

2009-03-03 Thread Zhenyu Wang
Fix TV control save register for untouched bits, and color knobs different definition for 945 and 965 chips. Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/i915_reg.h |2 +- drivers/gpu/drm/i915/intel_tv.c | 11 --- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git

RE: Additional DRM Version Info

2009-03-03 Thread Zhao, Chunfeng
Hi Yun, No, Charles was asking the open source folks for a generic DRM versioning question, it will apply to all HW driver I think. Calvin From: Tu, Yun Sent: Tuesday, March 03, 2009 4:44 PM To: Zhao, Chunfeng; Zhao, Chunfeng; Johnson, Charles F; dri-devel@lists

RE: Additional DRM Version Info

2009-03-03 Thread Tu, Yun
Calvin: I think psb drm driver is not in freedesktop.net’s public drm repository, right? Thanks Mark From: Zhao, Chunfeng [mailto:[email protected]] Sent: 2009年3月4日 3:20 To: Zhao, Chunfeng; Johnson, Charles F; [email protected] Subject: RE: Additional DRM Version Info And the

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

2009-03-03 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12634 --- Comment #18 from [email protected] 2009-03-03 14:54 --- Still remains. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the

[PATCH 04/10] drm: drop Linux < 2.6.12 support

2009-03-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- linux-core/drmP.h |6 -- linux-core/drm_agpsupport.c | 37 + linux-core/drm_memory.c |7 --- linux-core/drm_memory_debug.c |4 4 files changed, 1 insertions(+), 53 deletions(-) di

[PATCH 02/10] drm: drop Linux <= 2.6.8 support

2009-03-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- linux-core/drm_os_linux.h | 18 -- 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/linux-core/drm_os_linux.h b/linux-core/drm_os_linux.h index 8921944..4f1e83b 100644 --- a/linux-core/drm_os_linux.h +++ b/linux-core/drm_os_linux.

[PATCH 00/10] DRM cleanup

2009-03-03 Thread Pekka Paalanen
Even 2.6.21 is about two years old now. Drop support for all kernels before 2.6.21. This kernel version is a nice stopping point, since it guarantees #define DRM_FULL_MM_COMPAT. If no-one objects, I can push these into drm.git myself. Pekka Paalanen (10): drm: drm_bo_mmap_locked() is static.

[PATCH 08/10] drm: drop Linux < 2.6.19 support

2009-03-03 Thread Pekka Paalanen
This also means dropping the DRM_ODD_MM_COMPAT case. Signed-off-by: Pekka Paalanen --- linux-core/drm_bo.c | 46 linux-core/drm_bo_move.c | 16 --- linux-core/drm_compat.c | 272 + linux-core/drm_compat.h | 82 --

[PATCH 05/10] drm: drop Linux < 2.6.15 support

2009-03-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- linux-core/drm_bo.c |7 --- linux-core/drm_compat.c | 104 +-- linux-core/drm_compat.h | 24 +-- linux-core/drm_drv.c|3 - linux-core/drm_ttm.c|6 --- 5 files changed, 2 insertions(+),

[PATCH 10/10] drm: drop Linux < 2.6.21 support

2009-03-03 Thread Pekka Paalanen
This also means, that DRM_FULL_MM_COMPAT is always defined, so it is dropped, too. Signed-off-by: Pekka Paalanen --- linux-core/drm_compat.c | 164 --- linux-core/drm_compat.h | 26 linux-core/drm_vm.c |6 +-- 3 files changed, 1 ins

[PATCH 09/10] drm, via: drop Linux < 2.6.20 support

2009-03-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- linux-core/drm_bo.c | 13 - linux-core/drm_objects.h |4 linux-core/via_dmablit.c | 12 3 files changed, 0 insertions(+), 29 deletions(-) diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c index 6f083f5..f43480c 100

[PATCH 03/10] drm: drop Linux < 2.6.10 support

2009-03-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- linux-core/drm_compat.h | 21 - linux-core/mga_drv.c |2 +- linux-core/nouveau_drv.c |2 +- linux-core/r128_drv.c|2 +- linux-core/radeon_drv.c |2 +- linux-core/xgi_drv.c |2 +- 6 files changed, 5 insertion

[PATCH 01/10] drm: drm_bo_mmap_locked() is static.

2009-03-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- linux-core/drm_vm.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c index d4d97a4..6de6031 100644 --- a/linux-core/drm_vm.c +++ b/linux-core/drm_vm.c @@ -870,8 +870,7 @@ static struct vm_operati

[PATCH 07/10] drm: drop Linux < 2.6.18 support

2009-03-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- linux-core/drm_compat.c | 45 - linux-core/drm_compat.h | 11 --- 2 files changed, 0 insertions(+), 56 deletions(-) diff --git a/linux-core/drm_compat.c b/linux-core/drm_compat.c index e90338f..ff4085d 1006

[PATCH 06/10] drm: drop Linux < 2.6.16 support

2009-03-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- linux-core/drmP.h |2 -- linux-core/drm_compat.h | 10 -- 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/linux-core/drmP.h b/linux-core/drmP.h index bc68bfe..6770282 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -5

[Bug 20246] [852GM/855GM] Crash due to assertion failure

2009-03-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20246 Eric Anholt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH] drm: Return EINVAL on duplicate objects in execbuffer object list

2009-03-03 Thread krh
From: Kristian Høgsberg If userspace passes an object list with the same object appearing more than once, we end up hitting the BUG_ON() in i915_gem_object_set_to_gpu_domain() as it gets called a second time for the same object. Signed-off-by: Kristian Høgsberg --- drivers/gpu/drm/i915/i915_dr

RE: Additional DRM Version Info

2009-03-03 Thread Zhao, Chunfeng
And the xorg.0.log message is saying that the psb_dri.so is expecting psb.ko to be 5.x.x-7.0.0, but it see a psb.ko with version of 8.0.0 was loaded. It means that the psb_dri.so is a little bit old. Calvin From: Zhao, Chunfeng Sent: Tuesday, March 03, 2009 11:1

RE: Additional DRM Version Info

2009-03-03 Thread Zhao, Chunfeng
Hi Charles, In the kernel driver tree, umg-moorestown-drm-tg, psb_drv.h, it define the version info for kernel driver psb.ko: #define PSB_DRM_DRIVER_DATE "20081216" #define PSB_DRM_DRIVER_MAJOR 8 #define PSB_DRM_DRIVER_MINOR 0 #define PAB_DRM_DRIVER_PATCHLEVEL 0 During driver load, this version i

Additional DRM Version Info

2009-03-03 Thread Johnson, Charles F
Concerning my earlier email concern DRM versioning, how does the version in the following Xorg.0.log text relate to the DRM version in the kernel and libdrm: Kernel DRM version: 8.0.0 and I can work with versions 5.0.x - 7.x.x Please update either this 2D driver or your

Re: [TIP,regression,i915] /dev/dri/card0 is no longer present

2009-03-03 Thread Eric Anholt
On Mon, 2009-03-02 at 22:34 +0100, Ingo Molnar wrote: > * Pallipadi, Venkatesh wrote: > > > On Sun, 2009-03-01 at 05:48 -0800, Sitsofe Wheeler wrote: > > > On Sun, Mar 01, 2009 at 12:39:48PM +0100, Ingo Molnar wrote: > > > > > > > > Thanks, i've reverted the commit for now. Could you please send

DRM API Versioning

2009-03-03 Thread Johnson, Charles F
Is there a description somewhere on how the libdrm/kernel drm versioning works ?? I've grepped until I'm blue in the face and both for libdrm and kernel drm, I just not finding how the API version is specified. Any hints would be appreciated. Charles Johnson Ultra-Mobility Group UPSG Archite

Re: [TIP,regression,i915] /dev/dri/card0 is no longer present

2009-03-03 Thread Sitsofe Wheeler
On Mon, Mar 02, 2009 at 11:05:58AM -0800, Pallipadi, Venkatesh wrote: > On Sun, 2009-03-01 at 05:48 -0800, Sitsofe Wheeler wrote: > > On Sun, Mar 01, 2009 at 12:39:48PM +0100, Ingo Molnar wrote: > > > > > > Thanks, i've reverted the commit for now. Could you please send > > > a 'dmesg' from the boo

[Bug 20129] Large texture object obscuring display with radeon driver in dxx-rebirth

2009-03-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20129 --- Comment #9 from [email protected] 2009-03-03 03:05:47 PST --- Oops, I made a mistake. I forgot that OGL_DISABLE(TEXTURE_2D) is a macro that tests an internal variable before executing glDisble(GL_TEXTURE_2D). So, I fixed the code to lo

Re: [Intel-gfx] [Patch 0/5]: the patch set for kms about CRT/LVDS

2009-03-03 Thread Steven J Newbury
On Tue, 2009-03-03 at 17:48 +0800, yakui_zhao wrote: > Hi > the following is the patch set for KMS about CRT/LVDS. I have tested them > on the > T61 box. > patch 01: add the CRT save/restore for VT switch > patch 02: Sync crt mode_valid/mode_set with intel driver > patch 03: sync C

Re: [Intel-gfx] [PATCH] i915: support page flipping

2009-03-03 Thread Chris Wilson
On Thu, 2009-02-26 at 14:35 -0800, Jesse Barnes wrote: > > > + ret = i915_gem_object_pin(obj, 0); > > > + if (ret) { > > > + DRM_ERROR("failed to pin object for flip\n"); > > > + ret = -EBUSY; > > > > What's the rationale for changing the reported err

[Patch 1/5]: DRM/I915: Add the crt save/restore function for VT switch

2009-03-03 Thread yakui_zhao
Subject: Patch DRM/i915: Add the crt save/restore function for VT switch From: Zhao Yakui Add the crt save/restore function for VT switch Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/intel_crt.c | 22 ++ 1 file changed, 22 insertions(+) Index: linux-2.6/drivers/gp

[Patch 3/5]: DRM/I915: Sync crt hotplug detection with intel video driver

2009-03-03 Thread yakui_zhao
Subject: Patch DRM/I915: Sync crt hotplug detection with intel video driver From: Zhao Yakui Synchronize the function of crt hotplug detection with intel driver Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/i915_reg.h | 16 + drivers/gpu/drm/i915/intel_crt.c | 47

[Patch 2/5]: DRM/I915: Sync mode_valid/mode_set with intel video driver

2009-03-03 Thread yakui_zhao
Subject: Patch DRM/I915: Sync mode_valid/mode_set with intel video driver From: Zhao Yakui Synchronize the function of mode_valid/mode_set with intel video driver Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/intel_crt.c | 20 1 file changed, 16 insertions(+), 4 del

[Patch 4/5]: DRM/I915: Add the load-detection for crt detect

2009-03-03 Thread yakui_zhao
Subject: Patch DRM/I915: Add the load-detection for crt detect From: Zhao Yakui Add the load-detection for crt detect Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/intel_crt.c | 136 ++- 1 file changed, 133 insertions(+), 3 deletions(-) Index: li

[Patch 5/5]: DRM/I915: Sync the LVDS save/restore function with intel driver

2009-03-03 Thread yakui_zhao
Subject: Patch DRM/I915: Sync the LVDS save/restore function with intel driver From: Zhao Yakui Sync the LVDS save/restore functin with intel driver. At the same time the possible_crtcs/clones for LVDS is added explicitly. Signed-off-by: Zhao Yakui --- drivers/gpu/drm/i915/i915_reg.h |

[Patch 0/5]: the patch set for kms about CRT/LVDS

2009-03-03 Thread yakui_zhao
Hi the following is the patch set for KMS about CRT/LVDS. I have tested them on the T61 box. patch 01: add the CRT save/restore for VT switch patch 02: Sync crt mode_valid/mode_set with intel driver patch 03: sync CRT hotplug detection with intel driver patch 04: add the load-d