xserver-xorg-video-ati: Changes to 'debian-unstable'
ChangeLog | 2062 +++++++++
Makefile.am | 2
autogen.sh | 4
configure.ac | 211 -
debian/changelog | 21
debian/compat | 2
debian/control | 8
debian/rules | 12
debian/xserver-xorg-video-radeon.install | 1
man/radeon.man | 547 --
src/AtomBios/CD_Operations.c | 983 ----
src/AtomBios/Decoder.c | 258 -
src/AtomBios/hwserv_drv.c | 354 -
src/AtomBios/includes/CD_Common_Types.h | 172
src/AtomBios/includes/CD_Definitions.h | 50
src/AtomBios/includes/CD_Opcodes.h | 181
src/AtomBios/includes/CD_Structs.h | 486 --
src/AtomBios/includes/CD_binding.h | 46
src/AtomBios/includes/CD_hw_services.h | 318 -
src/AtomBios/includes/Decoder.h | 107
src/AtomBios/includes/ObjectID.h | 643 ---
src/AtomBios/includes/atombios.h | 6137 -----------------------------
src/AtomBios/includes/regsdef.h | 25
src/Makefile.am | 101
src/ati.c | 65
src/ati_pciids_gen.h | 105
src/atipcirename.h | 47
src/atombios_crtc.c | 1541 -------
src/atombios_output.c | 2775 -------------
src/cayman_accel.c | 3
src/cayman_shader.c | 594 +-
src/compat-api.h | 94
src/drmmode_display.c | 377 +
src/drmmode_display.h | 16
src/evergreen_accel.c | 51
src/evergreen_exa.c | 402 +
src/evergreen_shader.c | 600 +-
src/evergreen_state.h | 8
src/evergreen_textured_videofuncs.c | 42
src/generic_bus.h | 36
src/legacy_crtc.c | 1898 ---------
src/legacy_output.c | 2102 ---------
src/pcidb/ati_pciids.csv | 153
src/pcidb/parse_pci_ids.pl | 4
src/r600_exa.c | 794 ---
src/r600_state.h | 140
src/r600_textured_videofuncs.c | 98
src/r6xx_accel.c | 720 +--
src/radeon.h | 1309 +-----
src/radeon_accel.c | 2021 +++------
src/radeon_accelfuncs.c | 1385 ------
src/radeon_atombios.c | 3019 --------------
src/radeon_atombios.h | 292 -
src/radeon_atomwrapper.c | 102
src/radeon_atomwrapper.h | 31
src/radeon_bios.c | 2052 ---------
src/radeon_bo_helper.c | 253 +
src/radeon_bo_helper.h | 38
src/radeon_chipinfo_gen.h | 153
src/radeon_chipset_gen.h | 107
src/radeon_commonfuncs.c | 1037 ----
src/radeon_crtc.c | 1128 -----
src/radeon_cursor.c | 449 --
src/radeon_dri.c | 2347 -----------
src/radeon_dri.h | 91
src/radeon_dri2.c | 883 ++--
src/radeon_dri2.h | 48
src/radeon_driver.c | 6520 -------------------------------
src/radeon_dummy_bufmgr.h | 62
src/radeon_exa.c | 584 --
src/radeon_exa_funcs.c | 539 --
src/radeon_exa_render.c | 657 +--
src/radeon_exa_shared.c | 108
src/radeon_exa_shared.h | 2
src/radeon_glamor.c | 351 +
src/radeon_glamor.h | 93
src/radeon_kms.c | 614 ++
src/radeon_legacy_memory.c | 143
src/radeon_macros.h | 209
src/radeon_mm_i2c.c | 642 ---
src/radeon_modes.c | 542 --
src/radeon_output.c | 3193 ---------------
src/radeon_pci_chipset_gen.h | 107
src/radeon_pci_device_match_gen.h | 105
src/radeon_pm.c | 886 ----
src/radeon_probe.c | 229 -
src/radeon_probe.h | 674 ---
src/radeon_render.c | 1060 -----
src/radeon_textured_video.c | 390 -
src/radeon_textured_videofuncs.c | 1866 +++-----
src/radeon_tv.c | 1283 ------
src/radeon_tv.h | 62
src/radeon_vbo.c | 3
src/radeon_vbo.h | 10
src/radeon_version.h | 1
src/radeon_video.c | 3907 ------------------
src/radeon_video.h | 88
src/radeon_vip.c | 362 -
src/radeon_xvmc.c | 5
src/theatre.c | 2211 ----------
src/theatre.h | 71
src/theatre200.c | 2275 ----------
src/theatre200.h | 140
src/theatre200_module.c | 33
src/theatre_detect.c | 130
src/theatre_detect.h | 46
src/theatre_detect_module.c | 37
src/theatre_module.c | 33
src/theatre_reg.h | 876 ----
109 files changed, 9362 insertions(+), 63928 deletions(-)
New commits:
commit 05f46c7fb57e719929bb67468aa65c5ccea3b496
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Aug 15 18:26:48 2013 +0200
Upload to unstable
diff --git a/debian/changelog b/debian/changelog
index 2449bca..e5425b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-xserver-xorg-video-ati (1:7.2.0-1) UNRELEASED; urgency=low
+xserver-xorg-video-ati (1:7.2.0-1) unstable; urgency=low
[ Maarten Lankhorst ]
* New upstream release:
@@ -11,7 +11,7 @@ xserver-xorg-video-ati (1:7.2.0-1) UNRELEASED; urgency=low
* Bump debhelper compat level to 9 to enable dpkg-buildflags.
* Remove useless override_dh_auto_install rule.
- -- Maarten Lankhorst <maarten.lankhorst@canonical.com> Mon, 16 Jul 2012 14:29:26 +0200
+ -- Julien Cristau <jcristau@debian.org> Thu, 15 Aug 2013 18:26:42 +0200
xserver-xorg-video-ati (1:6.14.4-8) unstable; urgency=medium
commit 3c3801d9853020f8da561d050641d304f94615fd
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Aug 15 18:09:23 2013 +0200
Remove useless override_dh_auto_install rule.
diff --git a/debian/changelog b/debian/changelog
index b051112..2449bca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ xserver-xorg-video-ati (1:7.2.0-1) UNRELEASED; urgency=low
* Get rid of modprobe config file, rely on the kernel's default config to
enable kms.
* Bump debhelper compat level to 9 to enable dpkg-buildflags.
+ * Remove useless override_dh_auto_install rule.
-- Maarten Lankhorst <maarten.lankhorst@canonical.com> Mon, 16 Jul 2012 14:29:26 +0200
diff --git a/debian/rules b/debian/rules
index dca6188..6d9d6a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,10 +5,6 @@ XXV=xserver-xorg-video
override_dh_auto_configure:
dh_auto_configure --builddirectory=build/ -- --libdir=/usr/lib
-# Install in debian/tmp to retain control through dh_install:
-override_dh_auto_install:
- dh_auto_install --destdir=debian/tmp
-
# Kill *.la files, and forget no-one:
override_dh_install:
find debian/tmp -name '*.la' -delete
commit 487eac497645e92d1e35bf3909a0484de7066a7c
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Aug 15 18:08:53 2013 +0200
Bump debhelper compat level to 9 to enable dpkg-buildflags.
Force libdir since we don't want drivers in the multiarch directory.
diff --git a/debian/changelog b/debian/changelog
index dd4076e..b051112 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ xserver-xorg-video-ati (1:7.2.0-1) UNRELEASED; urgency=low
[ Julien Cristau ]
* Get rid of modprobe config file, rely on the kernel's default config to
enable kms.
+ * Bump debhelper compat level to 9 to enable dpkg-buildflags.
-- Maarten Lankhorst <maarten.lankhorst@canonical.com> Mon, 16 Jul 2012 14:29:26 +0200
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 718201c..1801a06 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Uploaders: Drew Parsons <dparsons@debian.org>, Cyril Brulebois <kibi@debian.org>
Build-Depends:
- debhelper (>= 8),
+ debhelper (>= 9),
dh-autoreconf,
quilt,
pkg-config,
diff --git a/debian/rules b/debian/rules
index 9b9be37..dca6188 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
XXV=xserver-xorg-video
+override_dh_auto_configure:
+ dh_auto_configure --builddirectory=build/ -- --libdir=/usr/lib
+
# Install in debian/tmp to retain control through dh_install:
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
commit a5950418318e8cc0e2c857a1fa32236d2ee72474
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Aug 15 13:51:49 2013 +0200
Revert xserver-xorg-dev build-dep bump
diff --git a/debian/changelog b/debian/changelog
index 1993ee7..dd4076e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,6 @@ xserver-xorg-video-ati (1:7.2.0-1) UNRELEASED; urgency=low
[ Maarten Lankhorst ]
* New upstream release:
- KMS-only release, only works with linux-any (or recent kbsd) now.
- * Bump to build against xserver 1.13rc1
* Require libdrm 2.4.46
[ Julien Cristau ]
diff --git a/debian/control b/debian/control
index 6dee717..718201c 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends:
dh-autoreconf,
quilt,
pkg-config,
- xserver-xorg-dev (>= 2:1.12.99.901),
+ xserver-xorg-dev (>= 2:1.12),
x11proto-gl-dev,
x11proto-xext-dev,
x11proto-core-dev,
commit 9ae22e0673aae9981d193007d8e09feebddcf1bb
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Aug 15 13:45:39 2013 +0200
Get rid of modprobe config file
Rely on the kernel's default config to enable kms.
diff --git a/debian/changelog b/debian/changelog
index 23c77ba..1993ee7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,15 @@
xserver-xorg-video-ati (1:7.2.0-1) UNRELEASED; urgency=low
+ [ Maarten Lankhorst ]
* New upstream release:
- KMS-only release, only works with linux-any (or recent kbsd) now.
* Bump to build against xserver 1.13rc1
* Require libdrm 2.4.46
+ [ Julien Cristau ]
+ * Get rid of modprobe config file, rely on the kernel's default config to
+ enable kms.
+
-- Maarten Lankhorst <maarten.lankhorst@canonical.com> Mon, 16 Jul 2012 14:29:26 +0200
xserver-xorg-video-ati (1:6.14.4-8) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index d4c8c81..9b9be37 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,13 +10,6 @@ override_dh_auto_install:
override_dh_install:
find debian/tmp -name '*.la' -delete
dh_install --fail-missing
- # Only enable KMS on some Linux architectures:
-ifeq ($(DEB_HOST_ARCH_OS), linux)
-ifneq (, $(filter $(DEB_HOST_ARCH), i386 amd64))
- dh_install -p$(XXV)-radeon debian/radeon-kms.conf \
- etc/modprobe.d
-endif
-endif
# Debug packages:
override_dh_strip:
commit d41df7cb6fbd86b5772986abf57bfff6dce67727
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Aug 15 13:43:52 2013 +0200
Recent bsd has kms, adjust changelog
diff --git a/debian/changelog b/debian/changelog
index 90a4cf3..23c77ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
xserver-xorg-video-ati (1:7.2.0-1) UNRELEASED; urgency=low
* New upstream release:
- - KMS-only release, only works with linux-any now.
+ - KMS-only release, only works with linux-any (or recent kbsd) now.
* Bump to build against xserver 1.13rc1
* Require libdrm 2.4.46
commit 218dbc58f347b9579f80fe11b8c5fc9c46a663fa
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date: Wed Aug 7 12:01:37 2013 +0200
bump changelogs and require libdrm 2.4.46
diff --git a/ChangeLog b/ChangeLog
index 65d72ba..3413e10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,970 @@
+commit 9c97cca5c24409ca8447c99f051a12fd2d494e79
+Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+Date: Wed Aug 7 10:48:17 2013 +0200
+
+ radeon: bump version for release
+
+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+
+commit 16270cfb202ab67dd152644ef019b2f1ee4d0341
+Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+Date: Wed Aug 7 10:29:33 2013 +0200
+
+ add bicubic_table.py to EXTRA_DIST
+
+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+
+commit 2cb9197ca7a337c911f38b5de562a2364b922b86
+Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+Date: Wed Aug 7 10:28:52 2013 +0200
+
+ kill unused radeon_driver.c
+
+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+
+commit c5cbfcf575b0b4aea6f797558ae974c1453c8e07
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Tue Jul 30 10:08:25 2013 -0400
+
+ drmmode: add support for multi-screen reverse optimus
+
+ Initial reverse optimus didn't consider multiple screens, so
+ this overhauls the code to use the new X server interface,
+ and allows for multiple outputs on the dGPU to be used with
+ the iGPU doing the rendering. Ported from Dave's nouveau
+ patch.
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 429d5b797769895eb4f5fef816ce4e2f3a342031
+Author: Dave Airlie <airlied@redhat.com>
+Date: Tue Jan 8 15:56:37 2013 +1000
+
+ radeon: add support for reverse prime (v2)
+
+ This adds support for reverse prime configurations
+
+ v2: fix compilation with older xservers
+
+ Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
+
+commit 4de9356a2900ae0fb380a2350791ef045629cd05
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon Aug 5 17:57:16 2013 -0400
+
+ radeon: fix naming clashes with multiple GPUs (v3)
+
+ The compat naming code for UMS causes problems
+ with multiple GPU as you may end up with the same
+ output name on multiple GPUs. Adjust the naming on
+ secondary GPUs to avoid conflicts.
+
+ v2: integrate Dave's fixes for nouveau
+ v3: keep compat with existing naming on primary GPU
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 2ae6bb18fefddb309920fa69c9b56c3a7f3db7b4
+Author: Grigori Goronzy <greg@chown.ath.cx>
+Date: Wed Jul 31 12:01:20 2013 +0200
+
+ EXA/evergreen/ni: replace magic number
+
+ Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
+
+commit 6a278369c05a298a4367306d986467a9ceacae8c
+Author: Raul Fernandes <rgfernandes@gmail.com>
+Date: Tue Jul 30 09:26:05 2013 -0400
+
+ EXA/6xx/7xx: optimize non-overlapping Copy
+
+ In case dst and src rectangles of a Copy operation in the same surface
+ don't overlap, it is safe to skip the scratch surface. This is a
+ common case.
+
+ Based on evergreen/ni patch from Grigori Goronzy.
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 4375a6e75e5d41139be7031a0dee58c057ecbd07
+Author: Grigori Goronzy <greg@chown.ath.cx>
+Date: Mon Jul 22 02:30:28 2013 +0200
+
+ EXA/evergreen/ni: accelerate PictOpOver with component alpha
+
+ Subpixel text rendering is typically done with a solid src and a
+ pixmap mask. Traditionally, this cannot be accelerated in a single
+ pass and requires two passes [1]. However, we can cheat a little
+ with a constant blend color.
+
+ We can use:
+
+ const.A = src.A / src.A
+ const.R = src.R / src.A
+ const.G = src.G / src.A
+ const.B = src.B / src.A
+
+ dst.A = const.A * (src.A * mask.A) + (1 - (src.A * mask.A)) * dst.A
+ dst.R = const.R * (src.A * mask.R) + (1 - (src.A * mask.R)) * dst.R
+ dst.G = const.G * (src.A * mask.G) + (1 - (src.A * mask.G)) * dst.G
+ dst.B = const.B * (src.A * mask.B) + (1 - (src.A * mask.B)) * dst.B
+
+ This only needs a single source value. src.A is cancelled down in
+ the right places.
+
+ [1] http://anholt.livejournal.com/32058.html
+
+commit 94d0d14914a025525a0766669b556eaa6681def7
+Author: Grigori Goronzy <greg@chown.ath.cx>
+Date: Thu Jul 18 16:06:23 2013 +0200
+
+ EXA/evergreen/ni: fast solid pixmap support
+
+ Solid pixmaps are currently implemented with scratch pixmaps, which
+ is slow. This replaces the hack with a proper implementation. The
+ Composite shader can now either sample a src/mask or use a constant
+ value.
+
+commit 5bb04351c43a91a1d60348b7293544da05d75e72
+Author: Grigori Goronzy <greg@chown.ath.cx>
+Date: Fri Jul 27 17:31:53 2012 +0200
+
+ EXA/evergreen/ni: optimize non-overlapping Copy
+
+ In case dst and src rectangles of a Copy operation in the same surface
+ don't overlap, it is safe to skip the scratch surface. This is a
+ common case.
+
+commit c08e09b7bec441c4bf93b4cae4de1260754bf940
+Author: Grigori Goronzy <greg@chown.ath.cx>
+Date: Sat May 18 13:46:03 2013 +0200
+
+ Fix RADEON_FALLBACK logging
+
+commit c16c59f8f9b6aa7a4a6a6465582ad98f02a3606a
+Author: Mark Kettenis <kettenis@openbsd.org>
+Date: Sun Jul 7 13:44:13 2013 +0200
+
+ Always go through DFS/UTS when byte swapping is needed.
+
+ Before commit ef9bfb262db7004bef3704e5d914687e50d3fca4 and
+ e5bd99faa3b6629a55168386d5dfa936ee4e97ae, byte swapping for the front buffer
+ used to be done in hardware. Now that this no longer happens we need to let
+ DFS/UTS ihandle the byte swapping.
+
+ See https://bugs.freedesktop.org/show_bug.cgi?id=66663 .
+
+ Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
+
+commit 1239dbbd8c8d9b55756c1de52cad353171a06522
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Sun Jul 7 20:22:10 2013 -0400
+
+ radeon: bump libdrm requirement to 2.4.46 for CIK support
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 869e0b187b2d07e637c4482fe50d9f1b0c09f4e4
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu Jan 24 21:12:28 2013 -0500
+
+ radeon/kms: add kabini pci ids
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 0edcefc4c97e4572431c38fe170032470e22e0b7
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri Jun 7 14:56:26 2013 -0400
+
+ radeon/kms: add bonaire pci ids
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit ebc32b27af25b23604e725eb50d844a8d26116bb
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri Aug 31 18:17:24 2012 -0400
+
+ radeon: update cursor handling for CIK
+
+ CIK asics have 128x128 hw cursors
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 4adaea996454b1ad5185f9c0f37667dbfc266495
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri Jun 7 14:47:36 2013 -0400
+
+ radeon: add family ids for CIK
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 3626ab147b6749a355e7d21710447f13b9796c77
+Author: Leo Liu <leo.liu@amd.com>
+Date: Fri Jun 14 10:27:20 2013 -0400
+
+ radeon: fix a memory leak in get_modes() callback.
+
+ leak happens when looping xrandr prop.
+
+ Signed-off-by: Leo Liu <leo.liu@amd.com>
+ Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
+
+commit c0f7d03cb29166c6c00dd6fb698ba3f70c59dbdf
+Author: Alex Deucher <alexdeucher@gmail.com>
+Date: Mon Jun 17 11:38:27 2013 -0400
+
+ man: fix up previous commit
+
+ Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
+
+commit 03b5edc9dd3859eed2504155970613aaf88df852
+Author: Eric S. Raymond <esr@thyrsus.com>
+Date: Fri Jun 7 13:23:14 2013 -0400
+
+ Fix some incomplete list entries.
+
+ This necessarily involved adding some content, which I was able to
+ Google for. Please review, correct, and make more specific.
+
+ Bodiless .TP entries screw up doclifter's page parsing. Please
+ don't do that anymore.
+
+commit 7ce43639a8e53eefb94e5255a39c1232b6bdbf66
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Thu Jun 6 09:58:27 2013 +0200
+
+ autogen.sh: Restore passing --enable-maintainer-mode to configure
+
+ Looks like this was accidentally dropped when the GNOME Build API was
+ implemented.
+
+commit 365e571d9de0b5979425c34210789afca4ea5f68
+Author: Samuel Li <samuel.li@amd.com>
+Date: Wed Mar 20 11:59:58 2013 -0400
+
+ radeon: use direct mapping for fast fb access.
+
+ Signed-off-by: Samuel Li <samuel.li@amd.com>
+
+commit bd2557ea5ef84b975060e929d5ece53ec464336f
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:48 2013 -0400
+
+ DRI2: add interpolated blanks to frame number in event handlers
+
+ The 'frame' argument passed to event handlers is the plain
+ CRTC vblank counter that stops progressing when the
+ associated display is in DPMS-off mode. If we have a
+ DPMS-off period the frame counter and MSC will
+ diverge, which can cause some higher-level functions
+ to return incorrect values.
+
+ This patch fixes the problem by adding interpolated
+ vblanks to the frame counter before using it in handler
+ functions.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 385a92b4fbe8f53b359ef6c463704414d00476fa
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:47 2013 -0400
+
+ DRI2: support scheduling emulated events with zero delay
+
+ Now that we fully emulating a running CRTC through DPMS-off state
+ it is possible to come up with a zero delay when scheduling
+ a swap or MSC-wait (e.g., if a call into respective wait function
+ was entered very late). This patch wraps the TimerSet function
+ into our own radeon_dri2_schedule_event such that the latter
+ calls the event right away if zero delay is specified.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit e87b52e6ad41ad7a87e43b818d80e7d522d9c68d
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:46 2013 -0400
+
+ DRI2: make wait_msc and get_msc work on disabled CRTCs
+
+ Now that the running CRTC is emulated through DPMS-off
+ states, wait_msc and get_msc must also work on disabled
+ CRTCs. When CRTC is disabled, we must extrapolate the
+ MSC count from present time and last MSC when CRTC was
+ running and also use timers facility in wait_msc.
+
+ v2: CRTC-private now stores frame rate instead of nominal
+ vblank period.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit f1584152bbeda98cc1907359f1c7954a84c8837d
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:45 2013 -0400
+
+ DRI2: move rename and rework radeon_dri2_deferred_swap
+
+ radeon_dri2_deferred_swap will be used to generate
+ real events (not just fallbacks) so now it needs to
+ generate real timestamp and frame counter. Also
+ this function will be used both by schedule_swap
+ and wait_msc, so give it a more generic name:
+ radeon_dri2_deferred_event
+
+ v2: - Extrapolate the frame number from the time
+ of actual execution of the function instead
+ of using the MSC calculated (extrapolated)
+ at event scheduling time.
+ - CRTC-private now stores frame rate instead of
+ nominal vblank period.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 84bce7943b735aee19e26be4d47fdf140564f3f5
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:44 2013 -0400
+
+ DRI2: track CRTC in event record
+
+ Tracking the CRTC associated with an event will save us
+ some lookups later in event handlers.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit e40d5390b3efdea3e02267413350410d8e6a2970
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:43 2013 -0400
+
+ DRI2: hook up vblank extrapolation to schedule_swap
+
+ This patch hooks up swap-scheduling function with
+ vblank-extrapolation function. Rather than waiting for
+ fixed time, we calculate exactly how much we should wait
+ and what we should update target_msc to using
+ radeon_dri2_extrapolate_msc_delay helper function
+ and schedule the swap completion using DIX's timer facility.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit ffaa5abf207415159cdb28e90da49b95f497ef61
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:42 2013 -0400
+
+ DRI2: add vblank extrapolation function
+
+ Implement a helper function that will be called when emulating
+ the running CRTC. The function should be called only when CRTC
+ is in DPMS-off state. It will look at the vblank count and the
+ time that was recorded last time the CRTC was running and
+ calculate how long one must wait (from present time) until
+ the target_msc is reached if the CRTC were running.
+
+ v2: - CRTC-private now stores frame rate instead of nominal
+ vblank period.
+ - DIX's timer facility can sometimes wake up the scheduled
+ functions more than a millisecond earlier. To avoid
+ generating an old MSC, we have to add more margin when
+ converting the delay in microseconds to milliseconds.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 80ae2291d082b57c70d27a80182f00d760fb3d3a
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:41 2013 -0400
+
+ DRI2: adjust MSC by the number of interpolated vblanks
+
+ Normally, MSC value equals the vblank count of the CRTC
+ on which the drawable resides. However, we are now interpolating
+ vblanks through DPMS-off state, so if the CRTC is turned
+ off at some point, the vlbank count does not change, but
+ MSC does change by the amount that equals the cumulative
+ number of interpolated vblanks.
+
+ So each time we interact with the CRTC's vblank facility,
+ we have to adjust the vblank counter: in the request, we
+ have to subtract the number of interpolated vblanks from
+ MSC and in the reply we have to add the number of interpolated
+ vblanks to the MSC.
+
+ This patch only makes the MSC correct when CRTC is on.
+ The subsequent patch will construct the MSC when CRTC is not
+ running.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 5fd2eb5d12cea32927a9e6c6ce4afd18aa7d046a
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:40 2013 -0400
+
+ drmmode: calculate interpolated vblanks while in dpms-off state
+
+ This adds provisions for interpolating vblanks while the CRTC
+ is in DPMS-off state. When entering DPMS-off state, we
+ record the last vblank time, sequence number and frame rate
+ in CRTC-private structure.
+
+ When going back to DPMS-on state we read the current
+ time and calculate how long we have been off. Then we derive
+ how many vblanks that would have been had the CRTC remained
+ running. These are the interpolated vblanks.
+
+ Finally, we accumulate the number of interpolated vblanks
+ in CRTC-private structure to get the number of interpolated
+ vblanks over the system lifetime.
+
+ v2: Track frame rate instead of vblank period. The former
+ eliminates some roundoff errors.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit e41ad30d09be4962cfb1942b0b9f63875dbb2d2a
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:39 2013 -0400
+
+ drmmode: remove dead code from drmmode_crtc_dpms
+
+ We are about to modify this function, so let's clean it
+ up first.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 373671d2eed30e30b3bdee7e40426cf58c127234
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:38 2013 -0400
+
+ drmmode: add drmmode_get_current_ust function
+
+ The new helper function retrieves current time in the format
+ that is compatible with vblank timestamps.
+
+ v2: - fix an incorrect statement in a comment
+ - add a #define so that don't depend on libdrm patches that
+ have not yet been accepted upstream
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 006fbbd1d38a089b50ab3197d32815689ed249fa
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:37 2013 -0400
+
+ DRI2: make populate_vbl_request_type external
+
+ We'll need to use this function in other .c files so
+ remove static annotation from it. Also, add radeon_
+ prefix because this function is now part of global namespace,
+ so it would be nice to know where it is coming from.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 34660d8757ff16acd1686ff2872f4600d92a68bf
+Author: Ilija Hadzic <ilijahadzic@gmail.com>
+Date: Wed May 8 22:39:36 2013 -0400
+
+ DRI2: change signature of populate_vbl_request_type
+
+ This function no longer uses info argument, so nuke it.
+
+ Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit ab6e85d1f5dd4657591b314b85fd2453f99c3712
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Fri Mar 22 10:51:05 2013 +0100
+
+ glamor: Keep old private in radeon_pixmap_set_bo
+
+commit 0a84f2760eccf07781ae6c3f55d2d246c155c9ce
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon May 13 17:06:00 2013 -0400
+
+ radeon: add Hainan pci ids
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 6cee1eaebfcef2b2d2c51ec30c31260fd98b564e
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon May 13 17:01:30 2013 -0400
+
+ radeon: add hainan chip family
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 8a9e9b21cbb44c23d37bf18c983e2c3f0fe33e87
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Thu Apr 25 17:10:12 2013 +0200
+
+ glamor: Fix build against xserver < 1.13
+
+ Those didn't define CREATE_PIXMAP_USAGE_SHARED.
+
+commit 6216b5aa3793abe71b864170bc9d4d745f027328
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu Apr 25 14:19:37 2013 -0400
+
+ radeon: add new richland pci ids
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit fd5903f15b36555bf1ccc1c3865c9fffd499128a
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu Apr 25 14:17:51 2013 -0400
+
+ radeon: add new SI pci ids
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit b2826580e4d246d45871b413e4deecb070162577
+Author: Jerome Glisse <jglisse@redhat.com>
+Date: Mon Apr 8 13:45:18 2013 -0400
+
+ radeonsi: add 2d tiling support
+
+ Signed-off-by: Jerome Glisse <jglisse@redhat.com>
+
+commit 6e74aacc5e5da3b51744153dad1645caa6ea4ce3
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Wed Mar 27 11:57:29 2013 +0100
+
+ glamor: Only enable for depth >= 24
+
+ It can't handle lower depths yet.
+
+ Reported-by: Igor Vagulin <igor.vagulin@gmail.com>
+
+commit 33d8408eec806355c2e55726679ec50ef3b769f1
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Tue Mar 12 19:03:06 2013 +0100
+
+ glamor: Enable by default on SI
+
+ We should now handle its major initialization failure cases gracefully.
+
+ Reviewed-by: Jerome Glisse <jglisse@redhat.com>
+
+commit ad1d8874fab30257ba8ec8bee8ffa42a8fa9b5c0
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Fri Mar 15 18:28:27 2013 +0100
+
+ glamor: Initial PRIME pixmap sharing hooks.
+
+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57200
+
+ Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+ Tested-by: Christoph Haag <haagch.christoph@googlemail.com>
+ Tested-by: linedot <linedot@xcpp.org>
+
+commit 35b384a00a0c76ea556f55787fccc95ecd51bc0c
+Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+Date: Thu Mar 21 15:34:21 2013 +0100
+
+ drmmode: handle failure of drmModeGetConnector
+
+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+
+commit 751c7259cf23a29fdd2653881e2db63ce3cf1ca5
+Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+Date: Thu Mar 21 10:40:42 2013 +0100
+
+ Move fd cleanup to correct place.
+
+ Oops, just after previous commit I realized that it
+ needs to be done from RADEONFreeRec, because when preinit fails
+ info pointer can be null in FreeScreen.
+
+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+
+commit 1643b8cd2dc53ed36916e11003590c7037b4ddd6
+Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+Date: Thu Mar 21 10:33:19 2013 +0100
+
+ radeon: add refcounts to fix up zaphod open/close.
+
+ Oops, turns out my previous commits were buggy.
+ Adding proper refcounts will handle this correctly.
+
+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+
+commit a4d1bc43d4d10e2ca1e512c1010e962c587d6c16
+Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+Date: Wed Mar 20 17:13:44 2013 +0100
+
+ Cleanup drmmode in CloseScreen.
+
+ Prevents a use-after-free.
+
+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+
+commit 3cb3ab8704813d7c14b9e547a30e37598d70c85a
+Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+Date: Wed Mar 20 17:12:29 2013 +0100
+
+ Close drm_fd in CloseScreen.
+
+ This prevents a small fd leak.
+
+ Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
+
+commit 462d8d3b86038438ab854072e546cc7a9efacdd7
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Tue Mar 12 18:59:19 2013 +0100
+
+ glamor: Bail if the glamoregl module wasn't loaded early
+
+ Trying to initialize glamor in that case crashes.
+
+ Reviewed-by: Jerome Glisse <jglisse@redhat.com>
+
+commit 3e5350bedf50a1a140e0eba08c39ed2451fb9115
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri Mar 8 14:07:42 2013 -0500
+
+ radeon: add Richland pci ids
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit bdbf766d8170f6ea6c16b9780ef5a4007730588b
+Author: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri Mar 8 14:00:09 2013 -0500
+
+ radeon: mark trinity APUs with IGP flag
+
+ Was missing on trinity.
+
+ Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+
+commit 5ac335eaae135c0e66cc4643908f41174e2f1123
+Author: Michel Dänzer <michel.daenzer@amd.com>
+Date: Fri Mar 8 17:37:41 2013 +0100
+
+ Only parse Option "AccelMethod" if glamor was enabled at build time
+
+ Will hopefully make it more obvious when it wasn't.
+
+commit f1059e3f0934ccf1ae183099dbd4de700a7c81ac
+Author: Colin Walters <walters@verbum.org>
+Date: Wed Jan 4 17:37:06 2012 -0500
+
+ autogen.sh: Implement GNOME Build API
+
+ http://people.gnome.org/~walters/docs/build-api.txt
+
+ Signed-off-by: Adam Jackson <ajax@redhat.com>
Reply to: