[Bug 16157] [i965] glean/glsl1 run abort

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16157


Shuang He <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 AssignedTo|[EMAIL PROTECTED]|[EMAIL PROTECTED]
   ||com




--- Comment #3 from Shuang He <[EMAIL PROTECTED]>  2008-05-29 23:30:29 PST ---
some bisect work shows following 2 commits bring in this issue:

commit 0639998ee8750083b5e4ad90371c475cb2cca88f
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Fri May 16 13:15:03 2008 -0700

Fix DRI build

commit ade508312c701ce89d3c2cd717994dbbabb4f207
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Wed May 14 16:09:46 2008 -0600

Updated GLSL uniform/sampler handling from gallium-0.1 branch

Previously, the shader linker combined the uniforms used by the vertex and
fragment shaders into a combined set of uniforms.  This made the
implementat
of glUniform*() simple, but was rather inefficient otherwise.  Now each
shad
gets its own set of uniforms (no more modelview matrix showing up in the
fragment shader uniforms, for example).

cherry-picked by hand from gallium-0.1 branch


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: in-kernel DRM tree move around....

2008-05-29 Thread Dave Airlie
On Thu, May 29, 2008 at 9:02 PM, David Woodhouse <[EMAIL PROTECTED]> wrote:
> On Thu, 2008-05-29 at 10:46 +1000, Dave Airlie wrote:
>> Hi,
>>
>> So I've been growing more annoyed with the current layout of the drm
>> tree in the kernel,
>>
>> a) it lives under char.
>> b) everything in one directory.
>> c) header files in one directory.
>> d) no header files exposed to userspace.
>>
>> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=7df9a948d0f849466e3de259cccb49bc54cbad68
>>
>> is a proposal to create drivers/gpu/drm, (I may move AGP in there as
>> well later). It also creates per-driver subdirs.
>
> Looks sane from the header export POV. Passes headers_check and doesn't
> add any more instances of CONFIG_xxx visible to userspace (I'm coming
> after those, soon).
>

So assuming I fixed up the kbuild issues, any ideas on when it would
be a good plan to upstream this sorta major movement.

Not many DRM patches don't come via me, and I can fix up the ones that
do before I merge them.

Linus? any ideas on when you would prefer to take a tree like this?
start of rc1?

Dave.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16158] [i915 mesa_7_0_branch] glean case fragProg1 failed

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16158





--- Comment #2 from Shuang He <[EMAIL PROTECTED]>  2008-05-29 20:39:13 PST ---
Created an attachment (id=16821)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16821)
xorg conf


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16158] [i915 mesa_7_0_branch] glean case fragProg1 failed

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16158





--- Comment #1 from Shuang He <[EMAIL PROTECTED]>  2008-05-29 20:38:56 PST ---
Created an attachment (id=16820)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16820)
xorg log


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16158] New: [i915 mesa_7_0_branch] glean case fragProg1 failed

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16158

   Summary: [i915 mesa_7_0_branch] glean case fragProg1 failed
   Product: Mesa
   Version: unspecified
  Platform: Other
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/i915
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: dri-devel@lists.sourceforge.net


System Environment:
--

--Platform: i915

--Architecture(32-bit,64-bit,compatiblity): all

--2D driver:  363ccc3dfbf8ab91608d502e0376a43653581856

--mesa(7_0 branch): feb1fa1e833b817374fb2e3f3224c64be9a680d8

--Xserver(1.4 branch): ddcca23a81abf5215f906a7ad097f1ed088ed92b

--Drm: 5b86823fa36513f521412a38c240cb18f02dcc9a

--Kernel:
2.6.23.1


Bug detailed description:
-
this issue only happens on i915.
glean case fragProg1 failed:
Fragment Program test 1: test a specific set of fragment programs.

FAILURE:
  Program: COS test 2
  Expected color: 0.8775, 0.5403, 1, 0.8775
  Observed color: 0.878431, 0.541176, 0, 0
FAILURE:
  Program: SIN test 2
  Expected color: 0, 0, 0.4794, 0.4794
  Observed color: 0, 0, 0.478431, 0
fragProg1:  FAIL rgba8, db, z24, s8, win+pmap, id 37
42 tests passed, 2 tests failed.
FAILURE:
  Program: COS test 2
  Expected color: 0.8775, 0.5403, 1, 0.8775
  Observed color: 0.878431, 0.541176, 0, 0
