- Update to 7.3.0; changes since 7.2.0:

radeon: disallow glamor on pre-R600 asics
    radeon/kms: add berlin pci ids
    radeon: enable glamor by default (v4)
    radeon: fix limit handling for cards with >4G of ram
    drm/radeon: fix non-glamor build
    radeon: fix the non-glamor build harder...
    radeon: enable tiling on SI by default (v2)
    radeon: add support for Hawaii
    radeon/kms: add Hawaii pci ids
    drm/radeon: fix SUMO2 pci id
    radeon/exa: Always use a scratch surface for UTS to vram
    Require glamor 0.6.0
    EXA/evergreen: Paranoia around linear tiling. (v2)
    radeon: use glamor Xv support if present.
    radeon/glamor: with new pixmap for dri2 drawable no need to
      create new texture
    Fix shadowfb on big-endian machines
    DRI2: Install client callback only once
    dri2: Make last_vblank_seq local unsigned to match dpms_last_seq
    Don't require the glamoregl module to be pre-loaded with xserver >= 1.15
    radeon: Set first parameter of drmOpen() to NULL
    radeon: Restore kernel module load on FreeBSD.
    radeon: disable 2D tiling on buffers < 128 pixels
- removed obsolete patches xf86-video-ati.diff, 
  xf86-video-ati-bug519261-increase-virtual.diff,
  xf86-video-ati-disable-dri-bug437651-ia64only.diff since
  modesetting is now being done in kernel space (KMS) and IA64 is
  no longer considered a relevant architecture for current SUSE
  products
- specfile cleanup

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-ati?expand=0&rev=31
This commit is contained in:
Stefan Dirsch 2014-01-30 11:02:58 +00:00 committed by Git OBS Bridge
parent aba66a1f32
commit ccf0c639fd
7 changed files with 40 additions and 84 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f30f5efdc8d7d18d06eda7ef2f91a8b7290f1cfbf6ff26362cd47ab8969daec4
size 824613

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:107c072c4919a996e04f47afdb53d5946a3ad574f270b8c560ef8b3a032046fe
size 816346

View File

