spec: X11-driver-firegl
Patryk Szczygłowski
patryk at patryk.one.pl
Sun Dec 18 21:47:15 CET 2005
Up to 8.20.8:
- Kernel module compile issues with the stock 2.6.13 and 2.6.14 kernel
are now resolved (obsoletes X11-driver-firegl-ioctl32.patch)
- Attempting to resume from system suspension no longer results in the
system failing to respond.
- missing header file borrowed from 8.19.10
(X11-driver-firegl-fglrx_pp_proto.h)
- rel 0.1; STBR && ac-test until someone says it's OK
--
Patryk Szczygłowski
patryk at patryk.one.pl
JID: psz at chrome.pl
-------------- next part --------------
Index: X11-driver-firegl.spec
===================================================================
RCS file: /cvsroot/SPECS/X11-driver-firegl.spec,v
retrieving revision 1.108
diff -u -r1.108 X11-driver-firegl.spec
--- X11-driver-firegl.spec 16 Nov 2005 12:36:01 -0000 1.108
+++ X11-driver-firegl.spec 18 Dec 2005 20:39:51 -0000
@@ -28,25 +28,26 @@
Summary: Linux Drivers for ATI graphics accelerators
Summary(pl): Sterowniki do akceleratorów graficznych ATI
Name: X11-driver-firegl
-Version: 8.19.10
-%define _rel 0.2
+Version: 8.20.8
+%define _rel 0.1
Release: %{_rel}
License: ATI Binary (parts are GPL)
Vendor: ATI
Group: X11/XFree86
%if %{need_x86}
-Source0: fglrx_6_8_0-%{version}-1.i386.rpm
-# Source0-md5: 11fc6c7347ae1751774a34ab23553f4b
+Source0: http://dlmdownloads.ati.com/drivers/linux/fglrx_6_8_0-%{version}-1.i386.rpm
+# Source0-md5: bec227dc16abed4b84754137808b225c
%endif
%if %{need_amd64}
-Source1: fglrx64_6_8_0-%{version}-1.x86_64.rpm
-# Source1-md5: 8eb9330e6ce651d2ad4ac44005cbea07
+Source1: http://dlmdownloads.ati.com/drivers/linux/64bit/fglrx64_6_8_0-%{version}-1.x86_64.rpm
+# Source1-md5: 5aca1f5d51aeb5f713b1127ec103f80b
%endif
+Source2: %{name}-fglrx_pp_proto.h
+# Source2-md5: 965bb91f2860cd9b3518ef46ffbfbdcc
Patch0: firegl-panel.patch
Patch1: firegl-panel-ugliness.patch
Patch2: %{name}-kh.patch
Patch3: %{name}-viak8t.patch
-Patch4: %{name}-ioctl32.patch
URL: http://www.ati.com/support/drivers/linux/radeon-linux.html
BuildRequires: cpio
%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.14}
@@ -126,14 +127,12 @@
%endif
install -d panel_src
tar -xzf usr/src/ATI/fglrx_panel_sources.tgz -C panel_src
+cp %{SOURCE2} panel_src/fglrx_pp_proto.h
%patch0 -p1
%patch1 -p1
%{?with_dist_kernel:%patch2 -p1}
%patch3 -p1
-%ifarch %{x8664}
-%patch4 -p1
-%endif
%build
%if %{with kernel}
-------------- next part --------------
/****************************************************************************
* *
* Copyright 1999-2005 ATI Technologies Inc., Markham, Ontario, CANADA. *
* All Rights Reserved. *
* *
* Your use and or redistribution of this software in source and \ or *
* binary form, with or without modification, is subject to: (i) your *
* ongoing acceptance of and compliance with the terms and conditions of *
* the ATI Technologies Inc. software End User License Agreement; and (ii) *
* your inclusion of this notice in any version of this software that you *
* use or redistribute. A copy of the ATI Technologies Inc. software End *
* User License Agreement is included with this software and is also *
* available by contacting ATI Technologies Inc. at http://www.ati.com *
* *
****************************************************************************/
/** \file powerplay.h
* \brief Protocol definitions for the ATI POWERplay extension
* \author Felix Kuehling
*/
#ifndef __FGLRX_PP_PROTO_H
#define __FGLRX_PP_PROTO_H
#ifndef XREP_SZ
#define XREP_SZ(name) sizeof(x##name##Reply)
#endif
#ifndef XREQ_SZ
#define XREQ_SZ(name) sizeof(x##name##Req)
#endif
#define X_FGLQueryPowerPlayInfo 13
#define X_FGLQueryPowerState 14
#define X_FGLSetPowerState 15
/*****************************************************************************
* FGLQueryPowerPlayInfo */
typedef struct _FGLQueryPowerPlayInfo {
CARD8 reqType;
CARD8 fireglReqType;
CARD16 length B16;
/* specific */
CARD32 screen B32;
} xFGLQueryPowerPlayInfoReq;
typedef struct {
BYTE type; /* X_Reply */
BYTE pad1;
CARD16 sequenceNumber B16;
CARD32 length B32;
/* specific */
CARD16 extVersion B16;
CARD16 extRevision B16;
CARD16 ppVersion B16;
CARD16 numPowerStates B16;
CARD32 flags B32;
CARD32 pad2 B32;
CARD32 pad3 B32;
CARD32 pad4 B32;
} xFGLQueryPowerPlayInfoReply;
#define sz_xFGLQueryPowerPlayInfoReq XREQ_SZ(FGLQueryPowerPlayInfo)
#define sz_xFGLQueryPowerPlayInfoReply XREP_SZ(FGLQueryPowerPlayInfo)
/*****************************************************************************
* FGLQueryPowerState */
typedef struct _FGLQueryPowerState {
CARD8 reqType;
CARD8 fireglReqType;
CARD16 length B16;
/* specific */
CARD32 screen B32;
CARD16 state B16;
CARD16 pad1 B16;
} xFGLQueryPowerStateReq;
typedef struct {
BYTE type; /* X_Reply */
BYTE pad1;
CARD16 sequenceNumber B16;
CARD32 length B32;
/* specific */
CARD32 flags B32;
CARD32 validEvents B32;
CARD32 memClock B32;
CARD32 coreClock B32;
CARD32 refreshRate B32;
CARD16 upperTempLimit B16;
CARD16 lowerTempLimit B16;
CARD16 nextUpperTempState B16;
CARD16 nextLowerTempState B16;
} xFGLQueryPowerStateReply;
#define sz_xFGLQueryPowerStateReq XREQ_SZ(FGLQueryPowerState)
#define sz_xFGLQueryPowerStateReply XREP_SZ(FGLQueryPowerState)
/*****************************************************************************
* FGLSetPowerState */
typedef struct _FGLSetPowerState {
CARD8 reqType;
CARD8 fireglReqType;
CARD16 length B16;
/* specific */
CARD32 screen B32;
CARD16 event B16;
CARD16 state B16;
} xFGLSetPowerStateReq;
typedef struct {
BYTE type; /* X_Reply */
BYTE pad1;
CARD16 sequenceNumber B16;
CARD32 length B32;
/* specific */
CARD32 result B32;
CARD32 pad2 B32;
CARD32 pad3 B32;
CARD32 pad4 B32;
CARD32 pad5 B32;
CARD32 pad6 B32;
} xFGLSetPowerStateReply;
#define sz_xFGLSetPowerStateReq XREQ_SZ(FGLSetPowerState)
#define sz_xFGLSetPowerStateReply XREP_SZ(FGLSetPowerState)
#endif /* __FGLRX_PP_PROTO_H */
More information about the pld-devel-pl
mailing list