Accepting request 203012 from X11:XOrg

Update to version 2.4.47 (forwarded request 203004 from sumski)

OBS-URL: https://build.opensuse.org/request/show/203012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdrm?expand=0&rev=85
This commit is contained in:
Tomáš Chvátal 2013-10-14 07:29:12 +00:00 committed by Git OBS Bridge
commit 9f150f5e26
5 changed files with 22 additions and 39 deletions

View File

@ -1,31 +0,0 @@
From 58d008883165ba35c83041fa9ed84937163d5f76 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@amd.com>
Date: Fri, 6 Sep 2013 15:58:56 -0400
Subject: [PATCH 1/1] radeon: pad CS to 8 DW
Aligns the IB to 8 DWs. The aligns the IB to the
CP fetch size. r6xx also require at least 4 DW
alignment to avoid a hw bug.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
radeon/radeon_cs_gem.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c
index b963140..b87c6b1 100644
--- a/radeon/radeon_cs_gem.c
+++ b/radeon/radeon_cs_gem.c
@@ -425,6 +425,9 @@ static int cs_gem_emit(struct radeon_cs_int *cs)
unsigned i;
int r;
+ while (cs->cdw & 7)
+ radeon_cs_write_dword((struct radeon_cs *)cs, 0x80000000);
+
#if CS_BOF_DUMP
cs_gem_dump_bof(cs);
#endif
--
1.8.4

View File

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

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

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Oct 11 17:42:15 UTC 2013 - hrvoje.senjan@gmail.com
- Update to version 2.4.47:
+ libdrm: add missing DRM_CAP_TIMESTAMP_MONOTONIC
+ modetest fixes
+ radeon: add berlin pci ids
+ intel: Update package name and description in libdrm_intel.pc
+ freedreno fixes
+ radeon: Fix tiling mode index for 1D tiled depth/stencil
surfaces on CIK
+ radeon: fix pitch alignment for non-power-of-two mipmaps on SI
+ drm: Synchronize the stereo 3D mode flags from the kernel headers
+ drm: Sync the DRM_SET_CLIENT_CAP ioctl definition
+ drm: Introduce a drmSetClientCap() wrapper
+ intel: Set bo size from lseek if kernel supports it
- Droped U_radeon-pad-CS-to-8-DW.patch, included in this release
-------------------------------------------------------------------
Tue Sep 17 17:49:28 UTC 2013 - hrvoje.senjan@gmail.com

View File

@ -18,7 +18,7 @@
Name: libdrm
Url: http://dri.freedesktop.org/
Version: 2.4.46
Version: 2.4.47
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_radeon-pad-CS-to-8-DW.patch -- Aligns the IB to 8 DWs. r6xx also require at least 4 DW
# alignment to avoid a hw bug.
Patch3: U_radeon-pad-CS-to-8-DW.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"