@ -1,26 +0,0 @@
Index: xf86-video-ati-6.13.0/src/radeon_driver.c
===================================================================
--- xf86-video-ati-6.13.0.orig/src/radeon_driver.c
+++ xf86-video-ati-6.13.0/src/radeon_driver.c
@@ -3221,6 +3221,21 @@ Bool RADEONPreInit(ScrnInfoPtr pScrn, in
if (!RADEONPreInitControllers(pScrn))
goto fail;
+ /* Unless we're able to shrink/enlarge FB on the fly (GEM etc.), allocate
+ * large enough (TM) virtual size */
+ if (!pScrn->display->virtualX || !pScrn->display->virtualY) {
+ /* Have at least enough space for double buffering and z Buffer + some textures */
+ if (2 * 1920*1920 * (pScrn->bitsPerPixel/8) <= pScrn->videoRam / 4 * 1024) {
+ /* Fits on 128MB and up */
+ pScrn->display->virtualX = 2 * 1920;
+ pScrn->display->virtualY = 1920;
+ } else if (2 * 1680*1280 * (pScrn->bitsPerPixel/8) <= pScrn->videoRam / 4 * 1024) {
+ /* Fits on 64MB and up */
+ pScrn->display->virtualX = 2 * 1680;
+ pScrn->display->virtualY = 1280;
+ }
+ }
+
if (!xf86InitialConfiguration (pScrn, FALSE))
{
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "No valid modes.\n");

View File

@ -1,11 +0,0 @@
--- xf86-video-ati-6.13.0/src/radeon_driver.c.orig 2010-03-15 17:27:28.000000000 +0100
+++ xf86-video-ati-6.13.0/src/radeon_driver.c 2010-04-10 11:04:12.000000000 +0200
@@ -2358,7 +2358,7 @@ static Bool RADEONPreInitDRI(ScrnInfoPtr
}
}
- if (!xf86ReturnOptValBool(info->Options, OPTION_DRI, TRUE)) {
+ if (!xf86ReturnOptValBool(info->Options, OPTION_DRI, FALSE)) {
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Direct rendering forced off\n");
return FALSE;

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Jan 30 10:42:16 UTC 2014 - sndirsch@suse.com
- Update to 7.3.0; changes since 7.2.0:
radeon: disallow glamor on pre-R600 asics
radeon/kms: add berlin pci ids
radeon: enable glamor by default (v4)
radeon: fix limit handling for cards with >4G of ram
drm/radeon: fix non-glamor build
radeon: fix the non-glamor build harder...
radeon: enable tiling on SI by default (v2)
radeon: add support for Hawaii
radeon/kms: add Hawaii pci ids
drm/radeon: fix SUMO2 pci id
radeon/exa: Always use a scratch surface for UTS to vram
Require glamor 0.6.0
EXA/evergreen: Paranoia around linear tiling. (v2)
radeon: use glamor Xv support if present.
radeon/glamor: with new pixmap for dri2 drawable no need to
create new texture
Fix shadowfb on big-endian machines
DRI2: Install client callback only once
dri2: Make last_vblank_seq local unsigned to match dpms_last_seq
Don't require the glamoregl module to be pre-loaded with xserver >= 1.15
radeon: Set first parameter of drmOpen() to NULL
radeon: Restore kernel module load on FreeBSD.
radeon: disable 2D tiling on buffers < 128 pixels
- removed obsolete patches xf86-video-ati.diff,
xf86-video-ati-bug519261-increase-virtual.diff,
xf86-video-ati-disable-dri-bug437651-ia64only.diff since
modesetting is now being done in kernel space (KMS) and IA64 is
no longer considered a relevant architecture for current SUSE
products
- specfile cleanup
-------------------------------------------------------------------
Wed Aug 7 16:01:23 UTC 2013 - hrvoje.senjan@gmail.com

View File

@ -1,28 +0,0 @@
---
src/AtomBios/includes/CD_Structs.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: src/AtomBios/includes/CD_Structs.h
===================================================================
--- src/AtomBios/includes/CD_Structs.h.orig
+++ src/AtomBios/includes/CD_Structs.h
@@ -419,6 +419,10 @@ typedef struct _DEVICE_DATA {
#endif
+#if (PARSER_TYPE==DRIVER_TYPE_PARSER)
+#pragma pack(pop)
+#endif
+
struct _PARSER_TEMP_DATA;
typedef UINT32 WORKSPACE_POINTER;
@@ -479,8 +483,4 @@ typedef struct _INDIRECT_IO_PARSER_COMMA
UINT8 csize;
} INDIRECT_IO_PARSER_COMMANDS;
-#if (PARSER_TYPE==DRIVER_TYPE_PARSER)
-#pragma pack(pop)
-#endif
-
#endif

View File

@ -1,7 +1,7 @@
#
# spec file for package xf86-video-ati
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,13 @@
Name: xf86-video-ati
Version: 7.2.0
Version: 7.3.0
Release: 0
Summary: ATI video driver for the Xorg X server
License: MIT
Group: System/X11/Servers/XF86_4
Url: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
Patch0: xf86-video-ati.diff
Patch3: xf86-video-ati-bug519261-increase-virtual.diff
Patch4: xf86-video-ati-disable-dri-bug437651-ia64only.diff
BuildRequires: Mesa-devel
BuildRequires: autoconf >= 2.60
@ -66,13 +63,6 @@ driver as appropriate.
%prep
%setup -q
### File is gone (not applicable anymore?)
#%patch0
### File is gone (not applicable anymore?)
#%patch3 -p1
%ifarch ia64
#%patch4 -p1
%endif
%build
autoreconf -fi
@ -87,12 +77,8 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%defattr(-,root,root)
%doc COPYING README
%dir %{_libdir}/xorg/modules/drivers
#%dir %{_libdir}/xorg/modules/multimedia
%{_libdir}/xorg/modules/drivers/ati_drv.so
%{_libdir}/xorg/modules/drivers/radeon_drv.so
#%{_libdir}/xorg/modules/multimedia/theatre200_drv.so
#%{_libdir}/xorg/modules/multimedia/theatre_detect_drv.so
#%{_libdir}/xorg/modules/multimedia/theatre_drv.so
%{_datadir}/man/man4/ati.4%{?ext_man}
%{_datadir}/man/man4/radeon.4%{?ext_man}