From sacadmin Tue Nov 25 02:48:52 2008
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id mAPAmqQ1016227;
	Tue, 25 Nov 2008 02:48:52 -0800 (PST)
Received: (from xc149992@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id mAPAmqu8016223;
	Tue, 25 Nov 2008 02:48:52 -0800 (PST)
Date: Tue, 25 Nov 2008 02:48:52 -0800 (PST)
From: Xiang-Dong Frank Che <xc149992@sac.sfbay.sun.com>
Message-Id: <200811251048.mAPAmqu8016223@sac.sfbay.sun.com>
To: PSARC-record@sac.sfbay.sun.com
Subject: DRM IOCTL Addition for i915 Driver [PSARC/2008/732 Self Review]
Status: RO
Content-Length: 562


Template Version: @(#)sac_nextcase %I% %G% SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 DRM IOCTL Addition for i915 Driver
    1.2. Name of Document Author/Supplier:
	 Author:  Miao Chen
    1.3  Date of This Document:
	25 November, 2008
4. Technical Description
    See the case directory for more detail

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: Automatic
    6.6. ARC Exposure: open


From Frank.Che@sun.com Tue Nov 25 02:58:17 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id mAPAwGSd017137
	for <psarc-ext@sac.sfbay.Sun.COM>; Tue, 25 Nov 2008 02:58:16 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id mAPAw3sk018444
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 25 Nov 2008 18:58:15 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KAV00E0HYGZWJ00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 25 Nov 2008 02:58:11 -0800 (PST)
Received: from sineb-mail-1.sun.com ([192.18.19.6])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KAV008Q6YGX9U60@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 25 Nov 2008 02:58:10 -0800 (PST)
Received: from fe-apac-06.sun.com
 (fe-apac-06.sun.com [192.18.19.177] (may be forged))
	by sineb-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id mAPAw9Z2013388	for
 <PSARC-ext@sun.com>; Tue, 25 Nov 2008 10:58:09 +0000 (GMT)
Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 id <0KAV00L01YEIMU00@mail-apac.sun.com> (original mail from Frank.Che@Sun.COM)
 for PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 25 Nov 2008 18:58:09 +0800 (SGT)
Received: from [129.158.218.60] by mail-apac.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 with ESMTPSA id <0KAV00MP0YGWVZI4@mail-apac.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 25 Nov 2008 18:58:09 +0800 (SGT)
Date: Tue, 25 Nov 2008 18:56:56 +0800
From: Frank Che <Frank.Che@sun.com>
Subject: PSARC 2008/732 DRM IOCTL Addition for i915 Driver [Self Review]
Sender: Frank.Che@sun.com
To: PSARC-ext@sun.com
Cc: Miao Chen - Sun Microsystems - Beijing China <Miao.Chen@sun.com>
Message-id: <492BD9F8.3090401@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
User-Agent: Thunderbird 2.0.0.4 (X11/20070622)
Status: RO
Content-Length: 2059

I'm sponsoring this case for Miao Chen. This case is to add two more 
exported interfaces to PSARC 2004/801 for the i915 driver. The requested 
release binding is patch/micro.

I have marked it as "closed approved automatic" since the change is 
straightforward and the interface is clear. If there is request, I'd be 
happy to upgrade it
to a fast track and set the timer.

-Frank

4. Technical Description

4.1 Summary

    This project is to add two more DRM IOCTLs for the i915 driver
    to support the vblank pipe configuration function.

4.2 Description

    The i915 driver were introduced to Solaris in PSARC 2004/801.
    It was ported to Solaris from the community. Xorg needs this
    driver to work on Intel integrated graphical device such as
    G33, G45, GM45 etc.

    Recently, Xorg in Solaris will be upgraded to version 1.5, it
    needs to work with i915 driver 1.5.x or later. Current the
    i915 driver in Solaris is still 1.4.x.

    To upgrade the i915 driver to version 1.5.x, two DRM IOCTLs
    should be implemented first to support the vblank pipe
    configuration function.

4.3 Interface Table

-------------------------------------------------------------------------------------
| Interface exported             | Classifications | Comments                       |
-------------------------------------------------------------------------------------
| DRM_IOCTL_I915_SET_VBLANK_PIPE | External        | Set the vblank monitor pipe.   |
| DRM_IOCTL_I915_GET_VBLANK_PIPE | External        | Get the vblank monitor pipe.   |
-------------------------------------------------------------------------------------

4.4 References:

    [1] PSARC/2004/801 DRI porting
    http://sac.sfbay.sun.com/Archives/CaseLog/arc/PSARC/2004/801/

4.5 Documentation Change

    There is no need to change any documentation about i915 driver.

6. Resources and Schedule
   6.4. Steering Committee requested information
      6.4.1. Consolidation C-team Name:
               ON
   6.5. ARC review type: self-review
   6.6. ARC Exposure: open




From Frank.Che@sun.com Thu Jan 15 23:39:43 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n0G7dhtP001499
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 15 Jan 2009 23:39:43 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n0G7dhuV017961
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 15 Jan 2009 23:39:43 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KDJ00J03ZY7U100@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 15 Jan 2009 23:39:43 -0800 (PST)
Received: from sineb-mail-1.sun.com ([192.18.19.6])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KDJ00F9JZY5SNB0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 15 Jan 2009 23:39:42 -0800 (PST)
Received: from fe-apac-05.sun.com
 (fe-apac-05.sun.com [192.18.19.176] (may be forged))
	by sineb-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n0G7dfaC014904	for
 <PSARC-ext@sun.com>; Fri, 16 Jan 2009 07:39:41 +0000 (GMT)
Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 id <0KDJ00F01ZXARW00@mail-apac.sun.com> (original mail from Frank.Che@Sun.COM)
 for PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 16 Jan 2009 15:39:41 +0800 (SGT)
Received: from [129.158.218.60] by mail-apac.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 with ESMTPSA id <0KDJ005LOZY4M5SY@mail-apac.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 16 Jan 2009 15:39:41 +0800 (SGT)
Date: Fri, 16 Jan 2009 15:38:07 +0800
From: Frank Che <Frank.Che@sun.com>
Subject: Re: PSARC 2008/732 DRM IOCTL Addition for i915 Driver [Self Review]
In-reply-to: <492BD9F8.3090401@sun.com>
Sender: Frank.Che@sun.com
To: PSARC-ext@sun.com
Cc: Miao Chen - Sun Microsystems - Beijing China <Miao.Chen@sun.com>
Message-id: <4970395F.3070002@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <492BD9F8.3090401@sun.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070622)
Status: RO
Content-Length: 3114

The project team would like to add two more exported interfaces for this 
project, as described below. I think it's qualified for self review. 
Since this project hasn't been integrate into Nevada yet, I think it 
should be OK to just reply to this mail and add new information for 
recording purpose.

Two more exported interfaces:

------------------------------------------------------------------------------------------------- 

| Interface exported          | Classifications | 
Comments                                      |
------------------------------------------------------------------------------------------------- 

| DRM_IOCTL_UPDATE_DRAW       | External        | Update drawable 
information.                  |
| DRM_IOCTL_I915_VBLANK_SWAP  | External        | Schedule buffer swap 
at given vertical blank. |
------------------------------------------------------------------------------------------------- 


Frank

Frank Che wrote:
> I'm sponsoring this case for Miao Chen. This case is to add two more 
> exported interfaces to PSARC 2004/801 for the i915 driver. The 
> requested release binding is patch/micro.
>
> I have marked it as "closed approved automatic" since the change is 
> straightforward and the interface is clear. If there is request, I'd 
> be happy to upgrade it
> to a fast track and set the timer.
>
> -Frank
>
> 4. Technical Description
>
> 4.1 Summary
>
>    This project is to add two more DRM IOCTLs for the i915 driver
>    to support the vblank pipe configuration function.
>
> 4.2 Description
>
>    The i915 driver were introduced to Solaris in PSARC 2004/801.
>    It was ported to Solaris from the community. Xorg needs this
>    driver to work on Intel integrated graphical device such as
>    G33, G45, GM45 etc.
>
>    Recently, Xorg in Solaris will be upgraded to version 1.5, it
>    needs to work with i915 driver 1.5.x or later. Current the
>    i915 driver in Solaris is still 1.4.x.
>
>    To upgrade the i915 driver to version 1.5.x, two DRM IOCTLs
>    should be implemented first to support the vblank pipe
>    configuration function.
>
> 4.3 Interface Table
>
> ------------------------------------------------------------------------------------- 
>
> | Interface exported             | Classifications | 
> Comments                       |
> ------------------------------------------------------------------------------------- 
>
> | DRM_IOCTL_I915_SET_VBLANK_PIPE | External        | Set the vblank 
> monitor pipe.   |
> | DRM_IOCTL_I915_GET_VBLANK_PIPE | External        | Get the vblank 
> monitor pipe.   |
> ------------------------------------------------------------------------------------- 
>
>
> 4.4 References:
>
>    [1] PSARC/2004/801 DRI porting
>    http://sac.sfbay.sun.com/Archives/CaseLog/arc/PSARC/2004/801/
>
> 4.5 Documentation Change
>
>    There is no need to change any documentation about i915 driver.
>
> 6. Resources and Schedule
>   6.4. Steering Committee requested information
>      6.4.1. Consolidation C-team Name:
>               ON
>   6.5. ARC review type: self-review
>   6.6. ARC Exposure: open
>
>
>

