--- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/.dir-locals.el +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/.dir-locals.el @@ -0,0 +1,12 @@ +((nil + (indent-tabs-mode . t) + (tab-width . 8) + (c-basic-offset . 8) + (c-file-style . "stroustrup") + (fill-column . 78) + (eval . (progn + (c-set-offset 'innamespace '0) + (c-set-offset 'inline-open '0))) + ) + (makefile-mode (indent-tabs-mode . t)) + ) --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/ChangeLog +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/ChangeLog @@ -1,653 +1,3 @@ -commit a04f4015d6afef20c2b79e2779f6555836ee2b07 -Author: Michel Dänzer -Date: Thu Apr 7 16:47:25 2016 +0900 - - Bump version for 1.1.0 release - -commit aed1c17c43b2c0c983f6fc0973a5224d0faf32d9 -Author: Michel Dänzer -Date: Mon Apr 4 18:28:02 2016 +0900 - - glamor: Force GPU rendering to/from pixmaps created via DRI3 - - Fixes crash when running DRI3 clients with ShadowPrimary enabled. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94799 - - Reviewed-by: Alex Deucher - -commit faf9d720b7d650f5f1ea657a874d08eac3972e60 -Author: Michel Dänzer -Date: Fri Apr 1 16:09:51 2016 +0900 - - Update manpage entry for Option "TearFree" - - It's now effective for rotation as well. - - Reviewed-by: Alex Deucher - -commit 5ba95c3abeb8df82aa8d33a47596eae6403ea7af -Author: Michel Dänzer -Date: Fri Apr 1 15:29:26 2016 +0900 - - Identify DRM event queue entries by sequence number instead of by pointer - - If the memory for an entry was allocated at the same address as that for - a previously cancelled entry, the handler could theoretically be called - prematurely, triggered by the DRM event which was submitted for the - cancelled entry. - - (Ported from radeon commit 4693b1bd5b5c381e8b7b68a6f7f0c6696d6a68df) - - Reviewed-by: Alex Deucher - -commit 8ecfa69b5a833bd4c39e773a6acfd7eef9144d13 -Author: Michel Dänzer -Date: Wed Mar 30 18:33:00 2016 +0900 - - DRI3: Refuse to open DRM file descriptor for ssh clients - - Fixes hangs when attempting to use DRI3 on display connections forwarded - via SSH. - - Don't do this for Xorg > 1.18.99.1 since the corresponding xserver - change has landed in Git master. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93261 - - (Ported from radeon commit 0b3aac1de9db42bfca545fa331e4985836682ec7) - - Reviewed-by: Alex Deucher - -commit b2a2e114eec0967f7b67f030fbab8983cf980489 -Author: Michel Dänzer -Date: Fri Mar 25 11:55:34 2016 +0900 - - Revert "Use render node for DRI3 if available" - - This reverts commit ea558e645786b08d75307716036045170e97b43e. - - It broke VDPAU<->GL interop with DRI3 enabled, because the Gallium VDPAU - code doesn't support DRI3 yet. We can consider re-enabling this once - there is a Mesa release where the Gallium VDPAU code supports DRI3. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94675 - - Reviewed-by: Alex Deucher - -commit e31a2d668a1b5ebaf75d423c8123cbc8e0dcbae9 -Author: Flora Cui -Date: Wed Nov 18 16:44:13 2015 +0800 - - add polaris10 pci id - - Reviewed-by: Michel Dänzer - Signed-off-by: Flora Cui - Reviewed-by: Jammy Zhou - -commit 6e09b8deb77f76b9bb7d393cc1ad924ebba62eff -Author: Flora Cui -Date: Thu Nov 5 14:16:39 2015 +0800 - - add polaris11 pci id - - Reviewed-by: Michel Dänzer - Signed-off-by: Flora Cui - Reviewed-By: Jammy Zhou - Reviewed-by: Alex Deucher - -commit 7d32c43fff4c8df32cce150223094f793e036cf3 -Author: Alex Deucher -Date: Wed Oct 28 17:28:23 2015 -0400 - - add Polaris chip families - - Reviewed-by: Michel Dänzer - Signed-off-by: Alex Deucher - -commit fbf9ae18cd241b8b78936aa30441e5fbfd9ba1c5 -Author: Michel Dänzer -Date: Thu Mar 24 19:05:15 2016 +0900 - - Require xserver 1.9 or newer - - 1.9.0 was released in August 2010. - - We were already unintentionally relying on things not available in 1.8 - for at least a year, and nobody has complained. - - (Ported from radeon commit e592f32f8b5f5873fcc18b10a69dd5e4ccf11073) - - Reviewed-by: Alex Deucher - -commit 912db5fbbc6b9b1121c8a03168cb4bd870474376 -Author: Michel Dänzer -Date: Thu Mar 24 18:59:05 2016 +0900 - - Fix build against older versions of xserver - - Also slightly clean up the error handling in amdgpu_scanout_do_update. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94614 - - (Ported from radeon commit bde466e5d44cad64b4e4eceaa5de80fdbf86356e) - - Reviewed-by: Alex Deucher - -commit 3fb6280ab3b104b02841c7cab8ed68c1d463c834 -Author: Michel Dänzer -Date: Thu Mar 24 18:56:44 2016 +0900 - - DRI3 only works with acceleration - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94214 - - (Ported from radeon commit d21ac4669a8b2cdd4eec5e5a94d1950b7423b8b5) - - Reviewed-by: Alex Deucher - -commit 3177fe817a5f2de4ed10860866a0dd6d6c6ba816 -Author: Michel Dänzer -Date: Thu Mar 24 18:51:59 2016 +0900 - - Check for xf86CursorResetCursor - - If it's available, Xorg calls it on each mode configuration change. It - does what xf86_reload_cursors does (and more), so we don't need to call - the latter anymore. - - (Ported from radeon commit d670c5c9851b4eff21c845d26c7d7e4eb5ee0fa9) - - Reviewed-by: Alex Deucher - -commit a3dfce7b24e1ea01c1aa62926025a545312cbe13 -Author: Michel Dänzer -Date: Thu Mar 24 18:45:46 2016 +0900 - - Don't try DRI2/Present flipping while the HW cursor can't be used - - Flipping doesn't interact correctly with SW cursor: A flip makes the SW - cursor disappear. It will only appear again when the cursor is moved, - but it will be surrounded by corruption, because the SW cursor code - will restore stale screen contents at the old cursor location before - drawing the cursor at the new location. - - (Ported from radeon commit 7f3d0780ca65a90117c2a61362dbc0899bd9c0b0) - - Reviewed-by: Alex Deucher - -commit ba9be8f32f0321689133e17c1681809dec8c6cf1 -Author: Michel Dänzer -Date: Thu Mar 24 18:44:30 2016 +0900 - - Factor out HW cursor checking code into drmmode_can_use_hw_cursor - - And add a check for RandR 1.4 multihead. - - (Ported from radeon commit 3de480e83c0a1824838d662d6d67c9fe85277298) - - Reviewed-by: Alex Deucher - -commit 4a60b4b1851a3cbc2d8ad9048d68eeb6947cf132 -Author: Michel Dänzer -Date: Thu Mar 24 12:03:38 2016 +0900 - - Call AMDGPUBlockHandler_KMS before setting initial modes - - Doing it the other way around meant that there was still a possibility - for the front buffer contents to be uninitialized when they start being - scanned out. - - Reviewed-by: Alex Deucher - -commit 37bd79652a8ec612b94a1863e8c580b1cfaf3960 -Author: Michel Dänzer -Date: Fri Mar 18 18:51:00 2016 +0900 - - present: Return rotated CRTCs from amdgpu_present_get_crtc - - Sync-to-vblank works fine with rotation. We're still checking for - rotation in amdgpu_present_check_flip. - - Returning NULL from here resulted in the xserver present code falling - back to the fake CRTC running at 1 fps. - - (Ported from radeon commit a03271de5ecdaa7790d1316e993c4450b91fe936) - - Reviewed-by: Alex Deucher - -commit 6b930fb3285dea4a6440e31099c96f08da508d49 -Author: Michel Dänzer -Date: Fri Mar 18 18:47:10 2016 +0900 - - present: Clear drmmode->fb_id before calling set_mode_major for unflip - - Without this, drmmode_set_mode_major may just re-set the FB for the - last flipped BO, in which case the display will probably freeze. - - Reproduction recipe: Enable rotation while a fullscreen client is - flipping. - - (Ported from radeon commit 40191d82370eb7e58bd34c44966cbf44c3703229) - - Reviewed-by: Alex Deucher - -commit 6889e091442b6ba1b9351e72bd067425e87d96e9 -Author: Michel Dänzer -Date: Fri Mar 18 18:18:04 2016 +0900 - - Make Option "TearFree" effective for rotated/reflected outputs as well - - Support varies by xserver version: - - < 1.12: No support for the driver handling rotation/reflection - 1.12-1.15: Support for driver handling rotation/reflection, but there's - a bug preventing the HW cursor from being visible everywhere - it should be on rotated outputs, so we can only support - TearFree for reflection. - >= 1.16: While the bug above is still there (fixes pending review), - the driver can force SW cursor for rotated outputs, so we - can support TearFree for rotation as well. - - (Ported from radeon commit 798c4fd16d339b1ad5fd729cc884be084c60e38b) - - Reviewed-by: Alex Deucher - -commit da4e0c66fcbcf63143372720e3d606a462332e3a -Author: Michel Dänzer -Date: Fri Mar 18 18:15:34 2016 +0900 - - Consolidate pScreen usage in drmmode_set_mode_major - - We were already relying on pScrn->pScreen being non-NULL in some cases, - which is supposedly always true ever since this function is no longer - getting called from ScreenInit. - - (Ported from radeon commit eb611a2e4ecce7a1ab85fd72b9b78e3269311dd5) - - Reviewed-by: Alex Deucher - -commit 0bbf09dd7ef54133b3e534becb3ba15c0cf3eed2 -Author: Michel Dänzer -Date: Fri Mar 18 18:14:28 2016 +0900 - - Remove check for XF86_CRTC_VERSION 3 - - We require xserver >= 1.8, which was already at version 3. - - (Ported from radeon commit 06602171386e538081c298645fb7ca1a70fe80cc) - - Reviewed-by: Alex Deucher - -commit 3485ca0051a224d00135d4024a97a6c4e85a9644 -Author: Michel Dänzer -Date: Fri Mar 18 18:07:07 2016 +0900 - - Deal with modesets and page flips crossing on a CRTC - - If we set a mode while a flip is pending, the kernel driver may program - the flip to the hardware after the modeset. If that happens, the hardware - will display the BO from the flip, whereas we will assume it displays the - BO from the modeset. In other words, the display will most likely freeze, - at least until another modeset. - - Prevent this condition by waiting for a pending flip to finish before - setting a mode. - - Fixes display freezing when setting rotation or a transform with - TearFree enabled. - - (Ported from radeon commit a88985f5d1e39caca49ceb65678aaa9cb622a0d2) - - Reviewed-by: Alex Deucher - -commit b9d00fa7aaf946d985897380bfa42faafbf1b3fb -Author: Michel Dänzer -Date: Fri Mar 18 17:18:00 2016 +0900 - - Make DRM event queue xf86CrtcPtr based instead of ScrnInfoPtr based - - This allows for a minor simplification of the code. - - (Ported from radeon commit f5d968cbba3c9b7ec202161f2157d8d64778c817) - - Reviewed-by: Alex Deucher - -commit e0ed26151bfeadf309da53d001751c0a014dbd24 -Author: Michel Dänzer -Date: Fri Mar 18 17:11:47 2016 +0900 - - Remove amdgpu_scanout_flip_handler - - No longer necessary now that amdgpu_drm_queue_handler can handle - e->handler == NULL. - - (Ported from radeon commit d5dbb07db22d5420c81dfebc060f0dd86e7b8a20) - - Reviewed-by: Alex Deucher - -commit acd5da56f502d6ad115501e77bce06fe72b1895c -Author: Michel Dänzer -Date: Fri Mar 18 17:14:49 2016 +0900 - - DRI2: Also clear dri2_flipping when client disconnects before event - - Fixes the following problem: - - With DRI3 enabled, run glxgears with LIBGL_DRI3_DISABLE=1, make it - fullscreen and press Escape while it's still fullscreen. This could - result in dri2_flipping not getting cleared, spuriously preventing apps - using DRI3 from flipping. - - (Ported from radeon commit e87365117acbd80b7d80fbb5eb30890ef7153291) - - Reviewed-by: Alex Deucher - -commit a58bfa98208cc092014d3f36a08714eb1e0d8814 -Author: Michel Dänzer -Date: Fri Mar 18 17:07:47 2016 +0900 - - drm_queue: Don't abort events immediately from amdgpu_drm_abort_client - - Keep them around until the DRM event arrives, but then call the abort - functions instead of the handler functions. - - This is a prerequisite for the following fix. - - (Ported from radeon commit 3989766edde85d1abe7024577b98fc9b007bc02a) - - Reviewed-by: Alex Deucher - -commit e4888df6e32bb817bf0d6166a22b19c14e189a84 -Author: Michel Dänzer -Date: Fri Mar 18 17:04:10 2016 +0900 - - Fix RandR CRTC transforms - - Currently, Xorg will only transform the cursor as of the first time the - cursor image changes after a transform is set. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80678 - - (Ported from radeon commit 9483a3d777919b224f70c3b4d01e4b320a57db31) - - Reviewed-by: Alex Deucher - -commit 43af92ede0968f2108f9562aa4c2c861ac703617 -Author: Michel Dänzer -Date: Fri Mar 18 16:58:07 2016 +0900 - - Build RandR 1.4 provider name from chipset name and bus ID - - Instead of just "amdgpu", it's now e.g. "TONGA @ pci:0000:01:00.0". - - (Ported from radeon commit c7cf00487cd6d4a5d0f39d5b92ff04f6420d6a32) - - Reviewed-by: Alex Deucher - -commit 5ec1797a2858d693d18d21326e2307d71555e1db -Author: Michel Dänzer -Date: Wed Feb 24 17:33:49 2016 +0900 - - DRI2: Use amdgpu_pixmap_get_handle - - Now we can share pixmaps with no struct amdgpu_buffer via DRI2. - - Fixes VDPAU video playback freezing when using an OpenGL compositor with - DRI3 enabled and mpv VAAPI hardware decoding with OpenGL output. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89755 - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93804 - - (ported from radeon commit f8b0f23e9f4af9f9097ee5e72d53b45173163c41) - - Reviewed-by: Alex Deucher - -commit df60c635e1e632233de9dd4b01d63c2b963003f8 -Author: Michel Dänzer -Date: Wed Feb 24 17:06:43 2016 +0900 - - glamor: Avoid generating GEM flink names for BOs shared via DRI3 (v2) - - We can't create our own struct amdgpu_buffer representation in this case - because destroying that would make the GEM handle inaccessible to glamor - as well. So just get the handle directly via dma-buf. - - (ported from radeon commit 391900a670addec39515f924265bfa9f8bfa9ec0, - extended to cache BO handles in the private for non-DRI3 pixmaps as - well) - - v2: Swap whole pixmap privates instead of just BOs in - amdgpu_dri2_exchange_buffers to avoid invalidating cached BO handles - - Reviewed-by: Alex Deucher - -commit e463b849f3e9d7b69e64a65619a22e00e78d297b -Author: Michel Dänzer -Date: Tue Feb 23 18:10:29 2016 +0900 - - Make amdgpu_do_pageflip take a pixmap instead of a BO - - (inspired by radeon commit 7b4fc4a677d252d01c2bf80d162bc35814059eaa) - - Reviewed-by: Alex Deucher - -commit 1ee341f9d909f3b7ba2984fc912dabdb98c34b19 -Author: Michel Dänzer -Date: Tue Feb 23 18:42:19 2016 +0900 - - Add amdgpu_pixmap_get_handle helper - - (inspired by radeon commits dfad91fffb5bd013785223b42d78886df839eacf - and ccbda955ebae1d457d35293833f12791e0f9fb0b) - - Reviewed-by: Alex Deucher - -commit a36bbfd98b96426bbe0be3923c64da7ec0e565d0 -Author: Michel Dänzer -Date: Mon Feb 15 18:41:51 2016 +0900 - - HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs - - (ported from radeon commit ff9a6b6f079a8419f4e6fadfee778060618bf735) - - Reviewed-by: Alex Deucher - -commit a37746ffceaed83e48e48fb05439be7e020dd2ea -Author: Michel Dänzer -Date: Mon Feb 15 18:35:54 2016 +0900 - - Load fb module before glamoregl/shadow modules - - Fixes unresolved symbols on some systems. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93105 - (ported from radeon commit 78fbca095ae9887a2d3de48bb07975e2d1126e68) - - Reviewed-by: Alex Deucher - -commit 59c0a6807110eca829c6708e16585a38f39a5c17 -Author: Michel Dänzer -Date: Mon Feb 15 18:28:13 2016 +0900 - - Don't advertise any PRIME offloading capabilities without acceleration - - Acceleration is required even for display offloading. Trying to enable - display offloading without acceleration resulted in a crash. - - (ported from radeon commit b19417e2fddf4df725951aea5ad5e9558338f59e) - Reviewed-by: Alex Deucher - -commit a3eac85d812ecc605436e6bd5b9ee7ebf307e3d3 -Author: Michel Dänzer -Date: Tue Jan 26 16:12:28 2016 +0900 - - Only map front buffer if glamor acceleration is disabled (v2) - - Otherwise the front buffer may not be accessible by the CPU, because Mesa - sets the AMDGPU_GEM_CREATE_NO_CPU_ACCESS flag for tiled buffers, because - accessing tiled buffers with the CPU makes little sense. - - v2: Also handle Option "AccelMethod" "none" - - Reviewed-by: Alex Deucher - -commit 2fcb7dadd3c71cd405cbbaafc777697538ca9c29 -Author: jimqu -Date: Mon Jan 25 09:47:00 2016 +0800 - - glamor: Return NullPixmap on failure to create shareable pixmap - - If we were asked to create a shareable pixmap, it doesn't make sense - to return a pixmap which isn't shareable. Doing so caused trouble down - the line such as a crash with older versions of glamor when trying to - use GLX pixmaps of bpp < 32 via DRI2. - - Signed-off-by: JimQu - Reviewed-by: Michel Dänzer - -commit 5269a2228bff6023c1a7f3e8534027e1d7addc25 -Author: jimqu -Date: Mon Jan 25 10:12:02 2016 +0800 - - Move amdgpu_glamor_destroy_pixmap before amdgpu_glamor_create_pixmap - - The next commit will call the former from the latter. No functional - change. - - Signed-off-by: JimQu - Reviewed-by: Michel Dänzer - -commit 54c959c163288caa87f612911b70df73f87d29d6 -Author: Tom St Denis -Date: Wed Jan 20 09:37:36 2016 -0500 - - Move memset() after variable declarations - - To make the code more "C" like move the function calls - after the variable declarations. - - Signed-off-by: Tom St Denis - Reviewed-by: Alex Deucher - Reviewed-by: Michel Dänzer - -commit 8853b07ae8169c409740c40d45cd335bd608f2a7 -Author: Michel Dänzer -Date: Tue Jan 19 17:35:11 2016 +0900 - - Set the RandR primary output on startup if Xorg hasn't - - Fixes xrandr (XRRGetOutputPrimary) not reporting any output as primary - after startup. - - (Ported from radeon commit b16856b25086ffb27365ac2249b8da921066ce62) - - Reviewed-by: Alex Deucher - -commit bd5c65daceaf633c36fcec86ff061df10c364bc0 -Author: Michel Dänzer -Date: Thu Jan 7 15:53:41 2016 +0900 - - Only call amdgpu_bus_id once in each probe path (v2) - - Instead of up to twice as before. - - v2: Remove free(busIdString) call from amdgpu_kernel_mode_enabled, the - bus ID string is now managed by its callers. - - Reviewed-by: Alex Deucher (v1) - -commit 6e42c58375a4c3229da93c27bbd104af145c6163 -Author: Michel Dänzer -Date: Thu Jan 7 15:57:38 2016 +0900 - - Remove pci_dev test from amdgpu_get_scrninfo - - The pci_dev parameter can never be NULL since we only support KMS. - - Reported-by: Tom St Denis - Reviewed-by: Alex Deucher - -commit 8e09180798a06af5afa030d754938e4ca06e272f -Author: Michel Dänzer -Date: Thu Jan 7 15:35:35 2016 +0900 - - Re-use PCI bus ID code from kernel_open_fd in kernel_mode_enabled - - Reviewed-by: Alex Deucher - -commit 4eb9cedca080b30c57ded349a397620ee7d0cd46 -Author: Mykola Lysenko -Date: Wed Jan 13 14:03:55 2016 +0800 - - Initialize drmmode_crtc dpms_mode to DPMSModeOff - - This disables query of disabled pipes for drmWaitVBlank on X start - - Signed-off-by: Mykola Lysenko - Reviewed-by: Michel Dänzer - -commit 1d0b0c1794e65e581a48aa9fb19679d928d82a5d -Author: Michel Dänzer -Date: Thu Dec 10 18:08:12 2015 +0900 - - sync: Check if miSyncShmScreenInit symbol is resolved at runtime - - It may be disabled in the Xorg build, either explicitly or because the - xshmfence library isn't available. - - Reviewed-by: Alex Deucher - -commit f4107f67f147e2500582fc36cf0f0f76bc1ef098 -Author: Mykola Lysenko -Date: Wed Dec 23 11:58:47 2015 -0500 - - Check for NULL koutput in drmmode_output_dpms - - This situation happens whit start of usage of DRM DP MST framework, - when connectors created and destroyed dynamically. - - Signed-off-by: Mykola Lysenko - Reviewed-by: Michel Dänzer - -commit ea558e645786b08d75307716036045170e97b43e -Author: Jammy Zhou -Date: Fri Nov 20 17:03:05 2015 +0800 - - Use render node for DRI3 if available - - Signed-off-by: Jammy Zhou - Reviewed-by: Michel Dänzer - -commit 43c2dc1aab682d5b6ad49d24983d6382c4f305bb -Author: Michel Dänzer -Date: Thu Nov 19 17:05:05 2015 +0900 - - glamor: Deal with glamor_egl_destroy_textured_pixmap being removed - - When it's not available, it's safe to call down to the glamor - DestroyPixmap hook instead. - - (ported from radeon commit 10b7c3def58bb34acc38f076bc230e25b454ab79) - - Reviewed-by: Alex Deucher - -commit 84cab5738a315e9825bd0864c4f0fc5b03eb81a1 -Author: Michel Dänzer -Date: Thu Nov 19 16:44:22 2015 +0900 - - glamor: Restore all ScreenRec hooks during CloseScreen - - (ported from radeon commit 535e5438b2c32f774b9c8c27ee0289b4749548ef) - - Reviewed-by: Alex Deucher - -commit a00c050c2e5667ed815c51979a3cadb5146136ff -Author: Michel Dänzer -Date: Thu Nov 19 17:55:53 2015 +0900 - - Post 1.0.0 release version bump - commit 755e6ff2337cf615e3ba0854ccd533baec7144db Author: Michel Dänzer Date: Thu Nov 19 17:28:19 2015 +0900 --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/autogen.sh +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/autogen.sh @@ -0,0 +1,14 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +if test -z "$NOCONFIGURE"; then + $srcdir/configure --enable-maintainer-mode "$@" +fi --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/README.source +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/README.source @@ -0,0 +1,49 @@ +------------------------------------------------------ +Quick Guide To Patching This Package For The Impatient +------------------------------------------------------ + +1. Make sure you have quilt installed +2. Unpack the package as usual with "dpkg-source -x" +3. Run the "patch" target in debian/rules +4. Create a new patch with "quilt new" (see quilt(1)) +5. Edit all the files you want to include in the patch with "quilt edit" + (see quilt(1)). +6. Write the patch with "quilt refresh" (see quilt(1)) +7. Run the "clean" target in debian/rules + +Alternatively, instead of using quilt directly, you can drop the patch in to +debian/patches and add the name of the patch to debian/patches/series. + +------------------------------------ +Guide To The X Strike Force Packages +------------------------------------ + +The X Strike Force team maintains X packages in git repositories on +git.debian.org in the pkg-xorg subdirectory. Most upstream packages +are actually maintained in git repositories as well, so they often +just need to be pulled into git.debian.org in a "upstream-*" branch. +Otherwise, the upstream sources are manually installed in the Debian +git repository. + +The .orig.tar.gz upstream source file could be generated using this +"upstream-*" branch in the Debian git repository but it is actually +copied from upstream tarballs directly. + +Due to X.org being highly modular, packaging all X.org applications +as their own independent packages would have created too many Debian +packages. For this reason, some X.org applications have been grouped +into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils, +x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils. +Most packages, including the X.org server itself and all libraries +and drivers are, however maintained independently. + +The Debian packaging is added by creating the "debian-*" git branch +which contains the aforementioned "upstream-*" branch plus the debian/ +repository files. +When a patch has to be applied to the Debian package, two solutions +are involved: +* If the patch is available in one of the upstream branches, it + may be git'cherry-picked into the Debian repository. In this + case, it appears directly in the .diff.gz. +* Otherwise, the patch is added to debian/patches/ which is managed + with quilt as documented in /usr/share/doc/quilt/README.source. --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/changelog +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/changelog @@ -0,0 +1,37 @@ +xserver-xorg-video-amdgpu-lts-xenial (1.1.0-1~trusty1) trusty; urgency=medium + + * Backport for lts-xenial stack. + + -- Timo Aaltonen Thu, 30 Jun 2016 13:07:17 +0300 + +xserver-xorg-video-amdgpu (1.1.0-1) unstable; urgency=medium + + * New upstream release. + * control: Bump policy to 3.9.7, no changes. + + -- Timo Aaltonen Thu, 07 Apr 2016 13:32:21 +0300 + +xserver-xorg-video-amdgpu (1.0.1-1) unstable; urgency=medium + + * New upstream release. + + -- Timo Aaltonen Mon, 22 Feb 2016 06:36:08 +0200 + +xserver-xorg-video-amdgpu (1.0.0-1) unstable; urgency=medium + + [ Andreas Boll ] + * First upstream release. + * Let uscan verify tarball signatures. + * Replace non-existing Suggests: linux-firmware with new firmware-amd- + graphics. + * Remove unused libpciaccess-dev build-dep. + * Update list of supported chips. + * Use https for Vcs-* fields. + + -- Timo Aaltonen Tue, 24 Nov 2015 15:46:07 +0200 + +xserver-xorg-video-amdgpu (0.0.01~git20150807-1) unstable; urgency=low + + * Initial release (Closes: #795686) + + -- Timo Aaltonen Sun, 16 Aug 2015 11:26:30 +0300 --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/compat +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/compat @@ -0,0 +1 @@ +9 --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/control +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/control @@ -0,0 +1,67 @@ +Source: xserver-xorg-video-amdgpu-lts-xenial +Section: x11 +Priority: optional +Maintainer: Debian X Strike Force +Uploaders: Timo Aaltonen +Build-Depends: + debhelper (>= 9), + dh-autoreconf, + quilt, + libdrm-dev (>= 2.4.63) [!hurd-i386], + libgl1-mesa-dev-lts-xenial | libgl-dev, + libgbm-dev-lts-xenial, + libudev-dev [linux-any], + pkg-config, + x11proto-core-dev, + x11proto-dri2-dev, + x11proto-fonts-dev, + x11proto-randr-dev (>= 1.2), + x11proto-render-dev, + x11proto-video-dev, + x11proto-xext-dev, + x11proto-xf86dri-dev, + xserver-xorg-dev-lts-xenial (>= 2:1.16), + xutils-dev (>= 1:7.5+4) +Standards-Version: 3.9.7 +Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/driver/xserver-xorg-video-amdgpu.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-xorg/driver/xserver-xorg-video-amdgpu.git + +Package: xserver-xorg-video-amdgpu-lts-xenial +Architecture: linux-any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + ${xviddriver:Depends}, +Provides: + xserver-xorg-video-amdgpu, xorg-renamed-package, xorg-renamed-package-lts-xenial, + ${xviddriver:Provides} +Suggests: firmware-amd-graphics +Description: X.Org X server -- AMDGPU display driver + This package provides the 'amdgpu' driver for the AMD Radeon cards. The + following chip families should be supported: Bonaire, Hawaii, Kaveri, Kabini + Mullins, Iceland, Tonga, Carrizo, Fiji, Stoney. + . + More information about X.Org can be found at: + + . + This package is built from the X.org xf86-video-amdgpu driver module. +Replaces: xserver-xorg-video-amdgpu +Conflicts: xserver-xorg-video-amdgpu, xorg-renamed-package-lts-utopic, xorg-renamed-package-lts-vivid, xorg-renamed-package-lts-wily, + +Package: xserver-xorg-video-amdgpu-lts-xenial-dbg +Architecture: linux-any +Depends: + ${misc:Depends}, + xserver-xorg-video-amdgpu-lts-xenial (= ${binary:Version}) +Section: debug +Priority: extra +Description: X.Org X server -- AMDGPU display driver (debugging symbols) + This package provides the 'amdgpu' driver for the AMD Radeon cards. The + following chip families should be supported: Bonaire, Hawaii, Kaveri, Kabini + Mullins, Iceland, Tonga, Carrizo, Fiji, Stoney. + . + This package provides debugging symbols for this X.org X driver. +Replaces: xserver-xorg-video-amdgpu-dbg +Provides: xserver-xorg-video-amdgpu-dbg, xorg-renamed-package, xorg-renamed-package-lts-xenial +Conflicts: xserver-xorg-video-amdgpu-dbg, xorg-renamed-package-lts-utopic, xorg-renamed-package-lts-vivid, xorg-renamed-package-lts-wily, + --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/copyright +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/copyright @@ -0,0 +1,90 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: xserver-xorg-video-amdgpu +Source: http://xorg.freedesktop.org/releases/individual/driver/ + +Files: * +Copyright: 2012-2014 Advanced Micro Devices, Inc +License: MIT + +Files: src/amdgpu_dri2.c +Copyright: 2008 Jerome Glisse + 2008 Kristian Høgsberg +License: MIT + +Files: src/amdgpu_dri2.h +Copyright: 2008 Jerome Glisse +License: MIT + +Files: src/amdgpu_dri3.c +Copyright: 2013-2014 Intel Corporation + 2015 Advanced Micro Devices, Inc +License: MIT + +Files: src/amdgpu_drm_queue.c src/amdgpu_drm_queue.h +Copyright: 2007 Red Hat, Inc + 2015 Advanced Micro Devices, Inc +License: MIT + +Files: src/amdgpu_drv.h src/amdgpu_probe.c src/amdgpu_probe.h +Copyright: 2000 ATI Technologies Inc. + 2000 VA Linux Systems Inc. +License: MIT + +Files: src/amdgpu_glamor.c src/amdgpu_glamor.h +Copyright: 2011 Intel Corporation +License: MIT + +Files: src/amdgpu_glamor_wrappers.c +Copyright: 2001 Keith Packard + The XFree86 Project Inc + 2008 Red Hat, Inc + 2000 SuSE, Inc + 2010 Intel Corporation + 2012,2015 Advanced Micro Devices, Inc. +License: MIT + +Files: src/amdgpu_kms.c +Copyright: 2009 Red Hat, Inc +License: MIT + +Files: src/amdgpu_present.c src/amdgpu_sync.c +Copyright: 2013-2014 Intel Corporation + 2015 Advanced Micro Devices, Inc +License: MIT + +Files: src/amdgpu_misc.c src/amdgpu_version.h +Copyright: 2000-2004 Marc Aurele La France +License: MIT + +Files: src/compat-api.h src/drmmode_display.h src/pcidb/parse_pci_ids.pl +Copyright: 2007-2012 Red Hat, Inc +License: MIT + +Files: src/simple_list.h +Copyright: 1999-2001 Brian Paul + 1997 Keith Whitwell +License: MIT + +Files: debian/* +Copyright: 2015 Timo Aaltonen +License: MIT + +License: MIT + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without + fee, provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice + appear in supporting documentation, and that the name of the authors + not be used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. The authors make no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + . + THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN + NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS + OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/patches/series +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/patches/series @@ -0,0 +1 @@ +#placeholder --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/rules +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +#DH_VERBOSE = 1 + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +XXV=xserver-xorg-video + +override_dh_auto_configure: + dh_auto_configure --builddirectory=build/ -- \ + --libdir=/usr/lib \ + --disable-silent-rules + +# Kill *.la files, and forget no-one: +override_dh_install: + find debian/tmp -name '*.la' -delete + dh_install --fail-missing + +# Debug packages: +override_dh_strip: + dh_strip -pxserver-xorg-video-amdgpu-lts-xenial --dbg-package=xserver-xorg-video-amdgpu-lts-xenial-dbg + +# That's a plugin, use appropriate warning level: +override_dh_shlibdeps: + dh_shlibdeps -- --warnings=6 + +%: + dh $@ --with quilt,autoreconf,xsf --builddirectory=build/ --parallel + + + + --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/source/format +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/source/format @@ -0,0 +1 @@ +1.0 --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/upstream/signing-key.asc +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/upstream/signing-key.asc @@ -0,0 +1,26 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGiBDsehS8RBACbsIQEX31aYSIuEKxEnEX82ezMR8z3LG8ktv1KjyNErUX9Pt7A +UC7W3W0bLUhu8Le8S2va6hi7GfSAifl0ih3k6Bv1Itzgnd+7ZmSrvCN8yGJaHNQf +AevAuEboIb+MaVHo9EMJj4ikOcRZCmQWw7evu/D9uQdtkCnRY9iJiAGxbwCguBHt +poGMxDOINCr5UU6qt+m4O+UD/355ohBBzzyh49lTj0kTFKr0Ozd20G2FbcqHgfFL +1dc1MPyigej2gLga2osu2QY0ObvAGkOuWBi3LTY8Zs8uqFGDC4ZAwMPoFy3yzu3n +e6T7d/68rJil0QcdQjzzHi6ekqHuhst4a+/+D23hZa8MJBEcdOhRhsaDVGAJSFEQ +B1qLBACOs0xN+XblejO35gsDSVVk8s+FUUw3TSWJBfZa3ImpV2U2tBO4qck+wqbH +NfdnU/crrsHahjzBjvk8Up7VoY8oT+z03sal2vXEonS279xN2B92TttrAgwosujg +uFO/7tvzymWC76rDEwue8TsADE11ErjwaBTs8ZXfnN/uAANgPLQjTWljaGVsIERh +ZW56ZXIgPGRhZW56ZXJAZGViaWFuLm9yZz6IXwQTEQIAFwUCOx6FMAULBwoDBAMV +AwIDFgIBAheAABIJEFqBr45q27IAB2VHUEcAAQFmmQCfSxXBxMctJqTLwn2Ijv5V +JYbUWK8AmQGwoAUEMLmo8Ceu/NJDgkkS92xttCNNaWNoZWwgRGFlbnplciA8bWlj +aGVsQGRhZW56ZXIubmV0PohmBBMRAgAeBQJAVfEmAhsDBgsJCAcDAgMVAgMDFgIB +Ah4BAheAABIJEFqBr45q27IAB2VHUEcAAQGKzwCfcpKJ1yN6EHF/NzdqswhErSzV +uO4Ani1pv0Ij2I6rRlJ50m8rk0HyMkpCuQENBDsehUUQBACWZHL5JT8CQoDYsN+6 +dBkoSphRhqn/2t8WWRKYyKjcc7IRURZ3mc3uH+S4c219f7yJufmV7BFspqSX2c8g +pmD8POkHBccmX5ZAMR8fS3g/vPRJcW8OsE9AnC70r/ETn1NZvGIRm1eoNs1siw9P +52kBlW/HuBYVShjWNhBGx4BQawADBgP9FZLRTgsRQXcy0Ne0Qk8Aid8acj+KrCyR +9MgqANuqx9sxNkcwcoa0xU2Gc2xRInd3XRohzgRC/mzvthjbX4mCpm05I9bTGSfC ++obijjWlawEhcy72WtnZXNs42vWUpLCpoHuQTkyloG8nqRHOasUo7mLGK1+cXy4E +2QuWm4Yc7aWITgQYEQIABgUCOx6FRQASCRBaga+OatuyAAdlR1BHAAEBlscAn2Uf +k2d6/3p4Cuyz/NX7KpL2dQ8WAJ9UD5JEakhfofed8PSqOM7jOO3LCA== +=P0UI +-----END PGP PUBLIC KEY BLOCK----- --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/watch +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/watch @@ -0,0 +1,4 @@ +#git=git://anongit.freedesktop.org/xorg/driver/xf86-video-amdgpu +version=3 +opts=pgpsigurlmangle=s/$/.sig/ \ +http://xorg.freedesktop.org/releases/individual/driver/ xf86-video-amdgpu-(.*)\.tar\.gz --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/xserver-xorg-video-amdgpu-lts-xenial.install +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/xserver-xorg-video-amdgpu-lts-xenial.install @@ -0,0 +1,3 @@ +usr/lib/xorg/modules/drivers/amdgpu_drv.so +usr/share/man/man4/amdgpu.4 +usr/share/X11/xorg.conf.d/10-amdgpu.conf --- xserver-xorg-video-amdgpu-lts-xenial-1.1.0.orig/debian/xserver-xorg-video-amdgpu-lts-xenial.links +++ xserver-xorg-video-amdgpu-lts-xenial-1.1.0/debian/xserver-xorg-video-amdgpu-lts-xenial.links @@ -0,0 +1,2 @@ +usr/share/bug/xserver-xorg-core/script usr/share/bug/xserver-xorg-video-amdgpu-lts-xenial/script +