From sacadmin Wed Sep  2 00:19:04 2009
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 n827J3ZG001532;
	Wed, 2 Sep 2009 00:19:04 -0700 (PDT)
Received: (from xc149992@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id n827J3dN001529;
	Wed, 2 Sep 2009 00:19:03 -0700 (PDT)
Date: Wed, 2 Sep 2009 00:19:03 -0700 (PDT)
From: Xiang-Dong Frank Che <xc149992@sac.sfbay.sun.com>
Message-Id: <200909020719.n827J3dN001529@sac.sfbay.sun.com>
To: PSARC-record@sac.sfbay.sun.com
Subject: Additional IOCTL Support in Agpgart Driver [PSARC/2009/474 Self Review]
Status: RO
Content-Length: 577


Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 Additional IOCTL Support in Agpgart Driver
    1.2. Name of Document Author/Supplier:
	 Author:  Miao Chen
    1.3  Date of This Document:
	02 September, 2009
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 Wed Sep  2 00:32:50 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n827WoTx001806
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 2 Sep 2009 00:32:50 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n827Wl73042975
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 2 Sep 2009 01:32:49 -0600 (MDT)
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 <0KPC00G032APDJ00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 02 Sep 2009 00:32:49 -0700 (PDT)
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 <0KPC009JA2AMKDC0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 02 Sep 2009 00:32:47 -0700 (PDT)
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 n827WkUX003837	for
 <PSARC-ext@sun.com>; Wed, 02 Sep 2009 07:32:46 +0000 (GMT)
Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KPC00300263ED00@mail-apac.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 02 Sep 2009 15:32:46 +0800 (SGT)
Received: from [129.158.218.60] ([unknown] [129.158.218.60])
 by mail-apac.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KPC001S32AGG2L0@mail-apac.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 02 Sep 2009 15:32:46 +0800 (SGT)
Date: Wed, 02 Sep 2009 15:28:33 +0800
From: Frank Che <Frank.Che@sun.com>
Subject: Additional IOCTL Support in Agpgart Driver (PSARC/2009/474 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: <4A9E1EA1.9030506@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
User-Agent: Thunderbird 2.0.0.19 (X11/20090218)
Status: RO
Content-Length: 2577

I'm sponsoring this case for Miao Chen. This case is to add more 
exported interfaces to PSARC 2004/151 for the AGPgart 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 more IOCTLs in the AGPgart driver to support the
 new version of drm driver.

4.2 Description

 The AGPgart driver was introduced in PSARC 2004/151 [1]. This project
 is going to update the AGPgart driver to export more IOCTL interfaces.
 All these new interfaces will only be used by the drm driver [2]
 through the ldi interfaces, to set up or release device resource.

4.3 Interface Table

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

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

| AGPIOC_FLUSHCHIPSET       | Uncommitted     | Flush chipset 
device.                                            |
| AGPIOC_PAGES_BIND         | Uncommitted     | Binds a collection of 
pages into AGP memory at the given offset. |
| AGPIOC_PAGES_UNBIND       | Uncommitted     | Unbinds the given number 
of pages at the given offset.           |
| AGPIOC_PAGES_REBIND       | Uncommitted     | Rebinds the pages at 
resume time.                                |
| INTEL_CHIPSET_FLUSH_SETUP | Uncommitted     | Setup resources on intel 
chipset for flush operation.            |
| INTEL_CHIPSET_FLUSH       | Uncommitted     | Perform flushing on 
intel chipset.                               |
------------------------------------------------------------------------------------------------------------------ 


4.4 References:

 [1] PSARC 2004/151 AGPgart Driver for Solaris x86
 http://sac.eng/Archives/Projects/2004/20040223_sophia.li
 [2] PSARC/2004/801 DRI porting
 http://sac.sfbay.sun.com/Archives/CaseLog/arc/PSARC/2004/801/

4.5 Documentation Change

 All these new interfaces are only used by drm driver in kernel level.
 There is no need to change any documentation about the AGPgart 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




