diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2009-05-16 17:26:01 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2009-05-16 17:26:01 +0000 |
commit | 391e31c2c39438a49f4d94a48904edd8696f08e1 (patch) | |
tree | 86bd5ed3855579af4f4dc83dabed384b51a24680 /x11-libs | |
parent | games-util/playonlinux: removing, in gentoo-x86 (diff) | |
download | sunrise-391e31c2c39438a49f4d94a48904edd8696f08e1.tar.gz sunrise-391e31c2c39438a49f4d94a48904edd8696f08e1.tar.bz2 sunrise-391e31c2c39438a49f4d94a48904edd8696f08e1.zip |
x11-libs/libdrm_nouveau: update for new libdrm release in portage
svn path=/sunrise/; revision=8549
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libdrm_nouveau/ChangeLog | 10 | ||||
-rw-r--r-- | x11-libs/libdrm_nouveau/Manifest | 10 | ||||
-rw-r--r-- | x11-libs/libdrm_nouveau/files/2.4.9-0001-nouveau-store-bo-handle-in-public-struct-in-bo_ref_.patch | 26 | ||||
-rw-r--r-- | x11-libs/libdrm_nouveau/files/2.4.9-0002-nouveau-write-posting-got-lost-somewhere-bring-it.patch | 24 | ||||
-rw-r--r-- | x11-libs/libdrm_nouveau/files/2.4.9-0003-libdrm-mode-align-subpixel-results.patch | 26 | ||||
-rw-r--r-- | x11-libs/libdrm_nouveau/files/2.4.9-0004-intel-NULL-fake-bo-block-when-freeing-in-evict_all.patch | 28 | ||||
-rw-r--r-- | x11-libs/libdrm_nouveau/libdrm_nouveau-2.4.11.ebuild (renamed from x11-libs/libdrm_nouveau/libdrm_nouveau-2.4.9.ebuild) | 6 |
7 files changed, 13 insertions, 117 deletions
diff --git a/x11-libs/libdrm_nouveau/ChangeLog b/x11-libs/libdrm_nouveau/ChangeLog index 2fc72181f..36d24b2f1 100644 --- a/x11-libs/libdrm_nouveau/ChangeLog +++ b/x11-libs/libdrm_nouveau/ChangeLog @@ -2,6 +2,16 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 16 May 2009; Chi-Thanh Christopher Nguyen (chithead) + <chithanh@cs.tu-berlin.de> + -files/2.4.9-0001-nouveau-store-bo-handle-in-public-struct-in-bo_ref_.patc + h, -libdrm_nouveau-2.4.9.ebuild, +libdrm_nouveau-2.4.11.ebuild, + -files/2.4.9-0002-nouveau-write-posting-got-lost-somewhere-bring-it.patch, + -files/2.4.9-0003-libdrm-mode-align-subpixel-results.patch, + -files/2.4.9-0004-intel-NULL-fake-bo-block-when-freeing-in-evict_all.patch + : + update for new libdrm release in portage + 10 May 2009; Chi-Thanh Christopher Nguyen (chithead) <chithanh@cs.tu-berlin.de> +files/2.4.9-0001-nouveau-store-bo-handle-in-public-struct-in-bo_ref_.patc diff --git a/x11-libs/libdrm_nouveau/Manifest b/x11-libs/libdrm_nouveau/Manifest index 8746ba876..7c8140b62 100644 --- a/x11-libs/libdrm_nouveau/Manifest +++ b/x11-libs/libdrm_nouveau/Manifest @@ -1,8 +1,4 @@ -AUX 2.4.9-0001-nouveau-store-bo-handle-in-public-struct-in-bo_ref_.patch 711 RMD160 6942f00eb8e45868fdcb1f52f2583cacf3806a0d SHA1 1c889f475e7e1ee6a03dabdf66088b787c0a0ceb SHA256 adb1d9052789290078315e14e7cd3e4a202f649bf8ad37181bc67caf38520849 -AUX 2.4.9-0002-nouveau-write-posting-got-lost-somewhere-bring-it.patch 708 RMD160 795b4dbf84914bbc13c5db086769d0b500385441 SHA1 187780606e0100c8d2de251af4af8cb773955180 SHA256 cfc0325d305c5d534a0c564d90f63f2ff27a45968203453defd531d38d853c3e -AUX 2.4.9-0003-libdrm-mode-align-subpixel-results.patch 901 RMD160 1a66e30396a1c6a04d8e398dabe7f42c975e8327 SHA1 12eb648b7f41de9e5ce4f2a3dcec32d1d93e07a6 SHA256 567f496c402ee78ad99d4a95e2ee297208ea4593d1be2040eaf368edc6a2d7ba -AUX 2.4.9-0004-intel-NULL-fake-bo-block-when-freeing-in-evict_all.patch 1048 RMD160 358d8dfdc8b6ea36bffe476151a24467d96fc5eb SHA1 55bd0fb8342e5be26ee4498242670f13535ed2a7 SHA256 12cf1766699dd02c0df7558972ac67026742b0d016c749c3f5b0c5eba85e5dce -DIST libdrm-2.4.9.tar.gz 523793 RMD160 2d988da67c343dc480a46ea4370dbe0067c47212 SHA1 ca40ef9fe1cfbfd2538631d449a68bf5247bc285 SHA256 c74b2e188398978c6a358d7c0fa2c8db7ac13c548b32c297f14c2cc2550cb2dd -EBUILD libdrm_nouveau-2.4.9.ebuild 1602 RMD160 b567618b6ff3e9ee31d6032d1732b2fd132eca0b SHA1 e954e5bbb16126b2ec27265322f56b6594d9b2fe SHA256 98501e151b1f528298e5f8fb54b6843c4b0273a5ca7c978541267192ab42b08b -MISC ChangeLog 1080 RMD160 3f04fd47b101fa5398d7a2c28a6f0de5ee3fd3e7 SHA1 2f5d44bfe6139c59e0d4440643cc684b64f89891 SHA256 e231655ba5cfad05e791e2b54841078546d0d55a3f8221eaa284e6b1282da862 +DIST libdrm-2.4.11.tar.gz 523915 RMD160 2d23505423da4abed249c44b550097d05bc11da8 SHA1 3b24b3b2d7dd35ab16abc06ce80e9c86c59979ed SHA256 42876c0dd6caef0be0fc884a5a26d99854ebbbdae3afec5359a93fbeed7afe51 +EBUILD libdrm_nouveau-2.4.11.ebuild 1274 RMD160 ab8eddb5e01e245181b79f0bb5b4cf2bd7a5f2f0 SHA1 69cb1d20d682adea1b7fbc3335ad4754e7fe728d SHA256 f030348f866e2e234834dd3698f409025f57b995d532c8beb3d7c9c2fde04fcb +MISC ChangeLog 1571 RMD160 e84eb2df3290c8f5fdad05769afa8af6c8616bfc SHA1 038e71239ecaeaee584c1219553118c8abcc9012 SHA256 ed1680637a66fd6070118263ad0d9924e0d55b3c13b241484d7ce6657b49ae5e MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/x11-libs/libdrm_nouveau/files/2.4.9-0001-nouveau-store-bo-handle-in-public-struct-in-bo_ref_.patch b/x11-libs/libdrm_nouveau/files/2.4.9-0001-nouveau-store-bo-handle-in-public-struct-in-bo_ref_.patch deleted file mode 100644 index a667eaed2..000000000 --- a/x11-libs/libdrm_nouveau/files/2.4.9-0001-nouveau-store-bo-handle-in-public-struct-in-bo_ref_.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 78e753d03314e3aa92af8ec601e9dbb869a938d5 Mon Sep 17 00:00:00 2001 -From: Ben Skeggs <bskeggs@redhat.com> -Date: Wed, 15 Apr 2009 12:44:21 +1000 -Subject: [PATCH 1/4] nouveau: store bo handle in public struct in bo_ref_handle - ---- - libdrm/nouveau/nouveau_bo.c | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/libdrm/nouveau/nouveau_bo.c b/libdrm/nouveau/nouveau_bo.c -index 023c6be..66466e3 100644 ---- a/libdrm/nouveau/nouveau_bo.c -+++ b/libdrm/nouveau/nouveau_bo.c -@@ -404,7 +404,8 @@ nouveau_bo_handle_ref(struct nouveau_device *dev, uint32_t handle, - nvbo->size = req.size; - nvbo->handle = req.handle; - } -- -+ -+ nvbo->base.handle = nvbo->handle; - return 0; - } - --- -1.6.2.3 - diff --git a/x11-libs/libdrm_nouveau/files/2.4.9-0002-nouveau-write-posting-got-lost-somewhere-bring-it.patch b/x11-libs/libdrm_nouveau/files/2.4.9-0002-nouveau-write-posting-got-lost-somewhere-bring-it.patch deleted file mode 100644 index fc3c7c207..000000000 --- a/x11-libs/libdrm_nouveau/files/2.4.9-0002-nouveau-write-posting-got-lost-somewhere-bring-it.patch +++ /dev/null @@ -1,24 +0,0 @@ -From a1e3ab9e55047c08a4006ec389c1a99b72bc672c Mon Sep 17 00:00:00 2001 -From: Ben Skeggs <bskeggs@redhat.com> -Date: Fri, 17 Apr 2009 09:29:19 +1000 -Subject: [PATCH 2/4] nouveau: write posting got lost somewhere, bring it back - ---- - libdrm/nouveau/nouveau_dma.c | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/libdrm/nouveau/nouveau_dma.c b/libdrm/nouveau/nouveau_dma.c -index 23da64b..b084f70 100644 ---- a/libdrm/nouveau/nouveau_dma.c -+++ b/libdrm/nouveau/nouveau_dma.c -@@ -41,6 +41,7 @@ WRITE_PUT(struct nouveau_channel_priv *nvchan, uint32_t val) - volatile int dum; - - NOUVEAU_DMA_BARRIER; -+ dum = nvchan->pushbuf[0]; - dum = READ_GET(nvchan); - - *nvchan->put = put; --- -1.6.2.3 - diff --git a/x11-libs/libdrm_nouveau/files/2.4.9-0003-libdrm-mode-align-subpixel-results.patch b/x11-libs/libdrm_nouveau/files/2.4.9-0003-libdrm-mode-align-subpixel-results.patch deleted file mode 100644 index 0fa468c63..000000000 --- a/x11-libs/libdrm_nouveau/files/2.4.9-0003-libdrm-mode-align-subpixel-results.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 412d370b9ae4b2882691863a1c5e13a507574e92 Mon Sep 17 00:00:00 2001 -From: Dave Airlie <airlied@linux.ie> -Date: Wed, 22 Apr 2009 20:25:40 +1000 -Subject: [PATCH 3/4] libdrm/mode: align subpixel results - ---- - libdrm/xf86drmMode.c | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/libdrm/xf86drmMode.c b/libdrm/xf86drmMode.c -index 872604f..ea11207 100644 ---- a/libdrm/xf86drmMode.c -+++ b/libdrm/xf86drmMode.c -@@ -395,7 +395,8 @@ drmModeConnectorPtr drmModeGetConnector(int fd, uint32_t connector_id) - r->connection = conn.connection; - r->mmWidth = conn.mm_width; - r->mmHeight = conn.mm_height; -- r->subpixel = conn.subpixel; -+ /* convert subpixel from kernel to userspace */ -+ r->subpixel = conn.subpixel + 1; - r->count_modes = conn.count_modes; - /* TODO we should test if these alloc & cpy fails. */ - r->count_props = conn.count_props; --- -1.6.2.3 - diff --git a/x11-libs/libdrm_nouveau/files/2.4.9-0004-intel-NULL-fake-bo-block-when-freeing-in-evict_all.patch b/x11-libs/libdrm_nouveau/files/2.4.9-0004-intel-NULL-fake-bo-block-when-freeing-in-evict_all.patch deleted file mode 100644 index 6a5a9a314..000000000 --- a/x11-libs/libdrm_nouveau/files/2.4.9-0004-intel-NULL-fake-bo-block-when-freeing-in-evict_all.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 11b60973bca1bc9bbda44be4c695e22d28d8ca4a Mon Sep 17 00:00:00 2001 -From: Jesse Barnes <jbarnes@virtuousgeek.org> -Date: Tue, 21 Apr 2009 17:13:16 -0700 -Subject: [PATCH 4/4] intel: NULL fake bo block when freeing in evict_all - -Fixes assertion failures on later use of the object. ---- - libdrm/intel/intel_bufmgr_fake.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/libdrm/intel/intel_bufmgr_fake.c b/libdrm/intel/intel_bufmgr_fake.c -index e1f98d6..969c03d 100644 ---- a/libdrm/intel/intel_bufmgr_fake.c -+++ b/libdrm/intel/intel_bufmgr_fake.c -@@ -1467,8 +1467,10 @@ drm_intel_bufmgr_fake_evict_all(drm_intel_bufmgr *bufmgr) - assert(DRMLISTEMPTY(&bufmgr_fake->on_hardware)); - - DRMLISTFOREACHSAFE(block, tmp, &bufmgr_fake->lru) { -+ drm_intel_bo_fake *bo_fake = (drm_intel_bo_fake *)block->bo; - /* Releases the memory, and memcpys dirty contents out if necessary. */ - free_block(bufmgr_fake, block, 0); -+ bo_fake->block = NULL; - } - - pthread_mutex_unlock(&bufmgr_fake->lock); --- -1.6.2.3 - diff --git a/x11-libs/libdrm_nouveau/libdrm_nouveau-2.4.9.ebuild b/x11-libs/libdrm_nouveau/libdrm_nouveau-2.4.11.ebuild index c94892a85..d4b86768c 100644 --- a/x11-libs/libdrm_nouveau/libdrm_nouveau-2.4.9.ebuild +++ b/x11-libs/libdrm_nouveau/libdrm_nouveau-2.4.11.ebuild @@ -26,12 +26,6 @@ RDEPEND="dev-libs/libpthread-stubs DEPEND="${RDEPEND}" S="${WORKDIR}/${DRM_P}" -PATCHES=( - "${FILESDIR}"/${PV}-0001-nouveau-store-bo-handle-in-public-struct-in-bo_ref_.patch - "${FILESDIR}"/${PV}-0002-nouveau-write-posting-got-lost-somewhere-bring-it.patch - "${FILESDIR}"/${PV}-0003-libdrm-mode-align-subpixel-results.patch - "${FILESDIR}"/${PV}-0004-intel-NULL-fake-bo-block-when-freeing-in-evict_all.patch -) CONFIGURE_OPTIONS="--enable-nouveau-experimental-api" # FIXME, we should try to see how we can fit the --enable-udev configure flag |