Accepting request 209364 from X11:XOrg

Update to version 2.4.50 (forwarded request 209357 from sumski)

OBS-URL: https://build.opensuse.org/request/show/209364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdrm?expand=0&rev=89
This commit is contained in:
Stephan Kulow
2013-12-11 16:21:35 +00:00
committed by Git OBS Bridge
5 changed files with 13 additions and 32 deletions

View File

@@ -1,24 +0,0 @@
From c8a437f4c76527b3c8385699ccee07f35fe3f166 Mon Sep 17 00:00:00 2001
From: Michel Dänzer <michel.daenzer@amd.com>
Date: Tue, 26 Nov 2013 09:16:03 +0000
Subject: radeon: Update unaligned offset for 2D->1D tiling transition on SI
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71983
Tested-by: Arek Ruśniak <arek.rusi@gmail.com>
---
diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c
index b528a48..dcbbfdc 100644
--- a/radeon/radeon_surface.c
+++ b/radeon/radeon_surface.c
@@ -1667,7 +1667,7 @@ static int si_surface_init_2d(struct radeon_surface_manager *surf_man,
return si_surface_init_1d(surf_man, surf, level, bpe, tile_mode, offset, i);
}
/* level0 and first mipmap need to have alignment */
- aligned_offset = surf->bo_size;
+ aligned_offset = offset = surf->bo_size;
if ((i == 0)) {
aligned_offset = ALIGN(aligned_offset, surf->bo_alignment);
}
--
cgit v0.9.0.2-2-gbebe

View File

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

3
libdrm-2.4.50.tar.bz2 Normal file
View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Dec 4 00:35:02 UTC 2013 - hrvoje.senjan@gmail.com
- Update to version 2.4.50:
+ intel: Track known prime buffers for re-use
+ radeon: Update unaligned offset for 2D->1D tiling transition on SI
- Droped U_update-unaligned-offset-for-2D-1D-tiling-transition-on-SI.patch,
included in this release
-------------------------------------------------------------------
Mon Nov 25 17:15:43 UTC 2013 - hrvoje.senjan@gmail.com

View File

@@ -18,7 +18,7 @@
Name: libdrm
Url: http://dri.freedesktop.org/
Version: 2.4.49
Version: 2.4.50
Release: 0
Provides: libdrm23 = %{version}
Obsoletes: libdrm23 < %{version}
@@ -39,9 +39,6 @@ Source2: baselibs.conf
# PATCH-FIX-UPSTREAM libdrm-implicit-defs.diff fdo#48599 -- Fix compiler warnings in tests/radeon/radeon_ttm.c
Patch1: libdrm-implicit-defs.diff
Patch2: u_Fix-compilation-on-systems-that-don-t-provide-O_CLOE.patch
# PATCH-FIX-UPSTREAM U_update-unaligned-offset-for-2D-1D-tiling-transition-on-SI.patch -- fdo#71983, resolves crasing on radeon
# SI chips wth 2.4.49
Patch3: U_update-unaligned-offset-for-2D-1D-tiling-transition-on-SI.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.63
@@ -159,7 +156,6 @@ Group: System/Libraries
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"