FAILURE:
  Program: SIN test 2
  Expected color: 0, 0, 0.4794, 0.4794
  Observed color: 0, 0, 0.478431, 0
fragProg1:  FAIL rgba8, z24, s8, win+pmap, id 38
42 tests passed, 2 tests failed.
FAILURE:
  Program: COS test 2
  Expected color: 0.8775, 0.5403, 1, 0.8775
  Observed color: 0.878431, 0.541176, 0, 0
FAILURE:
  Program: SIN test 2
  Expected color: 0, 0, 0.4794, 0.4794
  Observed color: 0, 0, 0.478431, 0
fragProg1:  FAIL rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 41
42 tests passed, 2 tests failed.
FAILURE:
  Program: COS test 2
  Expected color: 0.8775, 0.5403, 1, 0.8775
  Observed color: 0.878431, 0.541176, 0, 0
FAILURE:
  Program: SIN test 2
  Expected color: 0, 0, 0.4794, 0.4794
  Observed color: 0, 0, 0.478431, 0
fragProg1:  FAIL rgba8, z24, s8, accrgba16, win+pmap, slow, id 42
42 tests passed, 2 tests failed.
FAILURE:
  Program: COS test 2
  Expected color: 0.8775, 0.5403, 1, 0.8775
  Observed color: 0.878431, 0.541176, 0, 0
FAILURE:
  Program: SIN test 2
  Expected color: 0, 0, 0.4794, 0.4794
  Observed color: 0, 0, 0.478431, 0
fragProg1:  FAIL rgba8, db, z24, s8, win+pmap, id 45
42 tests passed, 2 tests failed.
FAILURE:
  Program: COS test 2
  Expected color: 0.8775, 0.5403, 1, 0.8775
  Observed color: 0.878431, 0.541176, 0, 0
FAILURE:
  Program: SIN test 2
  Expected color: 0, 0, 0.4794, 0.4794
  Observed color: 0, 0, 0.478431, 0
fragProg1:  FAIL rgba8, z24, s8, win+pmap, id 46
42 tests passed, 2 tests failed.
FAILURE:
  Program: COS test 2
  Expected color: 0.8775, 0.5403, 1, 0.8775
  Observed color: 0.878431, 0.541176, 0, 0
FAILURE:
  Program: SIN test 2
  Expected color: 0, 0, 0.4794, 0.4794
  Observed color: 0, 0, 0.478431, 0
fragProg1:  FAIL rgba8, db, z24, s8, accrgba16, win+pmap, slow, id 49
42 tests passed, 2 tests failed.
FAILURE:
  Program: COS test 2
  Expected color: 0.8775, 0.5403, 1, 0.8775
  Observed color: 0.878431, 0.541176, 0, 0
FAILURE:
  Program: SIN test 2
  Expected color: 0, 0, 0.4794, 0.4794
  Observed color: 0, 0, 0.478431, 0
fragProg1:  FAIL rgba8, z24, s8, accrgba16, win+pmap, slow, id 50
42 tests passed, 2 tests failed




Reproduce steps:

1. start X
2. ./glean -r test -t fragProg1


Current result:

glean case fragProg1 failed


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16157] [i965] glean/glsl1 run abort

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16157





--- Comment #2 from Shuang He <[EMAIL PROTECTED]>  2008-05-29 20:04:20 PST ---
Created an attachment (id=16819)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16819)
xorg log


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16157] [i965] glean/glsl1 run abort

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16157





--- Comment #1 from Shuang He <[EMAIL PROTECTED]>  2008-05-29 20:03:30 PST ---
Created an attachment (id=16818)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16818)
xorg conf


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16157] New: [i965] glean/glsl1 run abort

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16157

   Summary: [i965] glean/glsl1 run abort
   Product: Mesa
   Version: unspecified
  Platform: Other
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/i965
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: dri-devel@lists.sourceforge.net


System Environment:
--

--Platform: Q965


--2D driver:
commit bd137a19dc29dd466eac030e040f729ed0807e3f

--3D driver:
commit 328621509f4690fb945201a90425662e4fd2fc2d

--Xserver:
commit 29586101dc11d498b212510f8dedbfeca7f8c859

--Drm
commit 5b86823fa36513f521412a38c240cb18f02dcc9a

--Kernel:
2.6.25


Bug detailed description:
-
Unsupport opcode 74 in vertex shader
FAILURE:
  Shader test: 2D Texture lookup with explicit lod (Vertex shader)
  Expected color: 0.25, 0, 0, 0.25
  Observed color: 0, 0, 0, 0
intel_bufmgr_ttm.c:769: Error waiting for fence fence buffers: Device or
resource busy.

Program received signal SIGABRT, Aborted.


backtrace:
(gdb) bt
#0  0xb7faa424 in __kernel_vsyscall ()
#1  0x00bfd690 in raise () from /lib/libc.so.6
#2  0x00bfef91 in abort () from /lib/libc.so.6
#3  0xb7ad4144 in dri_ttm_fence_wait (fence=0x85efca8) at
intel_bufmgr_ttm.c:770
#4  0xb7acca62 in dri_fence_wait (fence=0x85efca8) at ../common/dri_bufmgr.c:96
#5  0xb7ad62c7 in intelFinish (ctx=0x810aa20) at intel_context.c:374
#6  0xb7ade9ef in intelSpanRenderStart (ctx=0x810aa20) at intel_span.c:313
#7  0xb7bf50b0 in _swrast_ReadPixels (ctx=0x810aa20, x=48, y=48, width=1,
height=1, format=6408, type=5126,
packing=0x8116698, pixels=0xbfda7af4) at swrast/s_readpix.c:562
#8  0xb7c50fae in _mesa_ReadPixels (x=48, y=48, width=1, height=1, format=6408,
type=5126, pixels=0xbfda7af4)
at main/drawpix.c:336
#9  0x080702ba in GLEAN::GLSLTest::testProgram (this=0x80edfc0, [EMAIL 
PROTECTED])
at tglsl1.cpp:3320
#10 0x08070463 in GLEAN::GLSLTest::runOne (this=0x80edfc0, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at tglsl1.cpp:3388
#11 0x0805a79f in GLEAN::BaseTest::run (this=0x80edfc0,
[EMAIL PROTECTED]) at tbase.h:290
#12 0x0805443b in main (argc=6, argv=0xbfda7d74) at main.cpp:128



Current result:

glean case glsl1 run abort


Expected result:

glean case glsl1 should pass


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10628] 2.6.26-rc1-git1 -- trying to get vblank count for disabled pipe 0

2008-05-29 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=10628


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |CLOSED
 Resolution||CODE_FIX




--- Comment #2 from [EMAIL PROTECTED]  2008-05-29 13:50 ---
Regressions list annotation:
References : http://lkml.org/lkml/2008/5/25/231


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16151] New: DRI black screen

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16151

   Summary: DRI black screen
   Product: DRI
   Version: XOrg CVS
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: General
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


Hi all,

I have a quite weird DRI problem:
On startup, when I login for the first time via kdm, 'LIBGL_DEBUG=verbose
glxinfo' says
libGL error: drmMap of framebuffer failed (Invalid argument)

Then, after I logged off, kdm restarted and I logged in again, everything seems
fine. The 2D direct rendering in kde works alright, but apps like glxgears show
only a black screen. In zsnes I can see and move the mouse pointer on a black
background.

I'm currently using:

x11-libs/libdrm-2.3.0
media-libs/mesa-7.0.3
x11-base/xorg-server-1.4.0.90-r3
x11-drivers/xf86-video-i810-2.3.0

which I emerged in this order.

I hope someone can help me,
max meyer


PS: I emerged x11-base/x11-drm-20071019 too, but I actually don't know whether
I'm using x11-drm or the built in kernel drm (how can I find out?).


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16150] Xorg SIGSEGV on viaDestroyContext

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16150


Brian Paul <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #2 from Brian Paul <[EMAIL PROTECTED]>  2008-05-29 10:00:28 PST ---
I've applied the patch in git.  Thanks.


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16150] Xorg SIGSEGV on viaDestroyContext

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16150





