[ANNOUNCE] xf86-video-amdgpu 1.0.0

This is the initial release of the xf86-video-amdgpu driver. It was forked from the xf86-video-ati radeon driver and modified to support the amdgpu kernel driver via libdrm_amdgpu, and by extension the latest AMD GPU families Tonga, Carrizo, Iceland, Fiji and Stoney. Some functionality was removed because it's not relevant for the GPUs supported by the amdgpu kernel driver, but other than that the two drivers are more or less on par with respect to functionality and bug fixes. Thanks to everybody who contributed to this release! Adam Jackson (1): Use own thunk function instead of shadowUpdatePackedWeak Alex Deucher (6): amdgpu: add the xf86-video-amdgpu driver fixup README add new bonaire pci id add some new tonga pci ids Add fiji support add fiji pci id Brian Paterni (1): over both usagesitional group GBM_BO_USE_LINEAR Darren Powell (1): Add Option "TearFree" to manpage Dave Airlie (1): Adopt for new X server dirty tracking APIs. Emil Velikov (1): Do not link amdgpu_drv.so against libpciaccess Jammy Zhou (7): Remove throttling from amdgpu_dri2_copy_region2 Use gbm_bo_get_fd to get DMA_BUF fd Disable tiling for PRIME shared pixmap Check GBM_BO_USE_LINEAR correctly v2 Adapt to the interface change of amdgpu_bo_alloc v3 Fix crash in PCI probe path (v4) Pass struct pci_device *pci_dev directly to amdgpu_get_scrninfo Marek Olšák (3): ddx: enable acceleration by default on Hawaii ddx: remove AMDGPUIsAccelWorking ddx: use amdgpu_query_crtc_from_id Mario Kleiner (2): Allow/Fix use of multiple ZaphodHead outputs per x-screen. Make selection between DRI2 and DRI3 consistent with other drivers. (v2) Michel Dänzer (63): Move #include "radeon_glamor.h" from amdgpu_drv.h to where it's needed glamor: Handle GLAMOR_* flags removed from xserver Fix build when gbm.h doesn't define GBM_BO_USE_LINEAR Document Option "AccelMethod" in the manpage Add 10-amdgpu.conf xorg.conf.d snippet Link against libgbm glamor: Deal with glamor_glyphs_init being removed from xserver Require at least xserver 1.8 Move xorg_list backwards compatibility to new amdgpu_list.h header Add DRM event queue helpers DRI2: Simplify blit fallback handling for scheduled swaps DRI2: Remove superfluous assignments to *_info->frame DRI2: Move amdgpu_dri2_flip_event_handler DRI2: Use helper functions for DRM event queue management DRI2: Split out helper for getting UST and MSC of a specific CRTC Add support for SYNC extension fences Add support for the Present extension glamor: Add radeon_pixmap parameter to radeon_glamor_create_textured_pixmap amdgpu_set_shared_pixmap_backing: Add support for GBM / glamor v2 Add DRI3 support Rename scanout_pixmap_x field to prime_pixmap_x Split out struct drmmode_scanout for rotation shadow buffer information Add RADEON_CREATE_PIXMAP_SCANOUT flag glamor: Remove unused function radeon_glamor_pixmap_is_offscreen glamor: Add wrappers for the X server rendering hooks Set AMDGPU_BO_FLAGS_GBM for cursor buffers allocated from GBM Factor out amdgpu_bo_get_handle helper Add AMDGPU_CREATE_PIXMAP_GTT flag glamor: Add Option "ShadowPrimary" glamor: Remove the stride member of struct radeon_pixmap Add Option "TearFree" Handle CRTC DPMS from output DPMS hooks DRI2: Don't ignore rotated CRTCs in amdgpu_dri2_drawable_crtc Add .dir-locals.el file with Emacs indentation settings Only copy fbcon BO contents if bgNoneRoot is TRUE Defer initial drmmode_copy_fb call until root window creation Defer initial modeset until the first BlockHandler invocation Update scanout pixmap contents before setting a mode with it Make drmmode_copy_fb() work with glamor On screen resize, clear the new buffer before displaying it Only call drmmode_copy_fb (at most) once on server startup glamor: Add amdgpu_glamor_finish to wait for glamor rendering to finish Wait for scanout BO initialization to finish before setting mode DRI2: Keep MSC monotonic when moving window between CRTCs Don't advertise rotation support without hardware acceleration v2 Eliminate redundant data parameter from drmmode_crtc_scanout_create Properly handle drmModeAddFB failure in drmmode_crtc_scanout_allocate Handle RandR CRTC transforms properly Revert "Handle RandR CRTC transforms properly" Remove dead code from probe paths Remove info->dri2.drm_fd and info->drmmode->fd Remove amdgpu_reference_drm_fd Don't use AMDGPUEntPriv in AMDGPUFreeRec Call AMDGPUFreeRec from AMDGPUFreeScreen_KMS even if info == NULL Move scrn/info declaration inside USE_GLAMOR in amdgpu_dri3_fd_from_pixmap dri2: Handle PRIME for source buffer as well in amdgpu_dri2_copy_region2 Rename Option "NoAccel" to "Accel" PRIME: Don't advertise offload capabilities when acceleration is disabled Prefer drmModeSetCursor2 over drmModeSetCursor Skip disabled CRTCs in amdgpu_scanout_(do_)update Call xf86CrtcRotate from initial drmmode_set_desired_modes call Add amdgpu_pixmap.h to src/Makefile.am's EXTRA_DIST Bump version for 1.0.0 release Piotr Redlewski (2): Enable/disable CRTCs in DPMS hook Do not try to enable already enabled CRTCs in DPMS hook Samuel Li (1): Add Stoney support Stephen Chandler Paul (1): Handle failures in setting a CRTC to a DRM mode properly Tom St Denis (24): dri2: Avoid calculation with undefined msc value Avoid use-after-free in amdgpu_kernel_open_fd() Avoid use-after-free in drmmode_output_destroy() Simplify pick best crtc to fold two loops into one Cleaning up for server-fd support Add amdgpu_open_drm_master helper function Add support for server managed fds Silence type mismatch warning. stop caching mode resources move output name creation to its own function add support for DP 1.2 display hotplug Avoid leaking memory on output. Clean up allocation in AMDGPUInitVideo() Increase robustness against DRM page flip ioctl failures Simplify amdgpu_do_pageflip() error handling slightly more Move amdgpu_drm_handler/abort_proc fields to drmmode_flipdata_re Don't attempt a DRI2/Present page flip while the other one is flipping present: Fall back to modeset for unflip operation present: Look at all CRTCs to determine if we can flip present: Handle DPMS off in radeon_present_get_ust_msc cleanup the entity rec Avoid NULL dereference if drmmode_crtc_scanout_allocate fails Simplify drmmode_set_mode_major() and avoid leaking memory. Clean up amdgpu_dri2_create_buffer2() git tag: xf86-video-amdgpu-1.0.0 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.0.0.tar.bz2 MD5: 251e86a21b7d4b5c3906b42c087c47b2 xf86-video-amdgpu-1.0.0.tar.bz2 SHA1: b82987f21ced741a2b88d555765e0b519e14cddc xf86-video-amdgpu-1.0.0.tar.bz2 SHA256: 296bd5376f4921bbdb3d0e6e6bc100ff2682312ae5965a43d3cab53f50f92a6a xf86-video-amdgpu-1.0.0.tar.bz2 PGP: http://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.0.0.tar.bz2.sig http://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.0.0.tar.gz MD5: a002ff29edd2ae4127764919a4cb950d xf86-video-amdgpu-1.0.0.tar.gz SHA1: a091f4a974e48406133ea39ebed57b893f80b1bf xf86-video-amdgpu-1.0.0.tar.gz SHA256: 686fa7b68db91468ee33ea2f84e16ed23c6aa89ded0c984b5a3425a80b777581 xf86-video-amdgpu-1.0.0.tar.gz PGP: http://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.0.0.tar.gz.sig -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer