Hello community, here is the log from the commit of package libdrm for openSUSE:Factory checked in at 2013-09-23 09:44:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdrm (Old) and /work/SRC/openSUSE:Factory/.libdrm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdrm" Changes: -------- --- /work/SRC/openSUSE:Factory/libdrm/libdrm.changes 2013-09-09 19:44:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libdrm.new/libdrm.changes 2013-09-23 09:44:40.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Sep 17 17:49:28 UTC 2013 - hrvoje.sen...@gmail.com + +- Added U_radeon-pad-CS-to-8-DW.patch from upstream -- aligns the + IB to 8 DWs. r6xx also require at least 4 DW alignment to avoid + a hw bug. + +------------------------------------------------------------------- New: ---- U_radeon-pad-CS-to-8-DW.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdrm.spec ++++++ --- /var/tmp/diff_new_pack.U7fD4p/_old 2013-09-23 09:44:41.000000000 +0200 +++ /var/tmp/diff_new_pack.U7fD4p/_new 2013-09-23 09:44:41.000000000 +0200 @@ -39,6 +39,9 @@ # 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 @@ -156,6 +159,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ++++++ U_radeon-pad-CS-to-8-DW.patch ++++++ >From 58d008883165ba35c83041fa9ed84937163d5f76 Mon Sep 17 00:00:00 2001 From: Alex Deucher <alexander.deuc...@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.deuc...@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 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org