--- Comment #1 from Pierre-Yves Aillet <[EMAIL PROTECTED]>  2008-05-29 09:50:04 
PST ---
Created an attachment (id=16811)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16811)
Patch from Luc Verhaegen


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16150] New: Xorg SIGSEGV on viaDestroyContext

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16150

   Summary: Xorg SIGSEGV on viaDestroyContext
   Product: Mesa
   Version: unspecified
  Platform: x86 (IA32)
   URL: https://bugzilla.novell.com/show_bug.cgi?id=285496
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/Unichrome
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=16810)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16810)
Xorg SIGSEGV log

Xorg get a SIGSEGV signal when I close a rxvt-unicode terminal.
I have attached my Xorg.0.log.old file which shows the problem comes from
viaDestroyContext

Luc Verhaegen and Gabriel Mansi patched it on opensuse, I don't know if this
bug was already solved on mesa git repository.


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: in-kernel DRM tree move around....

2008-05-29 Thread David Woodhouse
On Thu, 2008-05-29 at 10:46 +1000, Dave Airlie wrote:
> Hi,
> 
> So I've been growing more annoyed with the current layout of the drm
> tree in the kernel,
> 
> a) it lives under char.
> b) everything in one directory.
> c) header files in one directory.
> d) no header files exposed to userspace.
> 
> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=7df9a948d0f849466e3de259cccb49bc54cbad68
> 
> is a proposal to create drivers/gpu/drm, (I may move AGP in there as
> well later). It also creates per-driver subdirs.

Looks sane from the header export POV. Passes headers_check and doesn't
add any more instances of CONFIG_xxx visible to userspace (I'm coming
after those, soon).

-- 
dwmw2


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: in-kernel DRM tree move around....

2008-05-29 Thread Alan Cox
On Thu, 29 May 2008 11:05:08 +0200
"Alexander van Heukelum" <[EMAIL PROTECTED]> wrote:

> On Thu, 29 May 2008 10:46:22 +1000, "Dave Airlie" <[EMAIL PROTECTED]>
> said:
> > Hi,
> > 
> > So I've been growing more annoyed with the current layout of the drm
> > tree in the kernel,
> > 
> > a) it lives under char.
> > b) everything in one directory.
> > c) header files in one directory.
> > d) no header files exposed to userspace.
> > 
> > http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=7df9a948d0f849466e3de259cccb49bc54cbad68
> > 
> > is a proposal to create drivers/gpu/drm, (I may move AGP in there as
> > well later). It also creates per-driver subdirs.
> 
> Looks like a lot more suitable place! I just wonder if drivers/video/drm
> would be even more logical?

I think gpu is better - we are seeing various GPU as CPU accelerator
toolkits appearing and assuming the AMD one ends up open source we will
end up with gpu/something that isn't video.

Remember GPU = Grahi^WGeneric Processing Unit ;)

Alan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 16135] y inverted damage report in CopySubBuffer.

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16135


Michel Dänzer <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #1 from Michel Dänzer <[EMAIL PROTECTED]>  2008-05-29 02:46:38 PST 
---
commit 377016d728ace47c9eeb3ac2f01191608ab060f6
Author: Dennis Kasprzyk <[EMAIL PROTECTED]>
Date:   Thu May 29 11:24:16 2008 +0200

Report correct damage rectangle in CopySubBuffer.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: in-kernel DRM tree move around....

2008-05-29 Thread Alexander van Heukelum
On Thu, 29 May 2008 10:46:22 +1000, "Dave Airlie" <[EMAIL PROTECTED]>
said:
> Hi,
> 
> So I've been growing more annoyed with the current layout of the drm
> tree in the kernel,
> 
> a) it lives under char.
> b) everything in one directory.
> c) header files in one directory.
> d) no header files exposed to userspace.
> 
> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=7df9a948d0f849466e3de259cccb49bc54cbad68
> 
> is a proposal to create drivers/gpu/drm, (I may move AGP in there as
> well later). It also creates per-driver subdirs.

Looks like a lot more suitable place! I just wonder if drivers/video/drm
would be even more logical?

Greetings,
Alexander

> This to me solves the a-d problems.
> 
> There is also an out-of-tree kernel drm which I'll probably give some
> more thought later.
> 
> Dave.
-- 
  Alexander van Heukelum
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - Does exactly what it says on the tin


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [PATCH] Add opregion support for Intel hardware

2008-05-29 Thread Matthew Garrett
Updated patch attached.

