diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-25 14:29:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-25 14:29:42 +0000 |
commit | d6c1539da1531f54c78955a9c4c17878bab92879 (patch) | |
tree | a5f198fef8ae6133af30144729a649267ac6c3dd /main/libdrm | |
parent | 63558ff35b8ac85e2ed6794ec14e4aa13e5cf9a3 (diff) | |
download | aports-d6c1539da1531f54c78955a9c4c17878bab92879.tar.bz2 aports-d6c1539da1531f54c78955a9c4c17878bab92879.tar.xz |
main/libdrm: upgrade to 2.4.84
Diffstat (limited to 'main/libdrm')
-rw-r--r-- | main/libdrm/APKBUILD | 8 | ||||
-rw-r--r-- | main/libdrm/amdgpu-uve_ib.patch | 536 |
2 files changed, 3 insertions, 541 deletions
diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD index a2b3745743..0af1df2aeb 100644 --- a/main/libdrm/APKBUILD +++ b/main/libdrm/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libdrm -pkgver=2.4.83 -pkgrel=2 +pkgver=2.4.84 +pkgrel=0 pkgdesc="Userspace interface to kernel DRM services" url="http://dri.freedesktop.org/" arch="all" @@ -15,7 +15,6 @@ checkdepends="cunit-dev bash" subpackages="$pkgname-dev" source="http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2 ioctl.patch - amdgpu-uve_ib.patch fix-symbol-checks.patch " @@ -47,7 +46,6 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="8f894ff61939bca03ac857506a84bbbcbe2367e60c91a0f2388bfce5ae81e12ba2f96fe1c962416cf9e2d25ef04b98b5437c7015497789561311a72607b3bfcb libdrm-2.4.83.tar.bz2 +sha512sums="860ebc5fa934edee97e9e7e13aaa2f2e70a68b946f4f3893cd7f93b8296c10b3cd4ce4c23b1676eefe375286e6e2292b96e917d7976f65c61da3fa661e5e641a libdrm-2.4.84.tar.bz2 af52fef51aaa05a4dd17919371cb9d92a77480402730bf53ba223e54df52f3825be05a7f28e6aef8c904db5ee59fe38a6c15bc6aafa7f8d31a719e80399dd51f ioctl.patch -5aa56bf6dab6bec0f2fc90cba925bc64f48f0ebdf52651ccdbb65ccace99fce0bef23f7660968d54a6027ebc1f17850eb3a9cc5baa847c54f75a7b2b4b4e9f41 amdgpu-uve_ib.patch fe85537761fa8e7a168c2fbfcb6092ba3c34275c2eaa6c8ce2803ccc769a797350f8deacefc94a3479ebef51800808cdd4b4554eee14c1cd8b6f2cc159ab467e fix-symbol-checks.patch" diff --git a/main/libdrm/amdgpu-uve_ib.patch b/main/libdrm/amdgpu-uve_ib.patch deleted file mode 100644 index 153e0ec5b4..0000000000 --- a/main/libdrm/amdgpu-uve_ib.patch +++ /dev/null @@ -1,536 +0,0 @@ -diff --git a/tests/amdgpu/uve_ib.h b/tests/amdgpu/uve_ib.h -new file mode 100644 -index 0000000..9abd406 ---- /dev/null -+++ b/tests/amdgpu/uve_ib.h -@@ -0,0 +1,527 @@ -+/* -+ * Copyright 2017 Advanced Micro Devices, Inc. -+ * -+ * Permission is hereby granted, free of charge, to any person obtaining a -+ * copy of this software and associated documentation files (the "Software"), -+ * to deal in the Software without restriction, including without limitation -+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, -+ * and/or sell copies of the Software, and to permit persons to whom the -+ * Software is furnished to do so, subject to the following conditions: -+ * -+ * The above copyright notice and this permission notice shall be included in -+ * all copies or substantial portions of the Software. -+ * -+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -+ * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR -+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -+ * OTHER DEALINGS IN THE SOFTWARE. -+ * -+*/ -+ -+#ifndef _uve_ib_h_ -+#define _uve_ib_h_ -+ -+static const uint32_t uve_session_info[] = { -+ 0x00000018, -+ 0x00000001, -+ 0x00000000, -+ 0x00010000, -+}; -+ -+static const uint32_t uve_task_info[] = { -+ 0x00000014, -+ 0x00000002, -+}; -+ -+static const uint32_t uve_session_init[] = { -+ 0x00000020, -+ 0x00000003, -+ 0x000000c0, -+ 0x00000080, -+ 0x00000020, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_layer_ctrl[] = { -+ 0x00000010, -+ 0x00000004, -+ 0x00000001, -+ 0x00000001, -+}; -+ -+static const uint32_t uve_layer_select[] = { -+ 0x0000000c, -+ 0x00000005, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_slice_ctrl[] = { -+ 0x00000014, -+ 0x00000006, -+ 0x00000000, -+ 0x00000006, -+ 0x00000006, -+}; -+ -+static const uint32_t uve_spec_misc[] = { -+ 0x00000024, -+ 0x00000007, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000001, -+ 0x00000001, -+}; -+ -+static const uint32_t uve_rc_session_init[] = { -+ 0x00000010, -+ 0x00000008, -+ 0x00000000, -+ 0x00000040, -+}; -+ -+static const uint32_t uve_rc_layer_init[] = { -+ 0x00000028, -+ 0x00000009, -+ 0x001e8480, -+ 0x001e8480, -+ 0x0000001e, -+ 0x00000001, -+ 0x0001046a, -+ 0x0001046a, -+ 0x0001046a, -+ 0xaaaaaaaa, -+}; -+ -+static const uint32_t uve_deblocking_filter[] = { -+ 0x00000020, -+ 0x0000000e, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_quality_params[] = { -+ 0x00000014, -+ 0x0000000d, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_feedback_buffer[] = { -+ 0x0000001c, -+ 0x00000012, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_feedback_buffer_additional[] = { -+ 0x00000108, -+ 0x00000014, -+ 0x00000001, -+ 0x00000010, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_nalu_buffer_1[] = { -+ 0x00000018, -+ 0x00000013, -+ 0x00000001, -+ 0x00000007, -+ 0x00000001, -+ 0x46011000, -+}; -+ -+static const uint32_t uve_nalu_buffer_2[] = { -+ 0x0000002c, -+ 0x00000013, -+ 0x00000002, -+ 0x0000001b, -+ 0x00000001, -+ 0x40010c01, -+ 0xffff0160, -+ 0x00000300, -+ 0xb0000003, -+ 0x00000300, -+ 0x962c0900, -+}; -+ -+static const uint32_t uve_nalu_buffer_3[] = { -+ 0x00000034, -+ 0x00000013, -+ 0x00000003, -+ 0x00000023, -+ 0x00000001, -+ 0x42010101, -+ 0x60000003, -+ 0x00b00000, -+ 0x03000003, -+ 0x0096a018, -+ 0x2020708f, -+ 0xcb924295, -+ 0x12e08000, -+}; -+ -+static const uint32_t uve_nalu_buffer_4[] = { -+ 0x0000001c, -+ 0x00000013, -+ 0x00000004, -+ 0x0000000b, -+ 0x00000001, -+ 0x4401e0f1, -+ 0x80992000, -+}; -+ -+static const uint32_t uve_slice_header[] = { -+ 0x000000c8, -+ 0x0000000b, -+ 0x28010000, -+ 0x40000000, -+ 0x60000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000002, -+ 0x00000010, -+ 0x00000003, -+ 0x00000000, -+ 0x00000002, -+ 0x00000002, -+ 0x00000004, -+ 0x00000000, -+ 0x00000001, -+ 0x00000000, -+ 0x00000002, -+ 0x00000003, -+ 0x00000005, -+ 0x00000000, -+ 0x00000002, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_encode_param[] = { -+ 0x000000a0, -+ 0x00000080, -+ 0x00000000, -+ 0x00000000, -+ 0xffffffff, -+ 0x00000001, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_intra_refresh[] = { -+ 0x00000014, -+ 0x0000000f, -+ 0x00000000, -+ 0x00000000, -+ 0x00000001, -+}; -+ -+static const uint32_t uve_ctx_buffer[] = { -+ 0x00000000, -+ 0x00000000, -+ 0x000000a0, -+ 0x000000a0, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+}; -+ -+static const uint32_t uve_bitstream_buffer[] = { -+ 0x0000001c, -+ 0x00000011, -+}; -+ -+static const uint32_t uve_rc_per_pic[] = { -+ 0x00000024, -+ 0x0000000a, -+ 0x0000001a, -+ 0x00000000, -+ 0x00000033, -+ 0x00000000, -+ 0x00000000, -+ 0x00000000, -+ 0x00000001, -+}; -+ -+static const uint32_t uve_op_init[] = { -+ 0x00000008, -+ 0x08000001, -+}; -+ -+static const uint32_t uve_op_close[] = { -+ 0x00000008, -+ 0x08000002, -+}; -+ -+static const uint32_t uve_op_encode[] = { -+ 0x00000008, -+ 0x08000003, -+}; -+ -+static const uint32_t uve_op_init_rc[] = { -+ 0x00000008, -+ 0x08000004, -+}; -+ -+static const uint32_t uve_op_init_rc_vbv_level[] = { -+ 0x00000008, -+ 0x08000005, -+}; -+ -+static const uint32_t uve_op_speed_enc_mode[] = { -+ 0x00000008, -+ 0x08000006, -+}; -+ -+static const uint32_t uve_op_balance_enc_mode[] = { -+ 0x00000008, -+ 0x08000007, -+}; -+ -+static const uint32_t uve_op_quality_enc_mode[] = { -+ 0x00000008, -+ 0x08000008, -+}; -+#endif /*_uve_ib_h*/ --- -cgit v0.10.2 - |