[PATCH 06/15] xf86: modify FreeScreen callback to take pScrn instead of index. (ABI/API)

Alan Coopersmith alan.coopersmith at oracle.com
Tue Apr 10 08:52:29 PDT 2012


On 04/10/12 07:47 AM, Dave Airlie wrote:
> Another index->pScrn conversion.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  hw/xfree86/common/xf86Helper.c         |    2 +-
>  hw/xfree86/common/xf86VGAarbiter.c     |    6 +++---
>  hw/xfree86/common/xf86VGAarbiterPriv.h |    4 ++--
>  hw/xfree86/common/xf86str.h            |    2 +-
>  4 files changed, 7 insertions(+), 7 deletions(-)

Also needs:

diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml
index ca5efc9..5e3d403 100644
--- a/hw/xfree86/doc/ddxDesign.xml
+++ b/hw/xfree86/doc/ddxDesign.xml
@@ -1744,7 +1744,7 @@ MODECHECK_FINAL are intended for checks that may involve m

       <blockquote><para>
          <programlisting>
-    void ChipFreeScreen(int scrnindex, int flags);
+    void ChipFreeScreen(ScrnInfoPtr pScrn, int flags);
          </programlisting>
          <blockquote><para>
       Free any driver-allocated data that may have been allocated up to


-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list