diff --git a/linux-core/Makefile.kernel b/linux-core/Makefile.kernel
index 7a477a1..fb8722a 100644
--- a/linux-core/Makefile.kernel
+++ b/linux-core/Makefile.kernel
@@ -20,7 +20,7 @@ r128-objs   := r128_drv.o r128_cce.o r128_state.o r128_irq.o
 mga-objs:= mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o
 i810-objs   := i810_drv.o i810_dma.o
 i915-objs   := i915_drv.o i915_dma.o i915_irq.o i915_mem.o i915_fence.o \
-   i915_buffer.o i915_compat.o i915_execbuf.o
+   i915_buffer.o i915_compat.o i915_execbuf.o i915_opregion.o
 nouveau-objs := nouveau_drv.o nouveau_state.o nouveau_fifo.o nouveau_mem.o \
nouveau_object.o nouveau_irq.o nouveau_notifier.o 
nouveau_swmthd.o \
nouveau_sgdma.o nouveau_dma.o nouveau_bo.o nouveau_fence.o \
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index 91c2da2..c039fea 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -396,6 +396,8 @@ static int i915_suspend(struct drm_device *dev, 
pm_message_t state)
 
i915_save_vga(dev);
 
+   intel_opregion_free(dev);
+
if (state.event == PM_EVENT_SUSPEND) {
/* Shut down the device */
pci_disable_device(dev->pdev);
@@ -556,6 +558,8 @@ static int i915_resume(struct drm_device *dev)
 
i915_restore_vga(dev);
 
+   intel_opregion_init(dev);
+
return 0;
 }
 
diff --git a/linux-core/i915_opregion.c b/linux-core/i915_opregion.c
new file mode 100644
index 000..5647c88
--- /dev/null
+++ b/linux-core/i915_opregion.c
@@ -0,0 +1,386 @@
+/*
+ *
+ * Copyright 2008 Intel Corporation <[EMAIL PROTECTED]>
+ * Copyright 2008 Red Hat <[EMAIL PROTECTED]>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sub license, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the
+ * next paragraph) shall be included in all copies or substantial portions
+ * of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NON-INFRINGEMENT.  IN NO EVENT SHALL INTEL AND/OR ITS SUPPLIERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ */
+
+#include 
+
+#include "drmP.h"
+#include "i915_drm.h"
+#include "i915_drv.h"
+
+#define PCI_ASLE 0xe4
+#define PCI_ASLS 0xfc
+
+#define OPREGION_SZ(8*1024)
+#define OPREGION_HEADER_OFFSET 0
+#define OPREGION_ACPI_OFFSET   0x100
+#define OPREGION_SWSCI_OFFSET  0x200
+#define OPREGION_ASLE_OFFSET   0x300
+#define OPREGION_VBT_OFFSET0x1000
+
+#define OPREGION_SIGNATURE "IntelGraphicsMem"
+#define MBOX_ACPI  (1<<0)
+#define MBOX_SWSCI (1<<1)
+#define MBOX_ASLE  (1<<2)
+
+/* _DOD id definitions */
+#define OUTPUT_CONNECTOR_MSK   0xf000
+#define OUTPUT_CONNECTOR_OFFSET12
+
+#define OUTPUT_PORT_MSK0x00f0
+#define OUTPUT_PORT_OFFSET 4
+  #define OUTPUT_PORT_ANALOG   0
+  #define OUTPUT_PORT_LVDS 1
+  #define OUTPUT_PORT_SDVOB2
+  #define OUTPUT_PORT_SDVOC3
+  #define OUTPUT_PORT_TV   4
+
+#define OUTPUT_DISPLAY_MSK 0x0f00
+#define OUTPUT_DISPLAY_OFFSET  8
+  #define OUTPUT_DISPLAY_OTHER 0
+  #define OUTPUT_DISPLAY_VGA   1
+  #define OUTPUT_DISPLAY_TV2
+  #define OUTPUT_DISPLAY_DIGI  3
+  #define OUTPUT_DISPLAY_FLAT_PANEL4
+
+/* predefined id for integrated LVDS and VGA connector */
+#define OUTPUT_INT_LVDS0x0110
+#define OUTPUT_INT_VGA 0x8100
+
+struct opregion_header {
+   u8 signature[16];
+   u32 size;
+   u32 opregion_ver;
+   u8 bios_ver[32];
+   u8 vbios_ver[16];
+   u8 driver_ver[16];
+   u32 mboxes;
+   u8 reserved[164];
+} __attribute__((packed));
+
+/* OpRegion mailbox #1: public ACPI methods */
+struct opregion_acpi {
+   u32 drdy;   /* driver readiness */
+   u32 csts;   /* notification status */
+   u32 cevt;   /* current event */
+   u8 rsvd1[20];
+   u32 didl[8];/* supported display devices ID list */
+   u32 cpdl[8];/* currently presented display list */
+   u32 cadl[8];/* currently active display list */
+   u32 nadl[8];/* next active devices list */
+   u32 aslp;   /* ASL sleep time-out */
+   u32 tidx;   /* toggle table index */
+   u32 chpd;   /*

Re: in-kernel DRM tree move around....

2008-05-29 Thread Jan Engelhardt
On Thursday 2008-05-29 06:23, Sam Ravnborg wrote:
>On Thu, May 29, 2008 at 10:46:22AM +1000, Dave Airlie wrote:
>> Hi,
>> 
>> So I've been growing more annoyed with the current layout of the drm
>> tree in the kernel,
>> 
>> a) it lives under char.
>> b) everything in one directory.
>> c) header files in one directory.
>> d) no header files exposed to userspace.
>> 
>> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=7df9a948d0f849466e3de259cccb49bc54cbad68
>> 
>> is a proposal to create drivers/gpu/drm, (I may move AGP in there as
>> well later). It also creates per-driver subdirs.
>
>Like it.

You have Makefile content in a file called "Kconfig":


diff --git a/drivers/char/drm/Kconfig b/drivers/gpu/drm/Kconfig
similarity index 100%
rename from drivers/char/drm/Kconfig
drivers/gpu/drm/Kconfig
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
new file mode 100644 (file)
index
..3f50d8fb25b915d66aef74b175e49fbb1964d6b1
--- a/drivers/char/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -0,0 +1,27 @@
+#
+# Makefile for the drm device driver.  This driver provides support for the
+# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
+
+EXTRA_CFLAGS = -Iinclude/drm
+drm-objs:= drm_auth.o drm_bufs.o drm_context.o drm_dma.o drm_drawable.o \
+   drm_drv.o drm_fops.o drm_ioctl.o drm_irq.o \
+   drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
+   drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
+   drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o
+
+ifeq ($(CONFIG_COMPAT),y)
+drm-objs+= drm_ioc32.o
+endif
+
+obj-$(CONFIG_DRM)  += drm.o
+obj-$(CONFIG_DRM_TDFX) += tdfx/
+obj-$(CONFIG_DRM_R128) += r128/
+obj-$(CONFIG_DRM_RADEON)+= radeon/
+obj-$(CONFIG_DRM_MGA)  += mga/
+obj-$(CONFIG_DRM_I810) += i810/
+obj-$(CONFIG_DRM_I830) += i830/
+obj-$(CONFIG_DRM_I915)  += i915/
+obj-$(CONFIG_DRM_SIS)   += sis/
+obj-$(CONFIG_DRM_SAVAGE)+= savage/
+obj-$(CONFIG_DRM_VIA)  +=via/
+

In fact, since this happened for lots of files, I pulled the repo
with git, and like I suspected, it seems to be a gitweb issue.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: in-kernel DRM tree move around....

2008-05-29 Thread Sam Ravnborg
> >
> > Makefie bits:
> > 5 EXTRA_CFLAGS = -Iinclude/drm
> > Use ccflags-y :=  -Iinclude/drm
> > I assume this is a temporary workaround and you plan to fix
> > up all includes to use "#include "
> 
> I'd rather not do that due the fact that a lot of these files are
> shared with other OSes upstream and I'd rather not diverge too far but
> maybe later.
Understood.

To be sure you did not miss it...
At least change EXTRA_CFLAGS to ccflags-y.

Sam

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 14221] [i965 64bit] ut2004 run abort on mesa 7_0_branch

2008-05-29 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=14221


haihao <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #8 from haihao <[EMAIL PROTECTED]>  2008-05-29 00:56:16 PST ---
fixed in mesa_7_0_branch.


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel